Map routing with GeoCoder

7 posts by 4 authors in: Forums > CMS Builder
Last Post: June 9, 2014   (RSS)

By nmsinc - May 28, 2014

Has anyone done any mapping to route within a mobile environment? I need to now how to use the current geocode plugin to set auto routing when using a mobile device!

Thanks - nmsinc

nmsinc

By willydoit - May 29, 2014

Hi,

I would also like information on this functionality if it's available.

Thanks in advance

By Damon - May 29, 2014

I haven't done any auto routing but found this resource:
https://developers.google.com/maps/documentation/embed/guide#directions_mode

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By nmsinc - June 2, 2014

Thanks for the help on this Damon. Would you by chance happen to know what the origin code would be for finding ones current mobile location?

Each time a user opens this map on their mobile device I need it to locate their current location and record it in the "origin" section of the map key below!

https://www.google.com/maps/embed/v1/directions
  ?key=API_KEY
  &origin=???
  &destination=Telemark+Norway
  &avoid=tolls|highways

Thanks - nmsinc

nmsinc

By claire - June 4, 2014

Hi there

Check out this Stackoverflow answer, it might help.

http://stackoverflow.com/questions/7741866/google-api-map-with-directions-using-javascript

You can get the origin from the user's lat/lng if you use a Google Maps API LatLng object.

--------------------

Claire Ryan
interactivetools.com

Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By willydoit - June 9, 2014

Hi,

sorry, due to other jobs piling up I havent even had a chance to look at this yet, it's been placed on the back burner for now.