Home
All Communities
Products
Developers
Industries
Global Communities
Services & Learning
Networks
Esri Events
ArcGIS Topics
User Groups
Events
ArcGIS Ideas
Community Resources
Community Blog
Community Feedback
Community Help
Member Introductions
MVP Program
Discussions
Help
Domů
Produkty
ArcGIS Enterprise
Nápady ArcGIS Enterprise
map.getLevel() should return absolute level, not relative level
JeffPace1
In the Javascript API (at leasst) map.getLevel() returns a relative level. For example, if your absemap contains levels 0-18 (i.e google or bing ) and you specify LODS in your map creation of levels 9-18, zooming to level 10 will return map.getLevel() = 1 (it is the second level in the map). This is very counterintinutive and does not work well for intergrating with other maps.
I would suggest map.getLevel() with optional parameter type: absolute or relative, with absolute as the default.
Najděte více příspěvků označených jako
Status: Otevřít
Komentáře
SiqiLi
Tested with Flex API and its Map.Level() method also returns a relative level ID, which is 1.
Připojte se k diskusi
Přihlaste se pro psaní příspěvků, sledování obsahu a další. Jste tu noví? Zaregistrujte se zdarma.
Přihlásit se
Registrovat
Rychlé odkazy
Všechny komunity
Nedávné příspěvky
Uživatelské skupiny
Sledovaný obsah
Pomoc komunity