AnsweredAssumed Answered

Extent loads but levels out

Question asked by janwillem.baart on May 16, 2013
Latest reply on May 16, 2013 by janwillem.baart
I have created a map which loads an initialization extent which will be updated by a custom extent via a javascript function, loadMapFromURL(). This function extracts the extent parameters from the URL and sets this extent(thus a user is able to link to a specific view on the map).
This all works just fine on the development environment but in the test environment the level of the map is set back 2 to 4 levels. But by zooming in, the custom extent will exactly show up...

Via the console I'm able to check that the initialization extent is loaded, loadMapURL() is called which does load the custom extent and thereafter a 'new' extent is loaded.
I have been debugging and logging this issue for a while now but I can't figure out what triggers this extent change. Anyone seen this before or has a clue what's happening?

Outcomes