Topic: Marker shaking while moving

Hello.
I need to implement smooth map and marker changing due current position.
For now I use your example of it: http://infinity-code.com/atlas/online-m … ample.html but with small corrections (instead of OnGUI method I use custom method (with code from example) and subscribe it to  OnlineMapsLocationService.instance.OnLocationChanged). After that I set position to map like in example and also to marker. It works good but with little shaking, sometimes it looks really wierd, especially when use it on phone (as I need).
So how to change marker and map position really smooth, without any shaking and jitter?

Re: Marker shaking while moving

Here is video example https://drive.google.com/open?id=1moW8S … 6YFnBv3cHA

Re: Marker shaking while moving

Hello.

To improve this, replace:

OnlineMaps.instance.projection.CoordinatesToTile(fromPosition.x, fromPosition.y, moveZoom, out fromTileX, out fromTileY);

to

OnlineMaps.instance.GetTilePosition(out fromTileX, out fromTileY);
Kind Regards,
Infinity Code Team.

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