Topic: Location Services Not centering On location

Hello again,

Sorry to bother you again but I'm using location services and I want my marker(showing my present location) to be centered on the map when found or location changed, however when it starts up, even though it's showing my location at the right place with the marker on the map, the map centers a little off of it, in fact it's not even in view I have to zoom out to see it. Any ideas? My GetLocationScript is simply

    void Start () {

        OnlineMapsLocationService.instance.OnLocationChanged += OnLocationChanged;
   
    }

    private void OnLocationChanged(Vector2 pos){
    //    OnlineMaps.instance.SetPosition (pos.x, pos.y);
        OnlineMaps.instance.SetPositionAndZoom(pos.x, pos.y, 17);
    }

Re: Location Services Not centering On location

Hello.

I just checked it. Everything looks good.
Please send screenshots or video to show the problem.
We will immediately fix it, or give you advice on how to fix the problem.

Kind Regards,
Infinity Code Team.

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