Exemplo n.º 1
0
 /// <summary>
 /// Converts a single geographic location into the equivalent point on the
 /// screen relative to the top left corner of the map.
 /// </summary>
 /// <param name="location">The geographic position to transform</param>
 /// <returns>A Point with the new location.</returns>
 public Point ProjToPixel(Coordinate location)
 {
     return _gdiMapFrame.ProjToPixel(location);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Converts a single geographic location into the equivalent point on the
 /// screen relative to the top left corner of the map.
 /// </summary>
 /// <param name="location">The geographic position to transform</param>
 /// <returns>A Point with the new location.</returns>
 public System.Drawing.Point ProjToPixel(Coordinate location)
 {
     return(_gdiMapFrame.ProjToPixel(location));
 }