MCPcopy Create free account
hub / github.com/Maps4HTML/MapML.js / tcrs2gcrs

Function tcrs2gcrs

src/mapml/handlers/QueryHandler.js:108–113  ·  view source on GitHub ↗
(c)

Source from the content-addressed store, hash-verified

106 return crs.transformation.untransform(c, crs.scale(zoom));
107 },
108 tcrs2gcrs = function (c) {
109 return crs.unproject(
110 crs.transformation.untransform(c, crs.scale(zoom)),
111 zoom
112 );
113 };
114 var tcrsClickLoc = crs.latLngToPoint(e.latlng, zoom),
115 tileMatrixClickLoc = tcrsClickLoc.divideBy(tileSize).floor(),
116 tileBounds = new Bounds(

Callers 1

_queryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected