ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.
This class is for generating maps.
N/A
None
ZoomOutToCenter(Int32,PointShape,Single,Single)
This method updates the CurrentExtent by using the ZoomOutToCenter operation.
The CurrentExtent will be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
ZoomOutToCenter(Int32,Feature,Single,Single)
This method updates the CurrentExtent by using the ZoomOutToCenter operation.
The CurrentExtent will be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
ZoomOutToCenter(Int32,Single,Single,Single,Single)
This method updates the CurrentExtent by using the ZoomOutToCenter operation.
The CurrentExtent will be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
Update the CurrentExtent by using a panning operation.
None
This method updates the CurrentExtent by using a panning operation.
None
ToScreenCoordinate(Double,Double,Single,Single)
This method returns screen coordinates from the specified world coordinates, based on the CurrentExtent.
None
ToScreenCoordinate(PointShape,Single,Single)
This method returns screen coordinates from the specified world coordinates, based on the CurrentExtent.
None
ToScreenCoordinate(Feature,Single,Single)
This method returns screen coordinates from the specified world coordinate pointFeature, based on the CurrentExtent.
None
ToWorldCoordinate(Single,Single,Single,Single)
This method returns world coordinates from screen coordinates, based on the CurrentExtent.
None
ToWorldCoordinate(ScreenPointF,Single,Single)
This method returns world coordinates from screen coordinates, based on the CurrentExtent.
None
SnapToZoomLevel(GeographyUnit,Single,Single,ZoomLevelSet)
This method updates the CurrentExtent by snapping to a zoom level in the provided zoom level set.
None
ZoomToScale(Double,GeographyUnit,Single,Single)
This method updates the CurrentExtent by zooming to a certain scale.
None
FindStaticFeatureLayer(String)
Finds a feature layer by key (specified in the “name” parameter) within the collection of StaticLayers.
N/A
Find the raster layer by key (specified in the “name” parameter) within the collection of StaticLayers.
N/A
FindDynamicFeatureLayer(String)
Find the feature layer by key (specified in the “name” parameter) within the collection of DynamicLayers.
N/A
FindDynamicRasterLayer(String)
Find the raster layer by key (specified in the “name” parameter) within the collection of DynamicLayers.
N/A
GetDrawingExtent(Single,Single)
This method returns an adjusted extent based on the ratio of the screen width and height.
This function is used because the extent to draw must be the rame ratio as the screen width and height. If they are not, then the image drawn will be stretched or compressed. We always adjust the extent upwards to ensure that no matter how we adjust it, the original extent will fit within the new extent. This ensures that everything you wanted to see in the first extent is visible and maybe a bit more.
This API allows you to open all of the layers (either static or dynamic).
N/A
N/A
CenterAt(PointShape,Single,Single)
This is a function that allows you to pass a world point to center on and a height and width in screen units. The function will update the current extent by centering on the point and adjusting its ratio based on the height and width in screen coordinates.
This API will update the CurrentExtent.
CenterAt(Feature,Single,Single)
This is a function that allows you to pass in a feature to center on, as well as a height and width in screen units. The function will center the CurrentExtent based on the specified feature and adjust its ratio based on the height and width in screen coordinates.
This API will update the CurrentExtent.
CenterAt(Single,Single,Single,Single)
This is a function that allows you to pass a screen point to center on and a height and width in screen units. The function will update the current extent by centering on the point and adjusting its ratio based on the height and width in screen coordinates.
This API will update the CurrentExtent.
GetScreenDistanceBetweenTwoWorldPoints(PointShape,PointShape,Single,Single)
This method returns the number of pixels between two world points using the CurrentExtent as reference.
None
GetScreenDistanceBetweenTwoWorldPoints(Feature,Feature,Single,Single)
This method returns the number of pixels between two world points using the CurrentExtent as reference.
None
GetWorldDistanceBetweenTwoScreenPoints(ScreenPointF,ScreenPointF,Single,Single,GeographyUnit,DistanceUnit)
This method returns the distance in world units between two screen points by using the CurrentExtent as a reference.
None
GetCurrentScale(Single,GeographyUnit)
Get the current Scale responding to the CurrentExtent.
N/A
Draw(IEnumerable<Layer>,GeoImage,GeographyUnit)
Draw a group of layers on the specified “background” image.
N/A
Draw(IEnumerable<Layer>,Int32,Int32,GeographyUnit)
Draw a group of layers and return a new image with the specified width and height.
N/A
DrawStaticLayers(GeoImage,GeographyUnit)
Draw a group of static layers on the specified “background” image.
N/A
DrawDynamicLayers(GeoImage,GeographyUnit)
Draw a group of dynamic layers on the specified “background” image.
N/A
DrawAdornmentLayers(GeoImage,GeographyUnit)
Draw a group of AdornmentLayers on the specified “background” image.
N/A
DrawStaticLayers(Int32,Int32,GeographyUnit)
Draw a group of static layers and return a new image with the specified width and height.
N/A
DrawDynamicLayers(Int32,Int32,GeographyUnit)
Draw a group of dynamic layers and return a new image with the specified width and height.
N/A
DrawAdornmentLayers(Int32,Int32,GeographyUnit)
Draw a group of AdornmentLayers and return a new image with the specified width and height.
N/A
Draw(IEnumerable<Layer>,Bitmap,GeographyUnit)
Draw a group of layers on the specified “background” bitmap.
N/A
DrawStaticLayers(Bitmap,GeographyUnit)
Draw a group of static layers on the specified “background” bitmap.
N/A
DrawDynamicLayers(Bitmap,GeographyUnit)
Draw a group of dynamic layers on the specified “background” bitmap.
N/A
DrawAdornmentLayers(Bitmap,GeographyUnit)
Draw a group of AdornmentLayers on the specified “background” bitmap.
N/A
This method updates the CurrentExtent that is zoomed in by the percentage provided.
None
ZoomIntoCenter(Int32,PointShape,Single,Single)
This method will update the CurrentExtent by using the ZoomIntoCenter operation.
The CurrentExtent will be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
ZoomIntoCenter(Int32,Feature,Single,Single)
This method returns an extent that is centered and zoomed in.
The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
ZoomIntoCenter(Int32,Single,Single,Single,Single)
This method updates the CurrentExtent based on a calculated rectangle that is centered and zoomed in.
The CurrentExtent will be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
N/A
N/A
N/A
N/A
N/A
This method returns a new extent that is zoomed out by the percentage provided.
None
ZoomOutToCenter(RectangleShape,Int32,PointShape,Single,Single)
This method returns an extent that is centered and zoomed out.
The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
ZoomOutToCenter(RectangleShape,Int32,Feature,Single,Single)
This method returns an extent that is centered and zoomed out.
The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
ZoomOutToCenter(RectangleShape,Int32,Single,Single,Single,Single)
This method returns an extent that is centered and zoomed out.
The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
Pan(RectangleShape,PanDirection,Int32)
This method returns a panned extent.
None
Pan(RectangleShape,Single,Int32)
This method returns a panned extent.
None
ToScreenCoordinate(RectangleShape,Double,Double,Single,Single)
This method returns screen coordinates from world coordinates.
None
ToScreenCoordinate(RectangleShape,PointShape,Single,Single)
This method returns screen coordinates from world coordinates.
None
ToScreenCoordinate(RectangleShape,Feature,Single,Single)
This method returns screen coordinates from world coordinates.
None
ToWorldCoordinate(RectangleShape,Single,Single,Single,Single)
This method returns world coordinates from screen coordinates.
None
ToWorldCoordinate(RectangleShape,ScreenPointF,Single,Single)
This method returns world coordinates from screen coordinates.
None
SnapToZoomLevel(RectangleShape,GeographyUnit,Single,Single,ZoomLevelSet)
This method returns an extent that is snapped to a zoom level in the provided zoom level set.
None
ZoomToScale(Double,RectangleShape,GeographyUnit,Single,Single)
This method returns a extent that has been zoomed into a certain scale.
None
Get the current MapSuiteCore.dll file version.
N/A
LoadDataTable(Collection<Feature>,IEnumerable<String>)
This method is a static API to get information about a group of passed-in features with the specified returningColumns, in the format of a DataTable.
N/A
GetDrawingExtent(RectangleShape,Single,Single)
This method returns an adjusted extent based on the ratio of the screen width and height.
This function is used because the extent to draw must be the rame ratio as the screen width and height. If they are not, then the image drawn will be stretched or compressed. We always adjust the extent upwards to ensure that no matter how we adjust it, the original extent will fit within the new extent. This ensures that everything you wanted to see in the first extent is visible and maybe a bit more. This function takes a height and width in screen coordinates, then looks at a world extent passed, and returns an adjusted world rectangle so that the ratio to height and width in screen and world coordinates match.
CenterAt(RectangleShape,PointShape,Single,Single)
This is a static function that allows you to pass in a world rectangle, a world point to center on, and a height and width in screen units. The function will center the rectangle based on the point, then adjust the rectangle's ratio based on the height and width in screen coordinates.
None
CenterAt(RectangleShape,Feature,Single,Single)
This is a static function that allows you to pass in a world rectangle, a world point to center on, and a height and width in screen units. The function will center the rectangle based on the point, then adjust the rectangle's ratio based on the height and width in screen coordinates.
None
CenterAt(RectangleShape,Single,Single,Single,Single)
This is a static function that allows you to pass in a world rectangle, a point in screen coordinates to center on, and a height and width in screen units. The function will center the rectangle based on the screen point, then adjust the rectangle's ratio based on the height and width in screen coordinates.
None
GetScreenDistanceBetweenTwoWorldPoints(RectangleShape,PointShape,PointShape,Single,Single)
This method returns the number of pixels between two world points.
None
GetScreenDistanceBetweenTwoWorldPoints(RectangleShape,Feature,Feature,Single,Single)
This method returns the number of pixels between two world points.
None
GetWorldDistanceBetweenTwoScreenPoints(RectangleShape,ScreenPointF,ScreenPointF,Single,Single,GeographyUnit,DistanceUnit)
This method returns the distance in world units between two screen points.
None
GetWorldDistanceBetweenTwoScreenPoints(RectangleShape,Single,Single,Single,Single,Single,Single,GeographyUnit,DistanceUnit)
This method returns the distance in wold units between two screen points.
N/A
GetCurrentScale(RectangleShape,Single,GeographyUnit)
This Static API is used to calculate the scale based on the specified worldExtent and its corresponding ScreenWidth and MapUnit.
N/A
GetBoundingBoxOfItems(IEnumerable<BaseShape>)
This API gets the BoundingBox of a group of BaseShapes.
N/A
GetBoundingBoxOfItems(IEnumerable<Feature>)
This API gets the BoundingBox of a group of Features.
N/A
This method returns a new extent that is zoomed in by the percentage provided.
None
ZoomIntoCenter(RectangleShape,Int32,PointShape,Single,Single)
This method returns an extent that is centered and zoomed in.
The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
ZoomIntoCenter(RectangleShape,Int32,Feature,Single,Single)
This method returns a new extent that is zoomed in by the percentage provided.
None
ZoomIntoCenter(RectangleShape,Int32,Single,Single,Single,Single)
This method returns an extent that is centered and zoomed in.
The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
OnAdornmentLayersDrawing(AdornmentLayersDrawingEventArgs)
This event is raised before AdornmentLayers are drawn.
N/A
OnAdornmentLayersDrawn(AdornmentLayersDrawnEventArgs)
This event is raised after AdornmentLayers are drawn.
N/A
OnAdornmentLayerDrawing(AdornmentLayerDrawingEventArgs)
This event is raised before an AdornmentLayer is drawn.
N/A
OnAdornmentLayerDrawn(AdornmentLayerDrawnEventArgs)
This event is raised after an AdornmentLayer is drawn.
N/A
OnLayersDrawing(LayersDrawingEventArgs)
This event is raised before Layers are drawn.
N/A
OnLayersDrawn(LayersDrawnEventArgs)
This event is raised after Layers are drawn.
N/A
OnLayerDrawing(LayerDrawingEventArgs)
This event is raised before a Layer is drawn.
N/A
OnLayerDrawn(LayerDrawnEventArgs)
This event is raised after a Layer is drawn.
N/A
N/A
N/A
N/A
N/A
N/A
This property holds a collection of AdornmentLayers to be drawn on the MapEngine.
This collection of Layers StaticLayers will be drawn when calling the DrawAdornmentLayers API.
This property gets or sets the current extent of the MapEngine.
The current extent is the rectangle that is currently being shown on the MapEngine.
This property holds a group of Layers to be drawn on the MapEngine.
This collection of Layers StaticLayers will be drawn when calling the DrawStaticLayers API.
This property holds a group of Layers to be drawn on the MapEngine.
This collection of Layers StaticLayers will be drawn when calling the DrawDynamicLayers API.
Gets or sets the GeoBrush for the background of the MapEngine.
N/A
N/A
Event Arguments:LayerDrawnEventArgs
AdornmentLayersDrawing This event is raised before AdornmentLayers are drawn.
N/A
Event Arguments:AdornmentLayersDrawingEventArgs
AdornmentLayersDrawn This event is raised after AdornmentLayers are drawn.
N/A
Event Arguments:AdornmentLayersDrawnEventArgs
AdornmentLayerDrawing This event is raised before an AdornmentLayer is drawn.
N/A
Event Arguments:AdornmentLayerDrawingEventArgs
AdornmentLayerDrawn This event is raised after an AdornmentLayer is drawn.
N/A
Event Arguments:AdornmentLayerDrawnEventArgs