1 (edited by ogli223 2016-07-29 09:58:18)

Topic: Smooth move script Help

Hi!

I made some modification on the SmoothMoveExample, remove the button click listener so the marker will start to move when the app starts and the user made a movement, I put it in SmoothMove.cs.

I'm Trying to make my marker move like this example below:

https://www.dropbox.com/s/jlv0bf6yrsv4g … t.avi?dl=0

https://www.dropbox.com/s/1dzjw2n3nvgl0 … 2.mp4?dl=0

But still my marker jumps to the next coordinate instead of Smooth moving marker

My screen shot of current settings:
https://www.dropbox.com/s/33wyuo6uw3uip … 1.png?dl=0

can you help me fix this? Thanks!

Post's attachments

Attachment icon SmoothMove.cs 1.73 kb, 347 downloads since 2016-07-29 

Re: Smooth move script Help

Hello.

OnlineMapsLocationService.position - is not available in Start.
It takes time to initialize GPS and find your current location.

To detect that Location Service found the current location, use:
Online Maps v2.3 - OnlineMapsLocationService.OnLocationChanged.
Online Maps v2.4 - OnlineMapsLocationService.OnLocationInited.

Kind Regards,
Infinity Code Team.

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