Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using the traditional Popup of JavaScript API and it seems to not work properly in my application. When you click on the map, the Popup comes fine but when you click on the Zoom to link button, the map zooms in and then if you move the map, the map disappears.

It only returns when you refresh the app. Not sure what is causing it?

share|improve this question
up vote 1 down vote accepted

It looks like a spatial reference issue, your map is in WGS 1984 Web Mercator (Auxiliary Sphere) ("wkid":3857/102100*) and you are asking it to zoom to a 'States' object in a geographic coordinate system ("wkid": 4326 - GCS_WGS_1984.). Either project the states layer in to web mercator or override the zoom function and project the geometry before zooming.

*I would use 102100 to represent WGS 1984 Web Mercator (Auxiliary Sphere). see this article

share|improve this answer
That is it. Thanks a lot. I changed all wkid to 102100 – Sam007 Nov 23 '12 at 18:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.