MapCenter Property | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Gets or sets the current center point of the map.
Namespace:
Telogis.GeoBase
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public LatLon Center { get; set; }
Public Property Center As LatLon
Get
Set
Property Value
Type:
LatLonImplements
IMapCenterRemarks
This
LatLon represents the current center
of the map. A call to
GetMap will return
an image of the map, centered on this point.
Defaults to 40, -99.
Examples
Telogis.GeoBase.Map myMap = new Telogis.GeoBase.Map();
myMap.Center = new LatLon(33.694165, -117.956236);
Console.WriteLine("The center of the map is {0}", myMap.Center);
See Also