IMap Interface |
Namespace: Telogis.GeoBase
The IMap type exposes the following members.
Name | Description | |
---|---|---|
Busy |
Returns true if the IMap is busy rendering a map, otherwise false.
| |
Center |
Gets or sets the center point of the map.
| |
DisplayScale |
Gets the target scale of the display.
| |
Heading |
Gets or sets the Heading for the map.
| |
MapQuality |
Gets or sets the current MapQuality for this map.
| |
MapScale |
Gets the scale of the map.
| |
MaxZoom |
Gets or sets the maximum zoom level for this map.
| |
MinZoom |
Gets or sets the Minimum zoom level for this map.
| |
Perspective |
Gets or sets the map perspective, if supported by the map.
| |
PixelSizeMeters |
Gets the number of meters each pixel of the map represents.
| |
PixelSizeMiles |
Gets the number of miles each pixel of the map represents.
| |
Projected |
Gets or sets whether the map is projected or not.
| |
Renderer |
Gets or sets the current IMapRenderer object for this
map.
| |
RenderLabels |
Gets or sets a boolean indicating whether labels should be
drawn on this map.
| |
Satellite |
Gets or sets whether the map uses satellite imagery.
| |
SatelliteLayerName |
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.
| |
Size |
Gets or sets the dimensions of the map in pixels.
| |
Style |
Gets or sets the current MapStyle for this map. Set this value to null
to use the default map style.
| |
StyleName |
Gets or sets the current MapStyle name for this map. Set this value to
null to use the default map style.
| |
Zoom |
Gets or sets the zoom height of the map. Increasing this value causes the map to zoom out.
|
Name | Description | |
---|---|---|
CancelAsync |
Cancels the asynchronous map fetch underway, if any.
| |
Contains |
Check whether the LatLon co-ordinates
lie within this IMap.
| |
GetBoundingBox |
Gets the BoundingBox of the IMap object
| |
GetMap |
Generate a map synchronously using current Center, Size and Zoom.
| |
GetMap(Boolean, MapProgress, Boolean) |
Generate a map using current Center, Size and Zoom.
| |
LatLontoXY |
Convert from a LatLon to a pixel X,Y location on the map.
| |
XYtoBoundingBox |
Gets the BoundingBox of two pixel locations, x1,y1 and x2,y2.
| |
XYtoLatLon |
Gets the LatLon of a point on the map given by x & y co-ordinates.
| |
ZoomToBoundingBox(BoundingBox, Int32) |
Zooms the map and centers on the given BoundingBox.
| |
ZoomToBoundingBox(BoundingBox, MapBuffer) |
Zooms the map to display the specified bounding box with a separate buffer on each side.
|
Related articles: Using Multiple Renderers.