Search Unity

How to fix object on the map on unity mapbox

Discussion in 'Navigation' started by bugracoskun1996, Dec 8, 2018.

  1. bugracoskun1996

    bugracoskun1996

    Joined:
    Jun 30, 2018
    Posts:
    5
    I am trying to build a navigation application. i can find to route between user and a point, but my problem is the point is not fixed on the map. I mean that when i scrool the map, the chosen point are moving.

    How to i fix this point on the map?
     
  2. Yandalf

    Yandalf

    Joined:
    Feb 11, 2014
    Posts:
    491
    You'll have to update the route's points whenever you scroll the map manually.
    I assume you convert your input to a map scroll value somewhere, you will have to add these values to the points' coordinates.