void SetOrigin(Coordinates coords)
 {
     Debug.Log("[IndoorAtlasLocationManager] set origin " + coords.toLatLongString());
     IsOriginSet = true;
     Coordinates.setWorldOrigin(coords, worldScale);
     if (base.onOriginSet != null)
     {
         base.onOriginSet.Invoke(coords);
     }
 }
Ejemplo n.º 2
0
 public void SetOrigin(Coordinates coords)
 {
     Debug.Log("[Location Manager] set origin " + coords.toLatLongString());
     IsOriginSet = true;
     worldOrigin = coords.tileCenter(zoomLevel);
     Coordinates.setWorldOrigin(worldOrigin, worldScale);
     if (onOriginSet != null)
     {
         onOriginSet.Invoke(worldOrigin);
     }
 }
Ejemplo n.º 3
0
 void SetOrigin(Coordinates coords)
 {
     Debug.Log("SET ORIGIN " + coords.toLatLongString());
     IsOriginSet            = true;
     CenterWorldCoordinates = coords.tileCenter(zoomLevel);
     demo_CenterWorldTile   = coords.tileCoordinates(zoomLevel);
     Coordinates.setWorldOrigin(CenterWorldCoordinates, worldScale);
     if (onOriginSet != null)
     {
         onOriginSet.Invoke(CenterWorldCoordinates);
     }
 }