Topic: Find places based on my current location problem

Hi!
I'am having a problem on my code,my goal here is to find a certain restaurant within a certain range on my current location given by the gps, I've attached a screenshot of the error and a copy of the script

screenshot of the error
https://www.dropbox.com/s/h9iibai3rjtcx … r.png?dl=0

Post's attachments

Attachment icon FindPlaces.cs 1.87 kb, 329 downloads since 2016-08-09 

Re: Find places based on my current location problem

Hello.

OnlineMapsLocationService.position unavailable on Start or earlier.
It takes time to initialize GPS.
Use OnlineMapsLocationService.OnLocationInited (for Online Maps v2.3 - OnlineMapsLocationService.OnLocationChanged) to determine when GPS is initialized.
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: Find places based on my current location problem

it works! thanks!