Select to view content in your preferred language

Mobile app popup location

895
2
10-28-2013 07:09 AM
RickHendrickson
Occasional Contributor
Hello,
with some help from the forum I have the popupmobile working(for the most part) on my mobile javascript app. I am having one issue though. After the user moves to another dojox.mobile.View and goes back to the map view the popup location does not come up where the user clicks. On the attached screen shot, I clicked on the far left, and the popup appears on the far right. Is this a bug or does anyone have a fix for it?
Thanks
Rick[ATTACH=CONFIG]28650[/ATTACH]
0 Kudos
2 Replies
KellyHutchins
Esri Notable Contributor
This is probably due to a known issue with Dojo. Take a look at the info Derek posted in this thread for a solution:

http://forums.arcgis.com/threads/94963-Javascript-API-map-3.7-has-no-coordinates-when-handling-map-c...
0 Kudos
JustinFultz
Regular Contributor
The fix in that thread works to correct the problem when the map is initially loaded. The problem I have is when the user moves to a different view(such as the about view in the mobile template) and back to the map, the popup is misplaced. How can I call the "document.dojoClick= false" statement each time they change the view?

Thanks in advance for your help!
0 Kudos