Click or drag to resize

IMap Methods

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release

The IMap type exposes the following members.

Methods
  NameDescription
Public methodCancelAsync
Cancels the asynchronous map fetch underway, if any.
Public methodContains
Check whether the LatLon co-ordinates lie within this IMap.
Public methodGetBoundingBox
Gets the BoundingBox of the IMap object
Public methodGetMap
Generate a map synchronously using current Center, Size and Zoom.
Public methodGetMap(Boolean, MapProgress, Boolean)
Generate a map using current Center, Size and Zoom.
Public methodCode exampleLatLontoXY
Convert from a LatLon to a pixel X,Y location on the map.
Public methodXYtoBoundingBox
Gets the BoundingBox of two pixel locations, x1,y1 and x2,y2.
Public methodXYtoLatLon
Gets the LatLon of a point on the map given by x & y co-ordinates.
Public methodZoomToBoundingBox(BoundingBox, Int32)
Zooms the map and centers on the given BoundingBox.
Public methodZoomToBoundingBox(BoundingBox, MapBuffer)
Zooms the map to display the specified bounding box with a separate buffer on each side.
Top
See Also