MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / _getBoundsRadian

Method _getBoundsRadian

src/common/mapping/WebMapBase.js:721–723  ·  view source on GitHub ↗
(point)

Source from the content-addressed store, hash-verified

719 }
720
721 _getBoundsRadian(point) {
722 return (180 / Math.PI) * Math.log(Math.tan(Math.PI / 4 + (point * Math.PI) / 360));
723 }
724
725 _centerValid(center) {
726 if (center && (center.length > 0 || typeof center === mapRepo.LngLat || center.lng)) {

Callers 1

_getResizedZoomMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected