1 (edited by Rumata 2017-09-07 00:25:44)

Topic: How to move map to users location?

Hi!

I need the user to be able to see his current location on the map.

1) Which function can I use in order to move the map and show the location, which is equal to the user's latitude and longitude (using GPS)?

2) Which function can I use in order to move the map to a particular location (latitude and longitude which I will set)?

Thank you in advance!

Re: How to move map to users location?

Hello.

1. Simply add Online Maps Location Service component.
2. OnlineMaps.SetPosition or OnlineMaps.position
http://infinity-code.com/doxygen/online … e65d01d9b7
http://infinity-code.com/doxygen/online … 83961edbce
Example:
http://infinity-code.com/atlas/online-m … ample.html

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: How to move map to users location?

Thank you very much for such helpful and quick support responce!