Page 1 of 1

Touch Google Map Component Touch Event Destination

Posted: Mon Apr 29, 2013 4:18 pm
by Joe Paisley

I was wondering if it were possible to create a touch event on the Google Maps Component to create a marker, and then somehow create a "navigate to" option, or at least populate a value in the "destination" input component. How might I do this? Thanks!


Touch Google Map Component Touch Event Destination

Posted: Mon Apr 29, 2013 5:42 pm
by Maryna Brodina

Hello! You can get coordinates of place you clicked on map. Here is more information https://developers.google.com/maps/do...


Touch Google Map Component Touch Event Destination

Posted: Tue Apr 30, 2013 1:36 pm
by Joe Paisley

So I would click the "directionsMap" component on the "maps" page of my app, and ad a "taphold" event to run custom javascript? What javascript do I add to callback the latlng value so that the user can select the location clicked to appear in the "destination" input?