ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.
<!– Class –> Class MapViewAdapter.
*System.Object ThinkGeo.MapSuite.FormsEdition.Adapters.MapElementAdapter *ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
MapViewAdapter | Initializes a new instance of the class. |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
CenterAt | PointShape | Locates the map center to the specified world point. | |
CreateConcrete | MapElementAdapter | Creates the concrete. | |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | ||
Equals | Object | Object | |
GetHashCode | Object | ||
GetType | Object | ||
Refresh | This method will simulate the Refresh interaction. Refreshes current map control. | ||
ToString | Object | ||
ZoomTo | PointShape, Double | This method zooms current map to a specified position and scale. | |
ZoomTo | BaseShape | This method zooms current map to the target shape. | |
ZoomToNextExtent | Zooms to next extent. | ||
ZoomToPreviousExtent | Zooms to previous extent. | ||
ZoomToScale | Double | Zooms the map to a provided scale. This method will simulate the ZoomToScale interaction. |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
CreateConcreteCore | MapElementAdapter | Creates the concrete core. | |
Dispose | Boolean | Releases unmanaged and - optionally - managed resources. | |
Finalize | Object(overriden) | ||
MemberwiseClone | Object | ||
OnCurrentExtentChanged | CurrentExtentChangedMapViewEventArgs | Handles the event. | |
OnCurrentExtentChanging | CurrentExtentChangingMapViewEventArgs | Handles the event. | |
OnCurrentScaleChanged | CurrentScaleChangedMapViewEventArgs | Handles the event. | |
OnCurrentScaleChanging | CurrentScaleChangingMapViewEventArgs | Handles the event. | |
OnMapDoubleTap | TouchMapViewEventArgs | Handles the event. | |
OnMapLongPress | TouchMapViewEventArgs | Handles the event. | |
OnMapSingleTap | TouchMapViewEventArgs | Handles the event. | |
OnMapTouchDown | TouchMapViewEventArgs | Handles the event. | |
OnMapTouchMove | TouchMapViewEventArgs | Handles the event. | |
OnMapTouchUp | TouchMapViewEventArgs | Handles the event. | |
RegisterCollectionSynchronization | GeoCollection<FormsItem>, GeoCollection<ConcreteItem> | MapElementAdapter |
Name | Return | DeclaringType | Summary |
---|---|---|---|
AdornmentOverlayAdapter | AdornmentOverlayAdapter | Gets or sets the adornment overlay. | |
Concrete | Object | MapElementAdapter | Gets or sets the concrete. |
CurrentExtent | RectangleShape | Gets or sets the current extent of the MapControl. | |
DisplayDensity | Single | Gets the display density. | |
EditOverlayAdapter | EditInteractiveOverlayAdapter | Gets the edit overlay adapter. | |
MapToolsAdapter | MapToolsAdapter | Gets the map tools adapter. | |
MapUnit | GeographyUnit | Gets or sets the map unit used by the MapControl. | |
Overlays | GeoCollection<Overlay> | This property gets the collection of Overlays in the MapControl. | |
TrackOverlayAdapter | TrackInteractiveOverlayAdapter | Gets the track overlay adapter. | |
ZoomLevelSet | ZoomLevelSet | This property gets or sets the ZoomLevelSet used for the MapView control. |
Name | Return | DeclaringType | Summary |
---|
Name | Event Arguments | DeclaringType | Summary |
---|---|---|---|
CurrentExtentChanged | CurrentExtentChangedMapViewEventArgs | Occurs when extent changed. | |
CurrentExtentChanging | CurrentExtentChangingMapViewEventArgs | Occurs when extent changing. | |
CurrentScaleChanged | CurrentScaleChangedMapViewEventArgs | Occurs when scale changed. | |
CurrentScaleChanging | CurrentScaleChangingMapViewEventArgs | Occurs when scale changing. | |
MapDoubleTap | TouchMapViewEventArgs | Occurs when double tap. | |
MapLongPress | TouchMapViewEventArgs | Occurs when long press. | |
MapSingleTap | TouchMapViewEventArgs | Occurs when single tap. | |
MapTouchDown | TouchMapViewEventArgs | Occurs when touch down. | |
MapTouchMove | TouchMapViewEventArgs | Occurs when touch move. | |
MapTouchUp | TouchMapViewEventArgs | Occurs when touch up. |
Initializes a new instance of the class.
Name | Type | Description |
---|
Locates the map center to the specified world point.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
worldCenter | PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> | A world point to locate the map. |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Creates the concrete.
Return Type | Description |
---|---|
Object<!– System.Object –> | System.Object. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapElementAdapter –> Go Back
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Int32<!– System.Int32 –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Type<!– System.Type –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method will simulate the Refresh interaction. Refreshes current map control.
Refreshes all the existing overlays and map tools.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method zooms current map to a specified position and scale.
When calling this method, it doesn't refresh existing Tiles on the current map. For example, if using a TileOverlay such as LayerOverlay; a layer style is changed, Refresh method is proper to call.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
worldCenter | PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> | |
targetScale | Double<!– System.Double –> | A double value indicates the scale to zoom the map to. |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
This method zooms current map to the target shape.
When calling this method, it doesn't refresh existing Tiles on the current map. For example, if using a TileOverlay such as LayerOverlay; a layer style is changed, Refresh method is proper to call.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
targetExtent | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | A ractangle shape to locates the map. |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Zooms to next extent.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Zooms to previous extent.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Zooms the map to a provided scale. This method will simulate the ZoomToScale interaction.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
targetScale | Double<!– System.Double –> | A target scale to zoom the map. |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Creates the concrete core.
Return Type | Description |
---|---|
Object<!– System.Object –> | System.Object. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapElementAdapter –> Go Back
Releases unmanaged and - optionally - managed resources.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
disposing | Boolean<!– System.Boolean –> | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– System.Object(overriden) –> Go Back
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Handles the event.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | CurrentExtentChangedMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.CurrentExtentChangedMapViewEventArgs –> | The instance containing the event data. |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Handles the event.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | CurrentExtentChangingMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.CurrentExtentChangingMapViewEventArgs –> | The instance containing the event data. |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Handles the event.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | CurrentScaleChangedMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.CurrentScaleChangedMapViewEventArgs –> | The instance containing the event data. |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Handles the event.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | CurrentScaleChangingMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.CurrentScaleChangingMapViewEventArgs –> | The instance containing the event data. |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Handles the event.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | TouchMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TouchMapViewEventArgs –> | The instance containing the event data. |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Handles the event.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | TouchMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TouchMapViewEventArgs –> | The instance containing the event data. |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Handles the event.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | TouchMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TouchMapViewEventArgs –> | The instance containing the event data. |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Handles the event.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | TouchMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TouchMapViewEventArgs –> | The instance containing the event data. |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Handles the event.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | TouchMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TouchMapViewEventArgs –> | The instance containing the event data. |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Handles the event.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | TouchMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TouchMapViewEventArgs –> | The instance containing the event data. |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
formsItems | GeoCollection<FormsItem><!– GeoCollection{FormsItem} –> | |
concreteItems | GeoCollection<ConcreteItem><!– GeoCollection{ConcreteItem} –> |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapElementAdapter –> Go Back
Gets or sets the adornment overlay.
Return Type |
---|
AdornmentOverlayAdapter<!– ThinkGeo.MapSuite.FormsEdition.Adapters.AdornmentOverlayAdapter –> |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Gets or sets the concrete.
Return Type |
---|
Object<!– System.Object –> |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapElementAdapter –> Go Back
Gets or sets the current extent of the MapControl.
The current extent stands for the extent of current position, this is very important metrics to caculate the scale.
Return Type |
---|
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Gets the display density.
Return Type |
---|
Single<!– System.Single –> |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Gets the edit overlay adapter.
Return Type |
---|
EditInteractiveOverlayAdapter<!– ThinkGeo.MapSuite.FormsEdition.Adapters.EditInteractiveOverlayAdapter –> |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Gets the map tools adapter.
Return Type |
---|
MapToolsAdapter<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapToolsAdapter –> |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Gets or sets the map unit used by the MapControl.
The MapUnit reflects the data unit.
Return Type |
---|
GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
This property gets the collection of Overlays in the MapControl.
Return Type |
---|
GeoCollection<Overlay><!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.FormsEdition.Overlay} –> |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Gets the track overlay adapter.
Return Type |
---|
TrackInteractiveOverlayAdapter<!– ThinkGeo.MapSuite.FormsEdition.Adapters.TrackInteractiveOverlayAdapter –> |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
This property gets or sets the ZoomLevelSet used for the MapView control.
Return Type |
---|
ZoomLevelSet<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Occurs when extent changed.
Event Arguments |
---|
CurrentExtentChangedMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.CurrentExtentChangedMapViewEventArgs –> |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Occurs when extent changing.
Event Arguments |
---|
CurrentExtentChangingMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.CurrentExtentChangingMapViewEventArgs –> |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Occurs when scale changed.
Event Arguments |
---|
CurrentScaleChangedMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.CurrentScaleChangedMapViewEventArgs –> |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Occurs when scale changing.
Event Arguments |
---|
CurrentScaleChangingMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.CurrentScaleChangingMapViewEventArgs –> |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Occurs when double tap.
Event Arguments |
---|
TouchMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TouchMapViewEventArgs –> |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Occurs when long press.
Event Arguments |
---|
TouchMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TouchMapViewEventArgs –> |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Occurs when single tap.
Event Arguments |
---|
TouchMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TouchMapViewEventArgs –> |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Occurs when touch down.
Event Arguments |
---|
TouchMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TouchMapViewEventArgs –> |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Occurs when touch move.
Event Arguments |
---|
TouchMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TouchMapViewEventArgs –> |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
Occurs when touch up.
Event Arguments |
---|
TouchMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TouchMapViewEventArgs –> |
<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapViewAdapter –> Go Back
NOTOC MapSuiteFormsEdition ThinkGeo.MapSuite.FormsEdition.Adapters UpdateDocumentation