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
This is an old revision of the document!
<!– Class –> This class is for generating maps.
The MapEngine class is similar to a Map Control in Map Suite Desktop Edition or Web Edition.
*System.Object **ThinkGeo.MapSuite.PortableCore.MapEngine
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Create a new instance of the MapEngine. |
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | 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. | |
![]() | 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. | |
![]() ![]() | 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. | |
![]() ![]() | 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. | |
![]() | 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. | |
![]() ![]() | 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. | |
![]() | This API allows you close all of the layers (either static or dynamic). | ||
![]() | IEnumerable<Layer>, GeoImage, GeographyUnit | Draw a group of layers on the specified “background” image. | |
![]() | IEnumerable<Layer>, Int32, Int32, GeographyUnit | Draw a group of layers and return a new image with the specified width and height. | |
![]() | GeoImage, GeographyUnit | Draw a group of AdornmentLayers on the specified “background” image. | |
![]() | Int32, Int32, GeographyUnit | Draw a group of AdornmentLayers and return a new image with the specified width and height. | |
![]() | GeoImage, GeographyUnit | Draw a group of dynamic layers on the specified “background” image. | |
![]() | Int32, Int32, GeographyUnit | Draw a group of dynamic layers and return a new image with the specified width and height. | |
![]() | Int32, Int32, GeographyUnit | Draw a group of static layers and return a new image with the specified width and height. | |
![]() | GeoImage, GeographyUnit | Draw a group of static layers on the specified “background” image. | |
![]() | Object | Object | |
![]() | String | Find the feature layer by key (specified in the “name” parameter) within the collection of DynamicLayers. | |
![]() | String | Find the raster layer by key (specified in the “name” parameter) within the collection of DynamicLayers. | |
![]() | String | Finds a feature layer by key (specified in the “name” parameter) within the collection of StaticLayers. | |
![]() | String | Find the raster layer by key (specified in the “name” parameter) within the collection of StaticLayers. | |
![]() ![]() | IEnumerable<Feature> | This API gets the BoundingBox of a group of Features. | |
![]() ![]() | IEnumerable<BaseShape> | This API gets the BoundingBox of a group of BaseShapes. | |
![]() ![]() | RectangleShape, Single, GeographyUnit | This Static API is used to calculate the scale based on the specified worldExtent and its corresponding ScreenWidth and MapUnit. | |
![]() | Single, GeographyUnit | Get the current Scale responding to the CurrentExtent. | |
![]() | Single, Single | This method returns an adjusted extent based on the ratio of the screen width and height. | |
![]() ![]() | RectangleShape, Single, Single | This method returns an adjusted extent based on the ratio of the screen width and height. | |
![]() | Object | ||
![]() | Feature, Feature, Single, Single | This method returns the number of pixels between two world points using the CurrentExtent as reference. | |
![]() ![]() | RectangleShape, PointShape, PointShape, Single, Single | This method returns the number of pixels between two world points. | |
![]() | PointShape, PointShape, Single, Single | This method returns the number of pixels between two world points using the CurrentExtent as reference. | |
![]() ![]() | RectangleShape, Feature, Feature, Single, Single | This method returns the number of pixels between two world points. | |
![]() | Object | ||
![]() ![]() | Get the current MapSuiteCore.dll file version. | ||
![]() | 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. | |
![]() ![]() | RectangleShape, Single, Single, Single, Single, Single, Single, GeographyUnit, DistanceUnit | This method returns the distance in wold units between two screen points. | |
![]() ![]() | RectangleShape, ScreenPointF, ScreenPointF, Single, Single, GeographyUnit, DistanceUnit | This method returns the distance in world units between two screen points. | |
![]() | This API allows you to open all of the layers (either static or dynamic). | ||
![]() | Single, Int32 | This method updates the CurrentExtent by using a panning operation. | |
![]() ![]() | RectangleShape, Single, Int32 | This method returns a panned extent. | |
![]() ![]() | RectangleShape, PanDirection, Int32 | This method returns a panned extent. | |
![]() | PanDirection, Int32 | Update the CurrentExtent by using a panning operation. | |
![]() | GeographyUnit, Single, Single, ZoomLevelSet | This method updates the CurrentExtent by snapping to a zoom level in the provided zoom level set. | |
![]() ![]() | RectangleShape, GeographyUnit, Single, Single, ZoomLevelSet | This method returns an extent that is snapped to a zoom level in the provided zoom level set. | |
![]() | PointShape, Single, Single | This method returns screen coordinates from the specified world coordinates, based on the CurrentExtent. | |
![]() | Feature, Single, Single | This method returns screen coordinates from the specified world coordinate pointFeature, based on the CurrentExtent. | |
![]() | Double, Double, Single, Single | This method returns screen coordinates from the specified world coordinates, based on the CurrentExtent. | |
![]() ![]() | RectangleShape, Double, Double, Single, Single | This method returns screen coordinates from world coordinates. | |
![]() ![]() | RectangleShape, PointShape, Single, Single | This method returns screen coordinates from world coordinates. | |
![]() ![]() | RectangleShape, Feature, Single, Single | This method returns screen coordinates from world coordinates. | |
![]() | Object | ||
![]() | Single, Single, Single, Single | This method returns world coordinates from screen coordinates, based on the CurrentExtent. | |
![]() ![]() | RectangleShape, Single, Single, Single, Single | This method returns world coordinates from screen coordinates. | |
![]() ![]() | RectangleShape, ScreenPointF, Single, Single | This method returns world coordinates from screen coordinates. | |
![]() | ScreenPointF, Single, Single | This method returns world coordinates from screen coordinates, based on the CurrentExtent. | |
![]() | Int32 | This method updates the CurrentExtent that is zoomed in by the percentage provided. | |
![]() ![]() | RectangleShape, Int32 | This method returns a new extent that is zoomed in by the percentage provided. | |
![]() | Int32, Single, Single, Single, Single | This method updates the CurrentExtent based on a calculated rectangle that is centered and zoomed in. | |
![]() ![]() | RectangleShape, Int32, Single, Single, Single, Single | This method returns an extent that is centered and zoomed in. | |
![]() | Int32, PointShape, Single, Single | This method will update the CurrentExtent by using the ZoomIntoCenter operation. | |
![]() ![]() | RectangleShape, Int32, Feature, Single, Single | This method returns a new extent that is zoomed in by the percentage provided. | |
![]() ![]() | RectangleShape, Int32, PointShape, Single, Single | This method returns an extent that is centered and zoomed in. | |
![]() | Int32, Feature, Single, Single | This method returns an extent that is centered and zoomed in. | |
![]() ![]() | RectangleShape, Int32 | This method returns a new extent that is zoomed out by the percentage provided. | |
![]() | Int32 | This method will update the CurrentExtent by using the ZoomOut operation. | |
![]() ![]() | RectangleShape, Int32, PointShape, Single, Single | This method returns an extent that is centered and zoomed out. | |
![]() ![]() | RectangleShape, Int32, Feature, Single, Single | This method returns an extent that is centered and zoomed out. | |
![]() | Int32, PointShape, Single, Single | This method updates the CurrentExtent by using the ZoomOutToCenter operation. | |
![]() | Int32, Feature, Single, Single | This method updates the CurrentExtent by using the ZoomOutToCenter operation. | |
![]() | Int32, Single, Single, Single, Single | This method updates the CurrentExtent by using the ZoomOutToCenter operation. | |
![]() ![]() | RectangleShape, Int32, Single, Single, Single, Single | This method returns an extent that is centered and zoomed out. | |
![]() ![]() | Double, RectangleShape, GeographyUnit, Single, Single | This method returns a extent that has been zoomed into a certain scale. | |
![]() | Double, GeographyUnit, Single, Single | This method updates the CurrentExtent by zooming to a certain scale. |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Object | ||
![]() | Object | ||
![]() | AdornmentLayerDrawingEventArgs | This event is raised before an AdornmentLayer is drawn. | |
![]() | AdornmentLayerDrawnEventArgs | This event is raised after an AdornmentLayer is drawn. | |
![]() | AdornmentLayersDrawingEventArgs | This event is raised before AdornmentLayers are drawn. | |
![]() | AdornmentLayersDrawnEventArgs | This event is raised after AdornmentLayers are drawn. | |
![]() | LayerDrawingEventArgs | This event is raised before a Layer is drawn. | |
![]() | LayerDrawnEventArgs | This event is raised after a Layer is drawn. | |
![]() | LayersDrawingEventArgs | This event is raised before Layers are drawn. | |
![]() | LayersDrawnEventArgs | This event is raised after Layers are drawn. |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | GeoCollection<AdornmentLayer> | This property holds a collection of AdornmentLayers to be drawn on the MapEngine. | |
![]() | GeoBrush | Gets or sets the GeoBrush for the background of the MapEngine. | |
![]() | GeoCanvas | Gets and sets the GeoCanvas used to draw the Layers. | |
![]() | RectangleShape | This property gets or sets the current extent of the MapEngine. | |
![]() | GeoCollection<Layer> | This property holds a group of Layers to be drawn on the MapEngine. | |
![]() | Boolean | This property specifies whether the logo is shown on the Map or not. | |
![]() | GeoCollection<Layer> | This property holds a group of Layers to be drawn on the MapEngine. |
Name | Return | DeclaringType | Summary |
---|
Name | Event Arguments | DeclaringType | Summary |
---|---|---|---|
![]() | AdornmentLayerDrawingEventArgs | This event is raised before an AdornmentLayer is drawn. | |
![]() | AdornmentLayerDrawnEventArgs | This event is raised after an AdornmentLayer is drawn. | |
![]() | AdornmentLayersDrawingEventArgs | This event is raised before AdornmentLayers are drawn. | |
![]() | AdornmentLayersDrawnEventArgs | This event is raised after AdornmentLayers are drawn. | |
![]() | LayerDrawingEventArgs | This event is raised before a Layer is drawn. | |
![]() | LayerDrawnEventArgs | This event is raised after a Layer is drawn. | |
![]() | LayersDrawingEventArgs | This event is raised before Layers are drawn. | |
![]() | LayersDrawnEventArgs | This event is raised after Layers are drawn. |
Create a new instance of the MapEngine.
Name | Type | Description |
---|
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 <strong>CurrentExtent</strong>.
Return Type | Description |
---|---|
Void<!– System.Void –> |
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
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 <strong>CurrentExtent</strong>.
Return Type | Description |
---|---|
Void<!– System.Void –> |
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
<!– 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.
This overload allows you to pass in a world point as the center.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | This method returns an adjusted extent centered on a point. |
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
<!– 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.
This overload allows you to pass in a screen point as the center.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | This method returns an adjusted extent centered on a point. |
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
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 overload allows you to pass in a screen point as the center.
This API will update the <strong>CurrentExtent</strong>.
Return Type | Description |
---|---|
Void<!– System.Void –> |
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
<!– 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.
This overload allows you to pass in a world point as the center.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | This method returns an adjusted extent centered on a point. |
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
This API allows you close all of the layers (either static or dynamic).
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
Draw a group of layers on the specified “background” image.
Return Type | Description |
---|---|
GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> | The resulting image after drawing the target layers on the specified “background” image. |
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 a group of layers and return a new image with the specified width and height.
Return Type | Description |
---|---|
GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> | The resulting image after drawing the target layers based on the specified width and height. |
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
Draw a group of AdornmentLayers on the specified “background” image.
Return Type | Description |
---|---|
GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> | The resulting image after drawing the group of AdornmentLayers on the specified “background” image. |
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
Draw a group of AdornmentLayers and return a new image with the specified width and height.
Return Type | Description |
---|---|
GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> | The resulting image after drawing the group of AdornmentLayers based on the specified width and height. |
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
Draw a group of dynamic layers on the specified “background” image.
Return Type | Description |
---|---|
GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> | The resulting image after drawing the group of dynamic layers on the specified “background” image. |
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
Draw a group of dynamic layers and return a new image with the specified width and height.
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. |
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
Draw a group of static layers and return a new image with the specified width and height.
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. |
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
Draw a group of static layers on the specified “background” image.
Return Type | Description |
---|---|
GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> | The resulting image after drawing the group of static layers on the specified “background” image. |
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
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
Find the feature layer by key (specified in the “name” parameter) within the collection of DynamicLayers.
Return Type | Description |
---|---|
FeatureLayer<!– ThinkGeo.MapSuite.PortableCore.FeatureLayer –> | The corresponding FeatureLayer with the specified key in the MapControl. |
Name | Type | Description |
---|---|---|
name | String<!– System.String –> | The key to find the final result feature layer. |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
Find the raster layer by key (specified in the “name” parameter) within the collection of DynamicLayers.
Return Type | Description |
---|---|
RasterLayer<!– ThinkGeo.MapSuite.PortableCore.RasterLayer –> | The corresponding RasterLayer with the specified key in the MapControl. |
Name | Type | Description |
---|---|---|
name | String<!– System.String –> | The key to find the final result raster layer. |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
Finds a feature layer by key (specified in the “name” parameter) within the collection of StaticLayers.
Return Type | Description |
---|---|
FeatureLayer<!– ThinkGeo.MapSuite.PortableCore.FeatureLayer –> | The corresponding FeatureLayer with the specified key in the MapControl. |
Name | Type | Description |
---|---|---|
name | String<!– System.String –> | The key to find the final result feature layer. |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
Find the raster layer by key (specified in the “name” parameter) within the collection of StaticLayers.
Return Type | Description |
---|---|
RasterLayer<!– ThinkGeo.MapSuite.PortableCore.RasterLayer –> | The corresponding RasterLayer with the passing specified in the MapControl. |
Name | Type | Description |
---|---|---|
name | String<!– System.String –> | The key to find the final result raster layer. |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
<!– static –> This API gets the BoundingBox of a group of Features.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | The BoundingBox that contains all the features you passed in. |
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
<!– static –> This API gets the BoundingBox of a group of BaseShapes.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | The BoundingBox that contains all the shapes you passed in. |
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
<!– static –> This Static API is used to calculate the scale based on the specified worldExtent and its corresponding ScreenWidth and MapUnit.
Return Type | Description |
---|---|
Double<!– System.Double –> |
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
Get the current Scale responding to the CurrentExtent.
Return Type | Description |
---|---|
Double<!– System.Double –> | The calculated scale based on the CurrentExtent. |
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
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.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | This method returns an adjusted extent based on the ratio of the screen width and height. |
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
<!– static –> 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.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | This method returns an adjusted extent based on the ratio of the screen width and height. |
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
Return Type | Description |
---|---|
Int32<!– System.Int32 –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method returns the number of pixels between two world points using the CurrentExtent as reference.
Return Type | Description |
---|---|
Single<!– System.Single –> | This method returns the number of pixels between two world points. |
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
<!– static –> This method returns the number of pixels between two world points.
Return Type | Description |
---|---|
Single<!– System.Single –> | This method returns the number of pixels between two world points. |
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
This method returns the number of pixels between two world points using the CurrentExtent as reference.
Return Type | Description |
---|---|
Single<!– System.Single –> | This method returns the number of pixels between two world points. |
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
<!– static –> This method returns the number of pixels between two world points.
Return Type | Description |
---|---|
Single<!– System.Single –> | This method returns the number of pixels between two world points. |
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
Return Type | Description |
---|---|
Type<!– System.Type –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
<!– static –> Get the current MapSuiteCore.dll file version.
Return Type | Description |
---|---|
String<!– System.String –> | A string representing the file version of MapSuiteCore.dll. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
This method returns the distance in world units between two screen points by using the CurrentExtent as a reference.
This overload allows you to pass in ScreenPointF as the points.
Return Type | Description |
---|---|
Double<!– System.Double –> | This method returns the distance in world units between two screen points. |
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
<!– static –> This method returns the distance in wold units between two screen points.
This overload allows you to pass in the X & Y for each point.
Return Type | Description |
---|---|
Double<!– System.Double –> |
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
<!– static –> This method returns the distance in world units between two screen points.
This overload allows you to pass in ScreenPointF as the points.
Return Type | Description |
---|---|
Double<!– System.Double –> | This method returns the distance in wold units between two screen points. |
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
This API allows you to open all of the layers (either static or dynamic).
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
This method updates the CurrentExtent by using a panning operation.
This overload allows you to pass in an angle and a percentage by which you want to pan and update the CurrentExtent.
Return Type | Description |
---|---|
Void<!– System.Void –> |
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
<!– static –> This method returns a panned extent.
This overload allows you to pass in an angle and a percentage by which you want to pan.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | This method returns a panned extent. |
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
<!– static –> This method returns a panned extent.
This overload allows you to pass in a direction and a percentage by which you want to pan.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | This method returns a panned extent. |
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
Update the CurrentExtent by using a panning operation.
This overload allows you to pass in a direction and a percentage by which you want to pan.
Return Type | Description |
---|---|
Void<!– System.Void –> |
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
This method updates the CurrentExtent by snapping to a zoom level in the provided zoom level set.
Return Type | Description |
---|---|
Void<!– System.Void –> | This method updates the CurrentExtent by snapping to a zoom level in the provided zoom level set. |
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
<!– static –> This method returns an extent that is snapped to a zoom level in the provided zoom level set.
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. |
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
This method returns screen coordinates from the specified world coordinates, based on the CurrentExtent.
Return Type | Description |
---|---|
ScreenPointF<!– ThinkGeo.MapSuite.PortableCore.ScreenPointF –> | This method returns screen coordinates from the specified world coordinates, based on the CurrentExtent. |
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
This method returns screen coordinates from the specified world coordinate pointFeature, based on the CurrentExtent.
Return Type | Description |
---|---|
ScreenPointF<!– ThinkGeo.MapSuite.PortableCore.ScreenPointF –> | This method returns screen coordinates from the specified world coordinate pointFeature, based on the CurrentExtent. |
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
This method returns screen coordinates from the specified world coordinates, based on the CurrentExtent.
Return Type | Description |
---|---|
ScreenPointF<!– ThinkGeo.MapSuite.PortableCore.ScreenPointF –> | This method returns screen coordinates from the specified world coordinates, based on the CurrentExtent. |
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
<!– static –> This method returns screen coordinates from world coordinates.
This overload allows you to pass in world X & Y coordinates.
Return Type | Description |
---|---|
ScreenPointF<!– ThinkGeo.MapSuite.PortableCore.ScreenPointF –> | This method returns screen coordinates from world coordinates. |
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
<!– static –> This method returns screen coordinates from world coordinates.
Return Type | Description |
---|---|
ScreenPointF<!– ThinkGeo.MapSuite.PortableCore.ScreenPointF –> | This method returns screen coordinates from world coordinates. |
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
<!– static –> This method returns screen coordinates from world coordinates.
Return Type | Description |
---|---|
ScreenPointF<!– ThinkGeo.MapSuite.PortableCore.ScreenPointF –> | This method returns screen coordinates from world coordinates. |
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
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method returns world coordinates from screen coordinates, based on the CurrentExtent.
Return Type | Description |
---|---|
PointShape<!– ThinkGeo.MapSuite.PortableCore.PointShape –> | This method returns world coordinates from screen coordinates, based on the CurrentExtent. |
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
<!– static –> This method returns world coordinates from screen coordinates.
Return Type | Description |
---|---|
PointShape<!– ThinkGeo.MapSuite.PortableCore.PointShape –> | This method returns world coordinates from screen coordinates. |
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
<!– static –> This method returns world coordinates from screen coordinates.
Return Type | Description |
---|---|
PointShape<!– ThinkGeo.MapSuite.PortableCore.PointShape –> | This method returns world coordinates from screen coordinates. |
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
This method returns world coordinates from screen coordinates, based on the CurrentExtent.
Return Type | Description |
---|---|
PointShape<!– ThinkGeo.MapSuite.PortableCore.PointShape –> | This method returns world coordinates from screen coordinates, based on the CurrentExtent. |
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
This method updates the CurrentExtent that is zoomed in by the percentage provided.
Return Type | Description |
---|---|
Void<!– System.Void –> | This method updates the CurrentExtent that is zoomed in by the percentage provided. |
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
<!– static –> This method returns a new extent that is zoomed in by the percentage provided.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | This method returns a new extent that is zoomed in by the percentage provided. |
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
This method updates the CurrentExtent based on a calculated rectangle that is centered and zoomed in.
This overload allows you to pass in the height and width in screen coordinates, as well as a screen X & Y.
The CurrentExtent will be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
Return Type | Description |
---|---|
Void<!– System.Void –> |
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
<!– static –> This method returns an extent that is centered and zoomed in.
This overload allows you to pass in the height and width in screen coordinates, as well as a screen X & Y.
The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | This method returns an extent that is centered and zoomed in. |
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
This method will update the CurrentExtent by using the ZoomIntoCenter operation.
This overload allows you to pass in the height and width in screen coordinates, as well as a world point.
The CurrentExtent will be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
Return Type | Description |
---|---|
Void<!– System.Void –> |
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
<!– static –> This method returns a new extent that is zoomed in by the percentage provided.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | This method returns a new extent that is zoomed in by the percentage provided. |
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
<!– static –> This method returns an extent that is centered and zoomed in.
This overload allows you to pass in the height and width in screen coordinates, as well as a world point.
The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | This method returns an extent that is centered and zoomed in. |
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
This method returns an extent that is centered and zoomed in.
This overload allows you to pass in the height and width in screen coordinates, as well as a world point.
The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
Return Type | Description |
---|---|
Void<!– System.Void –> | This method returns an extent that is centered and zoomed in. |
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
<!– static –> This method returns a new extent that is zoomed out by the percentage provided.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | This method returns a new extent that is zoomed out by the percentage provided. |
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
This method will update the CurrentExtent by using the ZoomOut operation.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
percentage | Int32<!– System.Int32 –> | This parameter is the percentage by which you want to zoom. |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
<!– static –> This method returns an extent that is centered and zoomed out.
This overload allows you to pass in the height and width in screen coordinates, as well as a world point.
The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | This method returns an extent that is centered and zoomed out. |
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
<!– static –> This method returns an extent that is centered and zoomed out.
This overload allows you to pass in the height and width in screen coordinates, as well as a feature.
The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | This method returns an extent that is centered and zoomed out. |
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
This method updates the CurrentExtent by using the ZoomOutToCenter operation.
This overload allows you to pass in the height and width in screen coordinates, as well as a world point.
The CurrentExtent will be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
Return Type | Description |
---|---|
Void<!– System.Void –> |
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
This method updates the CurrentExtent by using the ZoomOutToCenter operation.
This overload allows you to pass in the height and width in screen coordinates, as well as a world point.
The CurrentExtent will be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
Return Type | Description |
---|---|
Void<!– System.Void –> |
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
This method updates the CurrentExtent by using the ZoomOutToCenter operation.
This overload allows you to pass in the height and width in screen coordinates, as well as a screenX and screenY.
The CurrentExtent will be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
Return Type | Description |
---|---|
Void<!– System.Void –> |
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
<!– static –> This method returns an extent that is centered and zoomed out.
This overload allows you to pass in the height and width in screen coordinates, as well as a screenX and screenY.
The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | This method returns an extent that is centered and zoomed out. |
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
<!– static –> This method returns a extent that has been zoomed into a certain scale.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | This method returns a extent that has been zoomed into a certain scale. |
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
This method updates the CurrentExtent by zooming to a certain scale.
Return Type | Description |
---|---|
Void<!– System.Void –> |
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
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This event is raised before an AdornmentLayer is drawn.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | AdornmentLayerDrawingEventArgs<!– ThinkGeo.MapSuite.PortableCore.AdornmentLayerDrawingEventArgs –> | The AdornmentLayerDrawingEventArgs passed for the event raised. |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
This event is raised after an AdornmentLayer is drawn.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | AdornmentLayerDrawnEventArgs<!– ThinkGeo.MapSuite.PortableCore.AdornmentLayerDrawnEventArgs –> | The AdornmentLayerDrawnEventArgs passed for the event raised. |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
This event is raised before AdornmentLayers are drawn.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | AdornmentLayersDrawingEventArgs<!– ThinkGeo.MapSuite.PortableCore.AdornmentLayersDrawingEventArgs –> | The AdornmentLayersDrawingEventArgs passed for the event raised. |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
This event is raised after AdornmentLayers are drawn.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | AdornmentLayersDrawnEventArgs<!– ThinkGeo.MapSuite.PortableCore.AdornmentLayersDrawnEventArgs –> | The AdornmentLayersDrawnEventArgs passed for the event raised. |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
This event is raised before a Layer is drawn.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | LayerDrawingEventArgs<!– ThinkGeo.MapSuite.PortableCore.LayerDrawingEventArgs –> | The LayerDrawingEventArgs passed for the event raised. |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
This event is raised after a Layer is drawn.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | LayerDrawnEventArgs<!– ThinkGeo.MapSuite.PortableCore.LayerDrawnEventArgs –> | The LayerDrawnEventArgs passed for the event raised. |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
This event is raised before Layers are drawn.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | LayersDrawingEventArgs<!– ThinkGeo.MapSuite.PortableCore.LayersDrawingEventArgs –> | The LayersDrawingEventArgs passed for the event raised. |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
This event is raised after Layers are drawn.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | LayersDrawnEventArgs<!– ThinkGeo.MapSuite.PortableCore.LayersDrawnEventArgs –> | The LayersDrawnEventArgs passed for the event raised. |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
This property holds a collection of AdornmentLayers to be drawn on the MapEngine.
This collection of Layers <strong>StaticLayers</strong> will be drawn when calling the <strong>DrawAdornmentLayers</strong> API.
Return Type |
---|
GeoCollection<AdornmentLayer><!– ThinkGeo.MapSuite.PortableCore.GeoCollection{ThinkGeo.MapSuite.PortableCore.AdornmentLayer} –> |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
Gets or sets the GeoBrush for the background of the MapEngine.
Return Type |
---|
GeoBrush<!– ThinkGeo.MapSuite.PortableCore.GeoBrush –> |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
Gets and sets the GeoCanvas used to draw the Layers.
Return Type |
---|
GeoCanvas<!– ThinkGeo.MapSuite.PortableCore.GeoCanvas –> |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
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.
Return Type |
---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
This property holds a group of Layers to be drawn on the MapEngine.
This collection of Layers <strong>StaticLayers</strong> will be drawn when calling the <strong>DrawDynamicLayers</strong> API.
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 Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
This property holds a group of Layers to be drawn on the MapEngine.
This collection of Layers <strong>StaticLayers</strong> will be drawn when calling the <strong>DrawStaticLayers</strong> API.
Return Type |
---|
GeoCollection<Layer><!– ThinkGeo.MapSuite.PortableCore.GeoCollection{ThinkGeo.MapSuite.PortableCore.Layer} –> |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
This event is raised before an AdornmentLayer is drawn.
Event Arguments |
---|
AdornmentLayerDrawingEventArgs<!– ThinkGeo.MapSuite.PortableCore.AdornmentLayerDrawingEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
This event is raised after an AdornmentLayer is drawn.
Event Arguments |
---|
AdornmentLayerDrawnEventArgs<!– ThinkGeo.MapSuite.PortableCore.AdornmentLayerDrawnEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
This event is raised before AdornmentLayers are drawn.
Event Arguments |
---|
AdornmentLayersDrawingEventArgs<!– ThinkGeo.MapSuite.PortableCore.AdornmentLayersDrawingEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
This event is raised after AdornmentLayers are drawn.
Event Arguments |
---|
AdornmentLayersDrawnEventArgs<!– ThinkGeo.MapSuite.PortableCore.AdornmentLayersDrawnEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
This event is raised before a Layer is drawn.
Event Arguments |
---|
LayerDrawingEventArgs<!– ThinkGeo.MapSuite.PortableCore.LayerDrawingEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
This event is raised after a Layer is drawn.
Event Arguments |
---|
LayerDrawnEventArgs<!– ThinkGeo.MapSuite.PortableCore.LayerDrawnEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
This event is raised before Layers are drawn.
Event Arguments |
---|
LayersDrawingEventArgs<!– ThinkGeo.MapSuite.PortableCore.LayersDrawingEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
This event is raised after Layers are drawn.
Event Arguments |
---|
LayersDrawnEventArgs<!– ThinkGeo.MapSuite.PortableCore.LayersDrawnEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.MapEngine –> Go Back
NOTOC MapSuitePortableCore ThinkGeo.MapSuite.PortableCore UpdateDocumentation