Exemple #1
0
 /// <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;
                 }
 }
Exemple #2
0
 /// <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);
 }
Exemple #3
0
 /// <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);
 }