MCPcopy Create free account
hub / github.com/microsoft/SandDance / getPosition

Function getPosition

docs/tests/v2/es6/js/sanddance.js:47764–47766  ·  view source on GitHub ↗
(position, extent)

Source from the content-addressed store, hash-verified

47762}
47763
47764function getPosition(position, extent) {
47765 return position.relative ? Math.round(position.position * extent) : position.position;
47766}
47767},{}],"Xp7T":[function(require,module,exports) {
47768"use strict";
47769

Callers 6

parseGridDataFunction · 0.70
sanddance.jsFile · 0.70
_pointsToGridHashingFunction · 0.70
pointToHexbinFunction · 0.70
renderLayersMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected