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); } }
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); } }
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); } }