public void SetUpPlacement(AbstractMap map) { var referenceTileRect = Conversions.TileBounds(TileCover.CoordinateToTileId(map.CenterLatitudeLongitude, map.AbsoluteZoom)); map.SetCenterMercator(referenceTileRect.Center); }
public void SetUpPlacement(AbstractMap map) { map.SetCenterMercator(Conversions.LatLonToMeters(map.CenterLatitudeLongitude)); }