/// <summary> /// Copy constructor /// </summary> /// <param name="t"></param> public OsmTile(OsmTile t) : this() { if (t != null) { this.XColumn = t.XColumn; this.YRow = t.YRow; this.Zoom = t.Zoom; } }
/// <summary> /// Returns the longitude the tile is located at for the for given zoom level. /// </summary> public static double LongitudeFromTile(OsmTile t) { return OsmTile.LongitudeFromColumn(t.XColumn, t.Zoom); }
/// <summary> /// Returns the latitude the tile is located at for the for given zoom level. /// </summary> public static double LatitudeFromTile(OsmTile t) { return OsmTile.LatitudeFromRow(t.YRow, t.Zoom); }