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