Topic: Accessing Marker of the Location Service Component

Hallo,
my position marker of the location service is quite jumpy. So I want to write a script to make the movement between the positions smoother. My question is how can I access the marker of the location service component. Otherwise I have two markers at the gps position of the player.

Re: Accessing Marker of the Location Service Component

Hi.

Example:
https://forum.infinity-code.com/viewtopic.php?id=1640

Kind Regards,
Infinity Code Team.

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

Re: Accessing Marker of the Location Service Component

Thanks for that. I have another question. I'm running my app on resources as sources for tiles. In my profiler i check my performance and saw that online maps always calls OnlineMapsTileManager.StartDownloading(). Was wondering what this function does and if it makes sense to stop it while map is not open!

Re: Accessing Marker of the Location Service Component

This sadly doesnt answer my question. The script that you linked me two i already implemented but the problem is not that i have a marker from the location service and from the gps smoother script.

Re: Accessing Marker of the Location Service Component

This method starts downloading the tile (in your case from a local source).
This method is called from OnlineMaps.Update, and should not be called while the map is not active.
If it is called, please make sure you have Map GameObject or OnlineMaps component disabled.

To get Location Service marker use OnlineMapsLocationServiceBase.marker.
https://infinity-code.com/doxygen/onlin … 7ca6db5d48

Kind Regards,
Infinity Code Team.

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