Answered: Problem showing current location as a pin on Ext.map
Answered: Problem showing current location as a pin on Ext.map
Hi all,
I'm trying to show a map and then add a pin at the users current location. I'm using 'useCurrentLocation : true' so the map centres on the user's location just fine, however I can't add a pin correctly. I've attached a listener to Ext.map event 'maprender' but when I do map.geo.coords gives Null values for Lat and Long. It's as if the maprender event is fired before the location is determined. any suggestions? Is there a later event I can listen to?
Hello. How did you solve this? I'm using Sencha Architect to build an app also showing the marker on the current location, but I just can't get it to work.