Click or drag to resize

IMap Interface

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Country / Engine independent map interface with support for zooming.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public interface IMap

The IMap type exposes the following members.

Properties
  NameDescription
Public propertyBusy
Returns true if the IMap is busy rendering a map, otherwise false.
Public propertyCenter
Gets or sets the center point of the map.
Public propertyDisplayScale
Gets the target scale of the display.
Public propertyHeading
Gets or sets the Heading for the map.
Public propertyMapQuality
Gets or sets the current MapQuality for this map.
Public propertyMapScale
Gets the scale of the map.
Public propertyMaxZoom
Gets or sets the maximum zoom level for this map.
Public propertyMinZoom
Gets or sets the Minimum zoom level for this map.
Public propertyPerspective
Gets or sets the map perspective, if supported by the map.
Public propertyPixelSizeMeters
Gets the number of meters each pixel of the map represents.
Public propertyPixelSizeMiles
Gets the number of miles each pixel of the map represents.
Public propertyProjected
Gets or sets whether the map is projected or not.
Public propertyRenderer
Gets or sets the current IMapRenderer object for this map.
Public propertyRenderLabels
Gets or sets a boolean indicating whether labels should be drawn on this map.
Public propertySatellite
Gets or sets whether the map uses satellite imagery.
Public propertySatelliteLayerName
The name of the map layer that will be used to provide satellite imagery. If specified then the imagery will be taken from the appropriate WMS layer in the GeoStream's layers.config file. Otherwise, standard GeoBase satellite imagery will be used.
Public propertySize
Gets or sets the dimensions of the map in pixels.
Public propertyStyle
Gets or sets the current MapStyle for this map. Set this value to null to use the default map style.
Public propertyStyleName
Gets or sets the current MapStyle name for this map. Set this value to null to use the default map style.
Public propertyZoom
Gets or sets the zoom height of the map. Increasing this value causes the map to zoom out.
Top
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
Remarks
The IMap interface provides support for user code to render additional features on maps. An example is the BalloonPushPin. See the IMapRenderer interface for more details.

Related articles: Using Multiple Renderers.

See Also