Topic: Using location radius to do something?

I was wondering if Online Maps had the capability to trigger something when the GPS is in a certain area. For example - being able to set a minimum lat/long and a maximum lat /long. Then when the gps is between those it will trigger a game object turning on.

I’d like to also have the ability to be able to switch this on an off (this is probably easy as just a bool)

Is this possible at all?

Thanks

Re: Using location radius to do something?

Hello.

This behavior should be implemented by your own scripts.

To get the current GPS location, use OnlineMapsLocationServiceBase.position.
http://infinity-code.com/doxygen/online … 444f547053

To calculate the distance between locations, use OnlineMapsUtils.DistanceBetweenPoints.
http://infinity-code.com/doxygen/online … bc84a165f2
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.