User Tools

Site Tools


thinkgeo.mapsuite.portablecore.mapengine

This is an old revision of the document!


Table of Contents

ThinkGeo.MapSuite.PortableCore.MapEngine

<!– Class –> This class is for generating maps.

Remarks

The MapEngine class is similar to a Map Control in Map Suite Desktop Edition or Web Edition.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodMapEngine Create a new instance of the MapEngine.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodCenterAt 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.
Public MethodCenterAt 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.
Public MethodStatic MemberCenterAt 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.
Public MethodStatic MemberCenterAt 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.
Public MethodCenterAt 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.
Public MethodStatic MemberCenterAt 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.
Public MethodCloseAllLayers This API allows you close all of the layers (either static or dynamic).
Public MethodDraw IEnumerable<Layer>, GeoImage, GeographyUnit Draw a group of layers on the specified “background” image.
Public MethodDraw IEnumerable<Layer>, Int32, Int32, GeographyUnit Draw a group of layers and return a new image with the specified width and height.
Public MethodDrawAdornmentLayers GeoImage, GeographyUnit Draw a group of AdornmentLayers on the specified “background” image.
Public MethodDrawAdornmentLayers Int32, Int32, GeographyUnit Draw a group of AdornmentLayers and return a new image with the specified width and height.
Public MethodDrawDynamicLayers GeoImage, GeographyUnit Draw a group of dynamic layers on the specified “background” image.
Public MethodDrawDynamicLayers Int32, Int32, GeographyUnit Draw a group of dynamic layers and return a new image with the specified width and height.
Public MethodDrawStaticLayers Int32, Int32, GeographyUnit Draw a group of static layers and return a new image with the specified width and height.
Public MethodDrawStaticLayers GeoImage, GeographyUnit Draw a group of static layers on the specified “background” image.
Public MethodEquals Object Object
Public MethodFindDynamicFeatureLayer String Find the feature layer by key (specified in the “name” parameter) within the collection of DynamicLayers.
Public MethodFindDynamicRasterLayer String Find the raster layer by key (specified in the “name” parameter) within the collection of DynamicLayers.
Public MethodFindStaticFeatureLayer String Finds a feature layer by key (specified in the “name” parameter) within the collection of StaticLayers.
Public MethodFindStaticRasterLayer String Find the raster layer by key (specified in the “name” parameter) within the collection of StaticLayers.
Public MethodStatic MemberGetBoundingBoxOfItems IEnumerable<Feature> This API gets the BoundingBox of a group of Features.
Public MethodStatic MemberGetBoundingBoxOfItems IEnumerable<BaseShape> This API gets the BoundingBox of a group of BaseShapes.
Public MethodStatic MemberGetCurrentScale RectangleShape, Single, GeographyUnit This Static API is used to calculate the scale based on the specified worldExtent and its corresponding ScreenWidth and MapUnit.
Public MethodGetCurrentScale Single, GeographyUnit Get the current Scale responding to the CurrentExtent.
Public MethodGetDrawingExtent Single, Single This method returns an adjusted extent based on the ratio of the screen width and height.
Public MethodStatic MemberGetDrawingExtent RectangleShape, Single, Single This method returns an adjusted extent based on the ratio of the screen width and height.
Public MethodGetHashCode Object
Public MethodGetScreenDistanceBetweenTwoWorldPoints Feature, Feature, Single, Single This method returns the number of pixels between two world points using the CurrentExtent as reference.
Public MethodStatic MemberGetScreenDistanceBetweenTwoWorldPoints RectangleShape, PointShape, PointShape, Single, Single This method returns the number of pixels between two world points.
Public MethodGetScreenDistanceBetweenTwoWorldPoints PointShape, PointShape, Single, Single This method returns the number of pixels between two world points using the CurrentExtent as reference.
Public MethodStatic MemberGetScreenDistanceBetweenTwoWorldPoints RectangleShape, Feature, Feature, Single, Single This method returns the number of pixels between two world points.
Public MethodGetType Object
Public MethodStatic MemberGetVersion Get the current MapSuiteCore.dll file version.
Public MethodGetWorldDistanceBetweenTwoScreenPoints 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.
Public MethodStatic MemberGetWorldDistanceBetweenTwoScreenPoints RectangleShape, Single, Single, Single, Single, Single, Single, GeographyUnit, DistanceUnit This method returns the distance in wold units between two screen points.
Public MethodStatic MemberGetWorldDistanceBetweenTwoScreenPoints RectangleShape, ScreenPointF, ScreenPointF, Single, Single, GeographyUnit, DistanceUnit This method returns the distance in world units between two screen points.
Public MethodOpenAllLayers This API allows you to open all of the layers (either static or dynamic).
Public MethodPan Single, Int32 This method updates the CurrentExtent by using a panning operation.
Public MethodStatic MemberPan RectangleShape, Single, Int32 This method returns a panned extent.
Public MethodStatic MemberPan RectangleShape, PanDirection, Int32 This method returns a panned extent.
Public MethodPan PanDirection, Int32 Update the CurrentExtent by using a panning operation.
Public MethodSnapToZoomLevel GeographyUnit, Single, Single, ZoomLevelSet This method updates the CurrentExtent by snapping to a zoom level in the provided zoom level set.
Public MethodStatic MemberSnapToZoomLevel RectangleShape, GeographyUnit, Single, Single, ZoomLevelSet This method returns an extent that is snapped to a zoom level in the provided zoom level set.
Public MethodToScreenCoordinate PointShape, Single, Single This method returns screen coordinates from the specified world coordinates, based on the CurrentExtent.
Public MethodToScreenCoordinate Feature, Single, Single This method returns screen coordinates from the specified world coordinate pointFeature, based on the CurrentExtent.
Public MethodToScreenCoordinate Double, Double, Single, Single This method returns screen coordinates from the specified world coordinates, based on the CurrentExtent.
Public MethodStatic MemberToScreenCoordinate RectangleShape, Double, Double, Single, Single This method returns screen coordinates from world coordinates.
Public MethodStatic MemberToScreenCoordinate RectangleShape, PointShape, Single, Single This method returns screen coordinates from world coordinates.
Public MethodStatic MemberToScreenCoordinate RectangleShape, Feature, Single, Single This method returns screen coordinates from world coordinates.
Public MethodToString Object
Public MethodToWorldCoordinate Single, Single, Single, Single This method returns world coordinates from screen coordinates, based on the CurrentExtent.
Public MethodStatic MemberToWorldCoordinate RectangleShape, Single, Single, Single, Single This method returns world coordinates from screen coordinates.
Public MethodStatic MemberToWorldCoordinate RectangleShape, ScreenPointF, Single, Single This method returns world coordinates from screen coordinates.
Public MethodToWorldCoordinate ScreenPointF, Single, Single This method returns world coordinates from screen coordinates, based on the CurrentExtent.
Public MethodZoomIn Int32 This method updates the CurrentExtent that is zoomed in by the percentage provided.
Public MethodStatic MemberZoomIn RectangleShape, Int32 This method returns a new extent that is zoomed in by the percentage provided.
Public MethodZoomIntoCenter Int32, Single, Single, Single, Single This method updates the CurrentExtent based on a calculated rectangle that is centered and zoomed in.
Public MethodStatic MemberZoomIntoCenter RectangleShape, Int32, Single, Single, Single, Single This method returns an extent that is centered and zoomed in.
Public MethodZoomIntoCenter Int32, PointShape, Single, Single This method will update the CurrentExtent by using the ZoomIntoCenter operation.
Public MethodStatic MemberZoomIntoCenter RectangleShape, Int32, Feature, Single, Single This method returns a new extent that is zoomed in by the percentage provided.
Public MethodStatic MemberZoomIntoCenter RectangleShape, Int32, PointShape, Single, Single This method returns an extent that is centered and zoomed in.
Public MethodZoomIntoCenter Int32, Feature, Single, Single This method returns an extent that is centered and zoomed in.
Public MethodStatic MemberZoomOut RectangleShape, Int32 This method returns a new extent that is zoomed out by the percentage provided.
Public MethodZoomOut Int32 This method will update the CurrentExtent by using the ZoomOut operation.
Public MethodStatic MemberZoomOutToCenter RectangleShape, Int32, PointShape, Single, Single This method returns an extent that is centered and zoomed out.
Public MethodStatic MemberZoomOutToCenter RectangleShape, Int32, Feature, Single, Single This method returns an extent that is centered and zoomed out.
Public MethodZoomOutToCenter Int32, PointShape, Single, Single This method updates the CurrentExtent by using the ZoomOutToCenter operation.
Public MethodZoomOutToCenter Int32, Feature, Single, Single This method updates the CurrentExtent by using the ZoomOutToCenter operation.
Public MethodZoomOutToCenter Int32, Single, Single, Single, Single This method updates the CurrentExtent by using the ZoomOutToCenter operation.
Public MethodStatic MemberZoomOutToCenter RectangleShape, Int32, Single, Single, Single, Single This method returns an extent that is centered and zoomed out.
Public MethodStatic MemberZoomToScale Double, RectangleShape, GeographyUnit, Single, Single This method returns a extent that has been zoomed into a certain scale.
Public MethodZoomToScale Double, GeographyUnit, Single, Single This method updates the CurrentExtent by zooming to a certain scale.

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object
Protected MethodOnAdornmentLayerDrawing AdornmentLayerDrawingEventArgs This event is raised before an AdornmentLayer is drawn.
Protected MethodOnAdornmentLayerDrawn AdornmentLayerDrawnEventArgs This event is raised after an AdornmentLayer is drawn.
Protected MethodOnAdornmentLayersDrawing AdornmentLayersDrawingEventArgs This event is raised before AdornmentLayers are drawn.
Protected MethodOnAdornmentLayersDrawn AdornmentLayersDrawnEventArgs This event is raised after AdornmentLayers are drawn.
Protected MethodOnLayerDrawing LayerDrawingEventArgs This event is raised before a Layer is drawn.
Protected MethodOnLayerDrawn LayerDrawnEventArgs This event is raised after a Layer is drawn.
Protected MethodOnLayersDrawing LayersDrawingEventArgs This event is raised before Layers are drawn.
Protected MethodOnLayersDrawn LayersDrawnEventArgs This event is raised after Layers are drawn.

Public Properties

Name Return DeclaringType Summary
Public PropertyAdornmentLayers GeoCollection<AdornmentLayer> This property holds a collection of AdornmentLayers to be drawn on the MapEngine.
Public PropertyBackgroundFillBrush GeoBrush Gets or sets the GeoBrush for the background of the MapEngine.
Public PropertyCanvas GeoCanvas Gets and sets the GeoCanvas used to draw the Layers.
Public PropertyCurrentExtent RectangleShape This property gets or sets the current extent of the MapEngine.
Public PropertyDynamicLayers GeoCollection<Layer> This property holds a group of Layers to be drawn on the MapEngine.
Public PropertyShowLogo Boolean This property specifies whether the logo is shown on the Map or not.
Public PropertyStaticLayers GeoCollection<Layer> This property holds a group of Layers to be drawn on the MapEngine.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary
Public EventAdornmentLayerDrawing AdornmentLayerDrawingEventArgs This event is raised before an AdornmentLayer is drawn.
Public EventAdornmentLayerDrawn AdornmentLayerDrawnEventArgs This event is raised after an AdornmentLayer is drawn.
Public EventAdornmentLayersDrawing AdornmentLayersDrawingEventArgs This event is raised before AdornmentLayers are drawn.
Public EventAdornmentLayersDrawn AdornmentLayersDrawnEventArgs This event is raised after AdornmentLayers are drawn.
Public EventLayerDrawing LayerDrawingEventArgs This event is raised before a Layer is drawn.
Public EventLayerDrawn LayerDrawnEventArgs This event is raised after a Layer is drawn.
Public EventLayersDrawing LayersDrawingEventArgs This event is raised before Layers are drawn.
Public EventLayersDrawn LayersDrawnEventArgs This event is raised after Layers are drawn.

Public Constructors

MapEngine()

Create a new instance of the MapEngine.

Parameters

Name Type Description

Go Back

Protected Constructors

Public Methods

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.

Remarks

This API will update the <strong>CurrentExtent</strong>.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
centerFeature Feature<!– ThinkGeo.MapSuite.PortableCore.Feature –> This parameter is the world point feature you want to center on.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

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.

Remarks

This API will update the <strong>CurrentExtent</strong>.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
worldPoint PointShape<!– ThinkGeo.MapSuite.PortableCore.PointShape –> This parameter is the world point you want to center on.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

CenterAt(RectangleShape, Feature, Single, Single)

<!– static –> 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.

Overloads

This overload allows you to pass in a world point as the center.

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This method returns an adjusted extent centered on a point.

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the current extent you want to center.
centerFeature Feature<!– ThinkGeo.MapSuite.PortableCore.Feature –> This parameter is the world point feature you want to center on.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

CenterAt(RectangleShape, Single, Single, Single, Single)

<!– static –> 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.

Overloads

This overload allows you to pass in a screen point as the center.

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This method returns an adjusted extent centered on a point.

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the current extent you want to center.
screenX Single<!– System.Single –> This parameter is the X coordinate on the screen to center to.
screenY Single<!– System.Single –> This parameter is the Y coordinate on the screen to center to.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

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.

Overloads

This overload allows you to pass in a screen point as the center.

Remarks

This API will update the <strong>CurrentExtent</strong>.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
screenX Single<!– System.Single –> This parameter is the X coordinate on the screen to center on.
screenY Single<!– System.Single –> This parameter is the Y coordinate on the screen to center on.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

CenterAt(RectangleShape, PointShape, Single, Single)

<!– static –> 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.

Overloads

This overload allows you to pass in a world point as the center.

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This method returns an adjusted extent centered on a point.

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the current extent you want to center.
worldPoint PointShape<!– ThinkGeo.MapSuite.PortableCore.PointShape –> This parameter is the world point you want to center on.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

CloseAllLayers()

This API allows you close all of the layers (either static or dynamic).

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

Draw(IEnumerable<Layer>, GeoImage, GeographyUnit)

Draw a group of layers on the specified “background” image.

Return Value

Return Type Description
GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> The resulting image after drawing the target layers on the specified “background” image.

Parameters

Name Type Description
layers IEnumerable<Layer><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.PortableCore.Layer} –> This parameter specifies the target layers to be drawn.
image GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> This parameter specifies the “background” image of the returning image.
mapUnit GeographyUnit<!– ThinkGeo.MapSuite.PortableCore.GeographyUnit –> This parameter specifies the MapUnit used in the current map.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

Draw(IEnumerable<Layer>, Int32, Int32, GeographyUnit)

Draw a group of layers and return a new image with the specified width and height.

Return Value

Return Type Description
GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> The resulting image after drawing the target layers based on the specified width and height.

Parameters

Name Type Description
layers IEnumerable<Layer><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.PortableCore.Layer} –> This parameter specifies the target layers to be drawn.
width Int32<!– System.Int32 –> This parameter specifies the width of the returning image.
height Int32<!– System.Int32 –> This parameter specifies the height of the returning image.
mapUnit GeographyUnit<!– ThinkGeo.MapSuite.PortableCore.GeographyUnit –> This parameter specifies the MapUnit used in the current map.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

DrawAdornmentLayers(GeoImage, GeographyUnit)

Draw a group of AdornmentLayers on the specified “background” image.

Return Value

Return Type Description
GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> The resulting image after drawing the group of AdornmentLayers on the specified “background” image.

Parameters

Name Type Description
image GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> This parameter specifies the “background” image of the returning image.
mapUnit GeographyUnit<!– ThinkGeo.MapSuite.PortableCore.GeographyUnit –> This parameter specifies the MapUnit used in the current map.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

DrawAdornmentLayers(Int32, Int32, GeographyUnit)

Draw a group of AdornmentLayers and return a new image with the specified width and height.

Return Value

Return Type Description
GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> The resulting image after drawing the group of AdornmentLayers based on the specified width and height.

Parameters

Name Type Description
width Int32<!– System.Int32 –> This parameter specifies the width of the returning image.
height Int32<!– System.Int32 –> This parameter specifies the height of the returning image.
mapUnit GeographyUnit<!– ThinkGeo.MapSuite.PortableCore.GeographyUnit –> This parameter specifies the MapUnit used in the current map.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

DrawDynamicLayers(GeoImage, GeographyUnit)

Draw a group of dynamic layers on the specified “background” image.

Return Value

Return Type Description
GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> The resulting image after drawing the group of dynamic layers on the specified “background” image.

Parameters

Name Type Description
image GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> This parameter specifies the “background” image of the returning image.
mapUnit GeographyUnit<!– ThinkGeo.MapSuite.PortableCore.GeographyUnit –> This parameter specifies the MapUnit used in the current map.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

DrawDynamicLayers(Int32, Int32, GeographyUnit)

Draw a group of dynamic layers and return a new image with the specified width and height.

Return Value

Return Type Description
GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> The resulting image after drawing the group of dynamic layers based on the specified width and height.

Parameters

Name Type Description
width Int32<!– System.Int32 –> This parameter specifies the width of the returning image.
height Int32<!– System.Int32 –> This parameter specifies the height of the returning image.
mapUnit GeographyUnit<!– ThinkGeo.MapSuite.PortableCore.GeographyUnit –> This parameter specifies the MapUnit used in the current map.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

DrawStaticLayers(Int32, Int32, GeographyUnit)

Draw a group of static layers and return a new image with the specified width and height.

Return Value

Return Type Description
GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> The resulting image after drawing the group of static layers based on the specified width and height.

Parameters

Name Type Description
width Int32<!– System.Int32 –> This parameter specifies the width of the returning image.
height Int32<!– System.Int32 –> This parameter specifies the height of the returning image.
mapUnit GeographyUnit<!– ThinkGeo.MapSuite.PortableCore.GeographyUnit –> This parameter specifies the MapUnit used in the current map.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

DrawStaticLayers(GeoImage, GeographyUnit)

Draw a group of static layers on the specified “background” image.

Return Value

Return Type Description
GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> The resulting image after drawing the group of static layers on the specified “background” image.

Parameters

Name Type Description
image GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> This parameter specifies the “background” image of the returning image.
mapUnit GeographyUnit<!– ThinkGeo.MapSuite.PortableCore.GeographyUnit –> This parameter specifies the MapUnit used in the current map.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

FindDynamicFeatureLayer(String)

Find the feature layer by key (specified in the “name” parameter) within the collection of DynamicLayers.

Return Value

Return Type Description
FeatureLayer<!– ThinkGeo.MapSuite.PortableCore.FeatureLayer –> The corresponding FeatureLayer with the specified key in the MapControl.

Parameters

Name Type Description
name String<!– System.String –> The key to find the final result feature layer.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

FindDynamicRasterLayer(String)

Find the raster layer by key (specified in the “name” parameter) within the collection of DynamicLayers.

Return Value

Return Type Description
RasterLayer<!– ThinkGeo.MapSuite.PortableCore.RasterLayer –> The corresponding RasterLayer with the specified key in the MapControl.

Parameters

Name Type Description
name String<!– System.String –> The key to find the final result raster layer.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

FindStaticFeatureLayer(String)

Finds a feature layer by key (specified in the “name” parameter) within the collection of StaticLayers.

Return Value

Return Type Description
FeatureLayer<!– ThinkGeo.MapSuite.PortableCore.FeatureLayer –> The corresponding FeatureLayer with the specified key in the MapControl.

Parameters

Name Type Description
name String<!– System.String –> The key to find the final result feature layer.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

FindStaticRasterLayer(String)

Find the raster layer by key (specified in the “name” parameter) within the collection of StaticLayers.

Return Value

Return Type Description
RasterLayer<!– ThinkGeo.MapSuite.PortableCore.RasterLayer –> The corresponding RasterLayer with the passing specified in the MapControl.

Parameters

Name Type Description
name String<!– System.String –> The key to find the final result raster layer.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

GetBoundingBoxOfItems(IEnumerable<Feature>)

<!– static –> This API gets the BoundingBox of a group of Features.

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> The BoundingBox that contains all the features you passed in.

Parameters

Name Type Description
features IEnumerable<Feature><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.PortableCore.Feature} –> The target group of Features to get the BoundingBox for.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

GetBoundingBoxOfItems(IEnumerable<BaseShape>)

<!– static –> This API gets the BoundingBox of a group of BaseShapes.

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> The BoundingBox that contains all the shapes you passed in.

Parameters

Name Type Description
shapes IEnumerable<BaseShape><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.PortableCore.BaseShape} –> The target group of BaseShapes to get the BoundingBox for.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

GetCurrentScale(RectangleShape, Single, GeographyUnit)

<!– static –> This Static API is used to calculate the scale based on the specified worldExtent and its corresponding ScreenWidth and MapUnit.

Return Value

Return Type Description
Double<!– System.Double –>

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter specifies the worldExtent used to calculate the current scale.
screenWidth Single<!– System.Single –> This parameter specifies the screenWidth corresponding to the worldExtent.
mapUnit GeographyUnit<!– ThinkGeo.MapSuite.PortableCore.GeographyUnit –> This parameter specifies the unit for the extent, the result will be different if choose DecimalDegree as Unit and Meter as Unit.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

GetCurrentScale(Single, GeographyUnit)

Get the current Scale responding to the CurrentExtent.

Return Value

Return Type Description
Double<!– System.Double –> The calculated scale based on the CurrentExtent.

Parameters

Name Type Description
screenWidth Single<!– System.Single –> This parameter specifies the screen width responding to the CurrentExtent.
mapUnit GeographyUnit<!– ThinkGeo.MapSuite.PortableCore.GeographyUnit –> This parameter specifies the MapUnit used in the current map.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

GetDrawingExtent(Single, Single)

This method returns an adjusted extent based on the ratio of the screen width and height.

Remarks

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.

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This method returns an adjusted extent based on the ratio of the screen width and height.

Parameters

Name Type Description
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

GetDrawingExtent(RectangleShape, Single, Single)

<!– static –> This method returns an adjusted extent based on the ratio of the screen width and height.

Remarks

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.

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This method returns an adjusted extent based on the ratio of the screen width and height.

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the world extent you want to adjust for drawing.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetScreenDistanceBetweenTwoWorldPoints(Feature, Feature, Single, Single)

This method returns the number of pixels between two world points using the CurrentExtent as reference.

Return Value

Return Type Description
Single<!– System.Single –> This method returns the number of pixels between two world points.

Parameters

Name Type Description
worldPointFeature1 Feature<!– ThinkGeo.MapSuite.PortableCore.Feature –> This parameter is the first pointFeture – the one you want to measure from.
worldPointFeature2 Feature<!– ThinkGeo.MapSuite.PortableCore.Feature –> This parameter is the second pointFeature – the one you want to measure to.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

GetScreenDistanceBetweenTwoWorldPoints(RectangleShape, PointShape, PointShape, Single, Single)

<!– static –> This method returns the number of pixels between two world points.

Return Value

Return Type Description
Single<!– System.Single –> This method returns the number of pixels between two world points.

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the world extent.
worldPoint1 PointShape<!– ThinkGeo.MapSuite.PortableCore.PointShape –> This parameter is the first point – the one you want to measure from.
worldPoint2 PointShape<!– ThinkGeo.MapSuite.PortableCore.PointShape –> This parameter is the second point – the one you want to measure to.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

GetScreenDistanceBetweenTwoWorldPoints(PointShape, PointShape, Single, Single)

This method returns the number of pixels between two world points using the CurrentExtent as reference.

Return Value

Return Type Description
Single<!– System.Single –> This method returns the number of pixels between two world points.

Parameters

Name Type Description
worldPoint1 PointShape<!– ThinkGeo.MapSuite.PortableCore.PointShape –> This parameter is the first point – the one you want to measure from.
worldPoint2 PointShape<!– ThinkGeo.MapSuite.PortableCore.PointShape –> This parameter is the second point – the one you want to measure to.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

GetScreenDistanceBetweenTwoWorldPoints(RectangleShape, Feature, Feature, Single, Single)

<!– static –> This method returns the number of pixels between two world points.

Return Value

Return Type Description
Single<!– System.Single –> This method returns the number of pixels between two world points.

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the world extent.
worldPointFeature1 Feature<!– ThinkGeo.MapSuite.PortableCore.Feature –> This parameter is the first point Feature – the one you want to measure from.
worldPointFeature2 Feature<!– ThinkGeo.MapSuite.PortableCore.Feature –> This parameter is the second point Feature – the one you want to measure to.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetVersion()

<!– static –> Get the current MapSuiteCore.dll file version.

Return Value

Return Type Description
String<!– System.String –> A string representing the file version of MapSuiteCore.dll.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

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.

Overloads

This overload allows you to pass in ScreenPointF as the points.

Return Value

Return Type Description
Double<!– System.Double –> This method returns the distance in world units between two screen points.

Parameters

Name Type Description
screenPoint1 ScreenPointF<!– ThinkGeo.MapSuite.PortableCore.ScreenPointF –> This is the screen point you want to measure from.
screenPoint2 ScreenPointF<!– ThinkGeo.MapSuite.PortableCore.ScreenPointF –> This is the screen point you want to measure to.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.
mapUnit GeographyUnit<!– ThinkGeo.MapSuite.PortableCore.GeographyUnit –> This parameter specifies the MapUnit used in the current map.
distanceUnit DistanceUnit<!– ThinkGeo.MapSuite.PortableCore.DistanceUnit –> This is the geographic unit you want the result to show in.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

GetWorldDistanceBetweenTwoScreenPoints(RectangleShape, Single, Single, Single, Single, Single, Single, GeographyUnit, DistanceUnit)

<!– static –> This method returns the distance in wold units between two screen points.

Overloads

This overload allows you to pass in the X & Y for each point.

Return Value

Return Type Description
Double<!– System.Double –>

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the world extent.
screenPoint1X Single<!– System.Single –> This parameter is the X of the point you want to measure from.
screenPoint1Y Single<!– System.Single –> This parameter is the Y of the point you want to measure from.
screenPoint2X Single<!– System.Single –> This parameter is the X of the point you want to measure to.
screenPoint2Y Single<!– System.Single –> This parameter is the Y of the point you want to measure to.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.
worldExtentUnit GeographyUnit<!– ThinkGeo.MapSuite.PortableCore.GeographyUnit –> This is the geographic unit of the world extent you passed in.
distanceUnit DistanceUnit<!– ThinkGeo.MapSuite.PortableCore.DistanceUnit –> This is the geographic unit you want the result to show in.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

GetWorldDistanceBetweenTwoScreenPoints(RectangleShape, ScreenPointF, ScreenPointF, Single, Single, GeographyUnit, DistanceUnit)

<!– static –> This method returns the distance in world units between two screen points.

Overloads

This overload allows you to pass in ScreenPointF as the points.

Return Value

Return Type Description
Double<!– System.Double –> This method returns the distance in wold units between two screen points.

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the world extent.
screenPoint1 ScreenPointF<!– ThinkGeo.MapSuite.PortableCore.ScreenPointF –> This is the screen point you want to measure from.
screenPoint2 ScreenPointF<!– ThinkGeo.MapSuite.PortableCore.ScreenPointF –> This is the screen point you want to measure to.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.
worldExtentUnit GeographyUnit<!– ThinkGeo.MapSuite.PortableCore.GeographyUnit –> This is the geographic unit of the world extent rectangle.
distanceUnit DistanceUnit<!– ThinkGeo.MapSuite.PortableCore.DistanceUnit –> This is the geographic unit you want the result to show in.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

OpenAllLayers()

This API allows you to open all of the layers (either static or dynamic).

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

Pan(Single, Int32)

This method updates the CurrentExtent by using a panning operation.

Overloads

This overload allows you to pass in an angle and a percentage by which you want to pan and update the CurrentExtent.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
degree Single<!– System.Single –> This parameter is the angle in degrees in which you want to pan.
percentage Int32<!– System.Int32 –> This parameter is the percentage by which you want to pan.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

Pan(RectangleShape, Single, Int32)

<!– static –> This method returns a panned extent.

Overloads

This overload allows you to pass in an angle and a percentage by which you want to pan.

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This method returns a panned extent.

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the world extent you want to pan.
degree Single<!– System.Single –> This parameter is the angle in degrees in which you want to pan.
percentage Int32<!– System.Int32 –> This parameter is the percentage by which you want to pan.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

Pan(RectangleShape, PanDirection, Int32)

<!– static –> This method returns a panned extent.

Overloads

This overload allows you to pass in a direction and a percentage by which you want to pan.

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This method returns a panned extent.

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the world extent you want to pan.
direction PanDirection<!– ThinkGeo.MapSuite.PortableCore.PanDirection –> This parameter is the direction you want to pan.
percentage Int32<!– System.Int32 –> This parameter is the percentage by which you want to pan.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

Pan(PanDirection, Int32)

Update the CurrentExtent by using a panning operation.

Overloads

This overload allows you to pass in a direction and a percentage by which you want to pan.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
panDirection PanDirection<!– ThinkGeo.MapSuite.PortableCore.PanDirection –> This parameter is the direction you want to pan.
percentage Int32<!– System.Int32 –> This parameter is the percentage by which you want to pan.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

SnapToZoomLevel(GeographyUnit, Single, Single, ZoomLevelSet)

This method updates the CurrentExtent by snapping to a zoom level in the provided zoom level set.

Return Value

Return Type Description
Void<!– System.Void –> This method updates the CurrentExtent by snapping to a zoom level in the provided zoom level set.

Parameters

Name Type Description
worldExtentUnit GeographyUnit<!– ThinkGeo.MapSuite.PortableCore.GeographyUnit –> This parameter is the geographic unit of the CurrentExtent.
screenWidth Single<!– System.Single –> This parameter is the screen width.
screenHeight Single<!– System.Single –> This parameter is the screen height.
zoomLevelSet ZoomLevelSet<!– ThinkGeo.MapSuite.PortableCore.ZoomLevelSet –> This parameter is the set of zoom levels you want to snap to.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

SnapToZoomLevel(RectangleShape, GeographyUnit, Single, Single, ZoomLevelSet)

<!– static –> This method returns an extent that is snapped to a zoom level in the provided zoom level set.

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This method returns an extent that is snapped to a zoom level in the provided zoom level set.

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the world extent you want snapped.
worldExtentUnit GeographyUnit<!– ThinkGeo.MapSuite.PortableCore.GeographyUnit –> This parameter is the geographic unit of the world extent parameter.
screenWidth Single<!– System.Single –> This parameter is the screen width.
screenHeight Single<!– System.Single –> This parameter is the screen height.
zoomLevelSet ZoomLevelSet<!– ThinkGeo.MapSuite.PortableCore.ZoomLevelSet –> This parameter is the set of zoom levels you want to snap to.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ToScreenCoordinate(PointShape, Single, Single)

This method returns screen coordinates from the specified world coordinates, based on the CurrentExtent.

Return Value

Return Type Description
ScreenPointF<!– ThinkGeo.MapSuite.PortableCore.ScreenPointF –> This method returns screen coordinates from the specified world coordinates, based on the CurrentExtent.

Parameters

Name Type Description
worldPoint PointShape<!– ThinkGeo.MapSuite.PortableCore.PointShape –> This parameter is the world point you want converted to a screen point.
screenWidth Single<!– System.Single –> This parameter is the width of the screen for the CurrentExtent.
screenHeight Single<!– System.Single –> This parameter is the height of the screen for the CurrentExtent.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ToScreenCoordinate(Feature, Single, Single)

This method returns screen coordinates from the specified world coordinate pointFeature, based on the CurrentExtent.

Return Value

Return Type Description
ScreenPointF<!– ThinkGeo.MapSuite.PortableCore.ScreenPointF –> This method returns screen coordinates from the specified world coordinate pointFeature, based on the CurrentExtent.

Parameters

Name Type Description
worldPointFeature Feature<!– ThinkGeo.MapSuite.PortableCore.Feature –> This parameter is the world coordinate pointFeature you want converted to a screen point.
screenWidth Single<!– System.Single –> This parameter is the width of the screen for the CurrentExtent.
screenHeight Single<!– System.Single –> This parameter is the height of the screen for the CurrentExtent.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ToScreenCoordinate(Double, Double, Single, Single)

This method returns screen coordinates from the specified world coordinates, based on the CurrentExtent.

Return Value

Return Type Description
ScreenPointF<!– ThinkGeo.MapSuite.PortableCore.ScreenPointF –> This method returns screen coordinates from the specified world coordinates, based on the CurrentExtent.

Parameters

Name Type Description
worldX Double<!– System.Double –> This parameter is the world point X you want converted to a screen point.
worldY Double<!– System.Double –> This parameter is the world point Y you want converted to a screen point.
screenWidth Single<!– System.Single –> This parameter is the width of the screen for the CurrentExtent.
screenHeight Single<!– System.Single –> This parameter is the height of the screen for the CurrentExtent.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ToScreenCoordinate(RectangleShape, Double, Double, Single, Single)

<!– static –> This method returns screen coordinates from world coordinates.

Overloads

This overload allows you to pass in world X & Y coordinates.

Return Value

Return Type Description
ScreenPointF<!– ThinkGeo.MapSuite.PortableCore.ScreenPointF –> This method returns screen coordinates from world coordinates.

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the world extent.
worldX Double<!– System.Double –> This parameter is the world X you want converted to screen points.
worldY Double<!– System.Double –> This parameter is the world Y you want converted to screen points.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ToScreenCoordinate(RectangleShape, PointShape, Single, Single)

<!– static –> This method returns screen coordinates from world coordinates.

Return Value

Return Type Description
ScreenPointF<!– ThinkGeo.MapSuite.PortableCore.ScreenPointF –> This method returns screen coordinates from world coordinates.

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the world extent.
worldPoint PointShape<!– ThinkGeo.MapSuite.PortableCore.PointShape –> This parameter is the world point you want converted to a screen point.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ToScreenCoordinate(RectangleShape, Feature, Single, Single)

<!– static –> This method returns screen coordinates from world coordinates.

Return Value

Return Type Description
ScreenPointF<!– ThinkGeo.MapSuite.PortableCore.ScreenPointF –> This method returns screen coordinates from world coordinates.

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the world extent.
worldPointFeature Feature<!– ThinkGeo.MapSuite.PortableCore.Feature –> This parameter is the world point feature you want converted to a screen point.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

ToWorldCoordinate(Single, Single, Single, Single)

This method returns world coordinates from screen coordinates, based on the CurrentExtent.

Return Value

Return Type Description
PointShape<!– ThinkGeo.MapSuite.PortableCore.PointShape –> This method returns world coordinates from screen coordinates, based on the CurrentExtent.

Parameters

Name Type Description
screenX Single<!– System.Single –> This parameter is the X of the point you want converted to world coordinates.
screenY Single<!– System.Single –> This parameter is the Y of the point you want converted to world coordinates.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ToWorldCoordinate(RectangleShape, Single, Single, Single, Single)

<!– static –> This method returns world coordinates from screen coordinates.

Return Value

Return Type Description
PointShape<!– ThinkGeo.MapSuite.PortableCore.PointShape –> This method returns world coordinates from screen coordinates.

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the world extent.
screenX Single<!– System.Single –> This parameter is the X coordinate of the point you want converted to world coordinates.
screenY Single<!– System.Single –> This parameter is the Y coordinate of the point you want converted to world coordinates.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ToWorldCoordinate(RectangleShape, ScreenPointF, Single, Single)

<!– static –> This method returns world coordinates from screen coordinates.

Return Value

Return Type Description
PointShape<!– ThinkGeo.MapSuite.PortableCore.PointShape –> This method returns world coordinates from screen coordinates.

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the world extent.
screenPoint ScreenPointF<!– ThinkGeo.MapSuite.PortableCore.ScreenPointF –> This parameter is the screen point you want converted to a world point.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ToWorldCoordinate(ScreenPointF, Single, Single)

This method returns world coordinates from screen coordinates, based on the CurrentExtent.

Return Value

Return Type Description
PointShape<!– ThinkGeo.MapSuite.PortableCore.PointShape –> This method returns world coordinates from screen coordinates, based on the CurrentExtent.

Parameters

Name Type Description
screenPoint ScreenPointF<!– ThinkGeo.MapSuite.PortableCore.ScreenPointF –> This parameter is the point you want converted to world coordinates.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ZoomIn(Int32)

This method updates the CurrentExtent that is zoomed in by the percentage provided.

Return Value

Return Type Description
Void<!– System.Void –> This method updates the CurrentExtent that is zoomed in by the percentage provided.

Parameters

Name Type Description
percentage Int32<!– System.Int32 –> This parameter is the percentage by which you want to zoom in.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ZoomIn(RectangleShape, Int32)

<!– static –> This method returns a new extent that is zoomed in by the percentage provided.

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This method returns a new extent that is zoomed in by the percentage provided.

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the world extent you want to zoom.
percentage Int32<!– System.Int32 –> This parameter is the percentage by which you want to zoom in.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ZoomIntoCenter(Int32, Single, Single, Single, Single)

This method updates the CurrentExtent based on a calculated rectangle that is centered and zoomed in.

Overloads

This overload allows you to pass in the height and width in screen coordinates, as well as a screen X & Y.

Remarks

The CurrentExtent will be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
percentage Int32<!– System.Int32 –> This parameter is the percentage by which you want to zoom in.
screenX Single<!– System.Single –> This parameter is the screen X you want to center on.
screenY Single<!– System.Single –> This parameter is the screen Y you want to center on.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ZoomIntoCenter(RectangleShape, Int32, Single, Single, Single, Single)

<!– static –> This method returns an extent that is centered and zoomed in.

Overloads

This overload allows you to pass in the height and width in screen coordinates, as well as a screen X & Y.

Remarks

The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This method returns an extent that is centered and zoomed in.

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the world extent you want to center and zoom.
percentage Int32<!– System.Int32 –> This parameter is the percentage by which you want to zoom in.
screenX Single<!– System.Single –> This parameter is the screen X you want to center on.
screenY Single<!– System.Single –> This parameter is the screen Y you want to center on.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ZoomIntoCenter(Int32, PointShape, Single, Single)

This method will update the CurrentExtent by using the ZoomIntoCenter operation.

Overloads

This overload allows you to pass in the height and width in screen coordinates, as well as a world point.

Remarks

The CurrentExtent will be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
percentage Int32<!– System.Int32 –> This parameter is the percentage by which you want to zoom in.
worldPoint PointShape<!– ThinkGeo.MapSuite.PortableCore.PointShape –> This parameter is the world point you want the extent to be centered on.
screenWidth Single<!– System.Single –> This parameter is the width in screen coordinates.
screenHeight Single<!– System.Single –> This parameter is the height in screen coordinates.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ZoomIntoCenter(RectangleShape, Int32, Feature, Single, Single)

<!– static –> This method returns a new extent that is zoomed in by the percentage provided.

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This method returns a new extent that is zoomed in by the percentage provided.

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the world extent you want to zoom.
percentage Int32<!– System.Int32 –> This parameter is the percentage by which you want to zoom in.
centerFeature Feature<!– ThinkGeo.MapSuite.PortableCore.Feature –> This parameter is the world point feature you want the extent to be centered on.
screenWidth Single<!– System.Single –> This parameter is the width in screen coordinates.
screenHeight Single<!– System.Single –> This parameter is the height in screen coordinates.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ZoomIntoCenter(RectangleShape, Int32, PointShape, Single, Single)

<!– static –> This method returns an extent that is centered and zoomed in.

Overloads

This overload allows you to pass in the height and width in screen coordinates, as well as a world point.

Remarks

The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This method returns an extent that is centered and zoomed in.

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the world extent that you want centered and zoomed.
percentage Int32<!– System.Int32 –> This parameter is the percentage by which you want to zoom in.
worldPoint PointShape<!– ThinkGeo.MapSuite.PortableCore.PointShape –> This parameter is the world point you want the extent to be centered on.
screenWidth Single<!– System.Single –> This parameter is the width in screen coordinates.
screenHeight Single<!– System.Single –> This parameter is the height in screen coordinates.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ZoomIntoCenter(Int32, Feature, Single, Single)

This method returns an extent that is centered and zoomed in.

Overloads

This overload allows you to pass in the height and width in screen coordinates, as well as a world point.

Remarks

The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.

Return Value

Return Type Description
Void<!– System.Void –> This method returns an extent that is centered and zoomed in.

Parameters

Name Type Description
percentage Int32<!– System.Int32 –> This parameter is the percentage by which you want to zoom in.
centerFeature Feature<!– ThinkGeo.MapSuite.PortableCore.Feature –> This parameter is the world point you want the extent to be centered on.
screenWidth Single<!– System.Single –> This parameter is the width in screen coordinates.
screenHeight Single<!– System.Single –> This parameter is the height in screen coordinates.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ZoomOut(RectangleShape, Int32)

<!– static –> This method returns a new extent that is zoomed out by the percentage provided.

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This method returns a new extent that is zoomed out by the percentage provided.

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the world extent you want to zoom.
percentage Int32<!– System.Int32 –> This parameter is the percentage by which you want to zoom out.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ZoomOut(Int32)

This method will update the CurrentExtent by using the ZoomOut operation.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
percentage Int32<!– System.Int32 –> This parameter is the percentage by which you want to zoom.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ZoomOutToCenter(RectangleShape, Int32, PointShape, Single, Single)

<!– static –> This method returns an extent that is centered and zoomed out.

Overloads

This overload allows you to pass in the height and width in screen coordinates, as well as a world point.

Remarks

The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This method returns an extent that is centered and zoomed out.

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the world extent you want to center and zoom.
percentage Int32<!– System.Int32 –> This parameter is the percentage by which you want to zoom out.
worldPoint PointShape<!– ThinkGeo.MapSuite.PortableCore.PointShape –> This parameter is the world point you want the extent to be centered on.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ZoomOutToCenter(RectangleShape, Int32, Feature, Single, Single)

<!– static –> This method returns an extent that is centered and zoomed out.

Overloads

This overload allows you to pass in the height and width in screen coordinates, as well as a feature.

Remarks

The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This method returns an extent that is centered and zoomed out.

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the world extent you want to center and zoom.
percentage Int32<!– System.Int32 –> This parameter is the percentage by which you want to zoom out.
centerFeature Feature<!– ThinkGeo.MapSuite.PortableCore.Feature –> This parameter is the feature you want the extent to be centered on.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ZoomOutToCenter(Int32, PointShape, Single, Single)

This method updates the CurrentExtent by using the ZoomOutToCenter operation.

Overloads

This overload allows you to pass in the height and width in screen coordinates, as well as a world point.

Remarks

The CurrentExtent will be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
percentage Int32<!– System.Int32 –> This parameter is the percentage by which you want to zoom out.
worldPoint PointShape<!– ThinkGeo.MapSuite.PortableCore.PointShape –> This parameter is the world point you want the extent to be centered on.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ZoomOutToCenter(Int32, Feature, Single, Single)

This method updates the CurrentExtent by using the ZoomOutToCenter operation.

Overloads

This overload allows you to pass in the height and width in screen coordinates, as well as a world point.

Remarks

The CurrentExtent will be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
percentage Int32<!– System.Int32 –> This parameter is the percentage by which you want to zoom out.
centerFeature Feature<!– ThinkGeo.MapSuite.PortableCore.Feature –> This parameter is the world point Feature you want the extent to be centered on.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ZoomOutToCenter(Int32, Single, Single, Single, Single)

This method updates the CurrentExtent by using the ZoomOutToCenter operation.

Overloads

This overload allows you to pass in the height and width in screen coordinates, as well as a screenX and screenY.

Remarks

The CurrentExtent will be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
percentage Int32<!– System.Int32 –> This parameter is the percentage by which you want to zoom out.
screenX Single<!– System.Single –> This parameter is the screen X you want to center on.
screenY Single<!– System.Single –> This parameter is the screen Y you want to center on.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ZoomOutToCenter(RectangleShape, Int32, Single, Single, Single, Single)

<!– static –> This method returns an extent that is centered and zoomed out.

Overloads

This overload allows you to pass in the height and width in screen coordinates, as well as a screenX and screenY.

Remarks

The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This method returns an extent that is centered and zoomed out.

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the world extent you want to center and zoom.
percentage Int32<!– System.Int32 –> This parameter is the percentage by which you want to zoom out.
screenX Single<!– System.Single –> This parameter is the screen X you want to center on.
screenY Single<!– System.Single –> This parameter is the screen Y you want to center on.
screenWidth Single<!– System.Single –> This parameter is the width of the screen.
screenHeight Single<!– System.Single –> This parameter is the height of the screen.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ZoomToScale(Double, RectangleShape, GeographyUnit, Single, Single)

<!– static –> This method returns a extent that has been zoomed into a certain scale.

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This method returns a extent that has been zoomed into a certain scale.

Parameters

Name Type Description
targetScale Double<!– System.Double –> This parameter is the scale you want to zoom into.
worldExtent RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> This parameter is the world extent you want zoomed into the scale.
worldExtentUnit GeographyUnit<!– ThinkGeo.MapSuite.PortableCore.GeographyUnit –> This parameter is the geographic unit of the world extent parameter.
screenWidth Single<!– System.Single –> This parameter is the screen width.
screenHeight Single<!– System.Single –> This parameter is the screen height.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

ZoomToScale(Double, GeographyUnit, Single, Single)

This method updates the CurrentExtent by zooming to a certain scale.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
targetScale Double<!– System.Double –> This parameter is the scale you want to zoom into.
worldExtentUnit GeographyUnit<!– ThinkGeo.MapSuite.PortableCore.GeographyUnit –> This parameter is the geographic unit of the CurrentExtent.
screenWidth Single<!– System.Single –> This parameter is the screen width.
screenHeight Single<!– System.Single –> This parameter is the screen height.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

Protected Methods

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

OnAdornmentLayerDrawing(AdornmentLayerDrawingEventArgs)

This event is raised before an AdornmentLayer is drawn.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e AdornmentLayerDrawingEventArgs<!– ThinkGeo.MapSuite.PortableCore.AdornmentLayerDrawingEventArgs –> The AdornmentLayerDrawingEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

OnAdornmentLayerDrawn(AdornmentLayerDrawnEventArgs)

This event is raised after an AdornmentLayer is drawn.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e AdornmentLayerDrawnEventArgs<!– ThinkGeo.MapSuite.PortableCore.AdornmentLayerDrawnEventArgs –> The AdornmentLayerDrawnEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

OnAdornmentLayersDrawing(AdornmentLayersDrawingEventArgs)

This event is raised before AdornmentLayers are drawn.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e AdornmentLayersDrawingEventArgs<!– ThinkGeo.MapSuite.PortableCore.AdornmentLayersDrawingEventArgs –> The AdornmentLayersDrawingEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

OnAdornmentLayersDrawn(AdornmentLayersDrawnEventArgs)

This event is raised after AdornmentLayers are drawn.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e AdornmentLayersDrawnEventArgs<!– ThinkGeo.MapSuite.PortableCore.AdornmentLayersDrawnEventArgs –> The AdornmentLayersDrawnEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

OnLayerDrawing(LayerDrawingEventArgs)

This event is raised before a Layer is drawn.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e LayerDrawingEventArgs<!– ThinkGeo.MapSuite.PortableCore.LayerDrawingEventArgs –> The LayerDrawingEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

OnLayerDrawn(LayerDrawnEventArgs)

This event is raised after a Layer is drawn.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e LayerDrawnEventArgs<!– ThinkGeo.MapSuite.PortableCore.LayerDrawnEventArgs –> The LayerDrawnEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

OnLayersDrawing(LayersDrawingEventArgs)

This event is raised before Layers are drawn.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e LayersDrawingEventArgs<!– ThinkGeo.MapSuite.PortableCore.LayersDrawingEventArgs –> The LayersDrawingEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

OnLayersDrawn(LayersDrawnEventArgs)

This event is raised after Layers are drawn.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e LayersDrawnEventArgs<!– ThinkGeo.MapSuite.PortableCore.LayersDrawnEventArgs –> The LayersDrawnEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

Public Properties

AdornmentLayers

This property holds a collection of AdornmentLayers to be drawn on the MapEngine.

Remarks

This collection of Layers <strong>StaticLayers</strong> will be drawn when calling the <strong>DrawAdornmentLayers</strong> API.

Return Value

Return Type
GeoCollection<AdornmentLayer><!– ThinkGeo.MapSuite.PortableCore.GeoCollection{ThinkGeo.MapSuite.PortableCore.AdornmentLayer} –>

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

BackgroundFillBrush

Gets or sets the GeoBrush for the background of the MapEngine.

Return Value

Return Type
GeoBrush<!– ThinkGeo.MapSuite.PortableCore.GeoBrush –>

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

Canvas

Gets and sets the GeoCanvas used to draw the Layers.

Return Value

Return Type
GeoCanvas<!– ThinkGeo.MapSuite.PortableCore.GeoCanvas –>

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

CurrentExtent

This property gets or sets the current extent of the MapEngine.

Remarks

The current extent is the rectangle that is currently being shown on the MapEngine.

Return Value

Return Type
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –>

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

DynamicLayers

This property holds a group of Layers to be drawn on the MapEngine.

Remarks

This collection of Layers <strong>StaticLayers</strong> will be drawn when calling the <strong>DrawDynamicLayers</strong> API.

Return Value

Return Type
GeoCollection<Layer><!– ThinkGeo.MapSuite.PortableCore.GeoCollection{ThinkGeo.MapSuite.PortableCore.Layer} –>

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

This property specifies whether the logo is shown on the Map or not.

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

StaticLayers

This property holds a group of Layers to be drawn on the MapEngine.

Remarks

This collection of Layers <strong>StaticLayers</strong> will be drawn when calling the <strong>DrawStaticLayers</strong> API.

Return Value

Return Type
GeoCollection<Layer><!– ThinkGeo.MapSuite.PortableCore.GeoCollection{ThinkGeo.MapSuite.PortableCore.Layer} –>

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

Protected Properties

Public Events

AdornmentLayerDrawing

This event is raised before an AdornmentLayer is drawn.

Event Arguments

Event Arguments
AdornmentLayerDrawingEventArgs<!– ThinkGeo.MapSuite.PortableCore.AdornmentLayerDrawingEventArgs –>

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

AdornmentLayerDrawn

This event is raised after an AdornmentLayer is drawn.

Event Arguments

Event Arguments
AdornmentLayerDrawnEventArgs<!– ThinkGeo.MapSuite.PortableCore.AdornmentLayerDrawnEventArgs –>

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

AdornmentLayersDrawing

This event is raised before AdornmentLayers are drawn.

Event Arguments

Event Arguments
AdornmentLayersDrawingEventArgs<!– ThinkGeo.MapSuite.PortableCore.AdornmentLayersDrawingEventArgs –>

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

AdornmentLayersDrawn

This event is raised after AdornmentLayers are drawn.

Event Arguments

Event Arguments
AdornmentLayersDrawnEventArgs<!– ThinkGeo.MapSuite.PortableCore.AdornmentLayersDrawnEventArgs –>

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

LayerDrawing

This event is raised before a Layer is drawn.

Event Arguments

Event Arguments
LayerDrawingEventArgs<!– ThinkGeo.MapSuite.PortableCore.LayerDrawingEventArgs –>

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

LayerDrawn

This event is raised after a Layer is drawn.

Event Arguments

Event Arguments
LayerDrawnEventArgs<!– ThinkGeo.MapSuite.PortableCore.LayerDrawnEventArgs –>

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

LayersDrawing

This event is raised before Layers are drawn.

Event Arguments

Event Arguments
LayersDrawingEventArgs<!– ThinkGeo.MapSuite.PortableCore.LayersDrawingEventArgs –>

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

LayersDrawn

This event is raised after Layers are drawn.

Event Arguments

Event Arguments
LayersDrawnEventArgs<!– ThinkGeo.MapSuite.PortableCore.LayersDrawnEventArgs –>

<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back

NOTOC MapSuitePortableCore ThinkGeo.MapSuite.PortableCore UpdateDocumentation

thinkgeo.mapsuite.portablecore.mapengine.1440040132.txt.gz · Last modified: 2015/09/21 08:13 (external edit)