User Tools

Site Tools


thinkgeo.mapsuite.formsedition.mapview

Table of Contents

ThinkGeo.MapSuite.FormsEdition.MapView

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 –> This class represents the map control.

Remarks

The map class inherits from the View, so it can be dragged onto the page or be created and added to a contoller via code like the popular control itself. You also need to configure the properties of the map. The most important step is adding overlays, which generate images and stack them over each other to form a map image. The map control has many methods and events through which you can interact with the map.

Inheritance Hierarchy

*System.Object Xamarin.Forms.BindableObject *Xamarin.Forms.Element Xamarin.Forms.VisualElement *Xamarin.Forms.View **ThinkGeo.MapSuite.FormsEdition.MapView

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodMapView Initializes a new instance of the class.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodBatchBegin VisualElement
Public MethodBatchCommit VisualElement
Public MethodCenterAt PointShape Locates the map center to the specified world point.
Public MethodCenterAt Feature
Public MethodCenterAt Double, Double
Public MethodClearValue BindablePropertyKey BindableObject
Public MethodClearValue BindableProperty BindableObject
Public MethodDispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public MethodEquals Object Object
Public MethodFindFeatureLayer String Finds the feature layer.
Public MethodFocus VisualElement
Public MethodGetHashCode Object
Public MethodGetSizeRequest Double, Double VisualElement
Public MethodGetType Object
Public MethodGetValue BindableProperty BindableObject
Public MethodLayout Rectangle VisualElement
Public MethodRefresh This method will simulate the Refresh interaction. Refreshes current map control.
Public MethodRemoveBinding BindableProperty BindableObject
Public MethodRemoveDynamicResource BindableProperty Element
Public MethodSetBinding BindableProperty, BindingBase BindableObject
Public MethodSetDynamicResource BindableProperty, String Element
Public MethodSetValue BindableProperty, Object BindableObject
Public MethodSetValue BindablePropertyKey, Object BindableObject
Public MethodToString Object
Public MethodUnfocus VisualElement
Public MethodZoomTo BaseShape This method zooms current map to the target shape.
Public MethodZoomTo Feature This method zooms current map to the specified feature.
Public MethodZoomTo PointShape, Double This method zooms current map to a specified position and scale.
Public MethodZoomToNextExtent
Public MethodZoomToPreviousExtent
Public MethodZoomToScale Double Zooms the map to a provided scale. This method will simulate the ZoomToScale interaction.

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodApplyBindings Object BindableObject
Protected MethodDispose Boolean Releases unmanaged and - optionally - managed resources.
Protected MethodFinalize Object(overriden) Finalizes an instance of the class.
Protected MethodInvalidateMeasure VisualElement
Protected MethodMemberwiseClone Object
Protected MethodOnBindingContextChanged BindableObject(overriden)
Protected MethodOnChildAdded Element Element
Protected MethodOnChildRemoved Element Element
Protected MethodOnChildrenReordered VisualElement
Protected MethodOnCurrentExtentChanged CurrentExtentChangedMapViewEventArgs
Protected MethodOnCurrentExtentChanging CurrentExtentChangingMapViewEventArgs
Protected MethodOnCurrentScaleChanged CurrentScaleChangedMapViewEventArgs
Protected MethodOnCurrentScaleChanging CurrentScaleChangingMapViewEventArgs
Protected MethodOnMapDoubleTap TouchMapViewEventArgs
Protected MethodOnMapLongPress TouchMapViewEventArgs
Protected MethodOnMapSingleTap TouchMapViewEventArgs
Protected MethodOnMapTouchDown TouchMapViewEventArgs
Protected MethodOnMapTouchMove TouchMapViewEventArgs
Protected MethodOnMapTouchUp TouchMapViewEventArgs
Protected MethodOnParentSet Element(overriden)
Protected MethodOnPropertyChanged String BindableObject
Protected MethodOnPropertyChanging String BindableObject
Protected MethodOnSizeAllocated Double, Double VisualElement
Protected MethodOnSizeRequest Double, Double VisualElement
Protected MethodSizeAllocated Double, Double VisualElement
Protected MethodUnapplyBindings BindableObject

Public Properties

Name Return DeclaringType Summary
Public PropertyAdapter MapElementAdapter Gets the adapter density.
Public PropertyAdornmentOverlay AdornmentOverlay Gets or sets the adornment overlay.
Public PropertyAnchorX Double VisualElement
Public PropertyAnchorY Double VisualElement
Public PropertyBackgroundColor Color VisualElement
Public PropertyBehaviors IList<Behavior> VisualElement
Public PropertyBindingContext Object BindableObject
Public PropertyBounds Rectangle VisualElement
Public PropertyClassId String Element
Public PropertyCurrentExtent RectangleShape Gets or sets the current extent of the MapControl.
Public PropertyDisplayDensity Single Gets the display density.
Public PropertyEditOverlay EditInteractiveOverlay Gets or sets the edit overlay in the MapControl.
Public PropertyGestureRecognizers IList<IGestureRecognizer> View
Public PropertyHeight Double VisualElement
Public PropertyHeightRequest Double VisualElement
Public PropertyHorizontalOptions LayoutOptions View
Public PropertyId Guid Element
Public PropertyInputTransparent Boolean VisualElement
Public PropertyIsEnabled Boolean VisualElement
Public PropertyIsFocused Boolean VisualElement
Public PropertyIsVisible Boolean VisualElement
Public PropertyMapTools MapTools Gets a object for simply using MapTools.
Public PropertyMapUnit GeographyUnit Gets or sets the map unit used by the MapControl.
Public PropertyMinimumHeightRequest Double VisualElement
Public PropertyMinimumWidthRequest Double VisualElement
Public PropertyNavigation INavigation VisualElement
Public PropertyOpacity Double VisualElement
Public PropertyOverlays GeoCollection<Overlay> This property gets the collection of Overlays in the MapControl.
Public PropertyParent Element Element
Public PropertyParentView VisualElement Element
Public PropertyResources ResourceDictionary VisualElement
Public PropertyRotation Double VisualElement
Public PropertyRotationX Double VisualElement
Public PropertyRotationY Double VisualElement
Public PropertyScale Double VisualElement
Public PropertyStyle Style VisualElement
Public PropertyStyleId String Element
Public PropertyTrackOverlay TrackInteractiveOverlay Gets or sets the track overlay in the MapControl.
Public PropertyTranslationX Double VisualElement
Public PropertyTranslationY Double VisualElement
Public PropertyTriggers IList<TriggerBase> VisualElement
Public PropertyVerticalOptions LayoutOptions View
Public PropertyWidth Double VisualElement
Public PropertyWidthRequest Double VisualElement
Public PropertyX Double VisualElement
Public PropertyY Double VisualElement
Public PropertyZoomLevelSet ZoomLevelSet This property gets or sets the ZoomLevelSet used for the MapView control.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary
Public EventBindingContextChanged EventArgs BindableObject
Public EventChildAdded ElementEventArgs Element
Public EventChildRemoved ElementEventArgs Element
Public EventChildrenReordered EventArgs VisualElement
Public EventCurrentExtentChanged CurrentExtentChangedMapViewEventArgs Occurs after map's extent is changed.
Public EventCurrentExtentChanging CurrentExtentChangingMapViewEventArgs Occurs before map's extent is changing.
Public EventCurrentScaleChanged CurrentScaleChangedMapViewEventArgs Occurs after map's current scale is changed.
Public EventCurrentScaleChanging CurrentScaleChangingMapViewEventArgs Occurs before map's current scale is changing.
Public EventDescendantAdded ElementEventArgs Element
Public EventDescendantRemoved ElementEventArgs Element
Public EventFocused FocusEventArgs VisualElement
Public EventMapDoubleTap TouchMapViewEventArgs Occurs when double tap.
Public EventMapLongPress TouchMapViewEventArgs Occurs when long press.
Public EventMapSingleTap TouchMapViewEventArgs Occurs when single tap.
Public EventMapTouchDown TouchMapViewEventArgs Occurs when touch down.
Public EventMapTouchMove TouchMapViewEventArgs Occurs when touch move.
Public EventMapTouchUp TouchMapViewEventArgs Occurs when touch up.
Public EventMeasureInvalidated EventArgs VisualElement
Public EventPropertyChanged PropertyChangedEventArgs BindableObject
Public EventPropertyChanging PropertyChangingEventArgs BindableObject
Public EventSizeChanged EventArgs VisualElement
Public EventUnfocused FocusEventArgs VisualElement

Public Constructors

MapView()

Initializes a new instance of the class.

Parameters

Name Type Description

Go Back

Protected Constructors

Public Methods

BatchBegin()

Return Value

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

Parameters

Name Type Description

<!– Xamarin.Forms.VisualElement –> Go Back

BatchCommit()

Return Value

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

Parameters

Name Type Description

<!– Xamarin.Forms.VisualElement –> Go Back

CenterAt(PointShape)

Locates the map center to the specified world point.

Return Value

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

Parameters

Name Type Description
worldCenter PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> A world point to locate the map.

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

CenterAt(Feature)

Return Value

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

Parameters

Name Type Description
feature Feature<!– ThinkGeo.MapSuite.Core.Feature –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

CenterAt(Double, Double)

Return Value

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

Parameters

Name Type Description
worldX Double<!– System.Double –>
worldY Double<!– System.Double –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

ClearValue(BindablePropertyKey)

Return Value

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

Parameters

Name Type Description
propertyKey BindablePropertyKey<!– Xamarin.Forms.BindablePropertyKey –>

<!– Xamarin.Forms.BindableObject –> Go Back

ClearValue(BindableProperty)

Return Value

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

Parameters

Name Type Description
property BindableProperty<!– Xamarin.Forms.BindableProperty –>

<!– Xamarin.Forms.BindableObject –> Go Back

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Return Value

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

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

Equals(Object)

Return Value

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

Parameters

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

<!– System.Object –> Go Back

FindFeatureLayer(String)

Finds the feature layer.

Return Value

Return Type Description
FeatureLayer<!– ThinkGeo.MapSuite.Core.FeatureLayer –> FeatureLayer.

Parameters

Name Type Description
layerKey String<!– System.String –> The layer key.

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

Focus()

Return Value

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

Parameters

Name Type Description

<!– Xamarin.Forms.VisualElement –> Go Back

GetHashCode()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

GetSizeRequest(Double, Double)

Return Value

Return Type Description
SizeRequest<!– Xamarin.Forms.SizeRequest –>

Parameters

Name Type Description
widthConstraint Double<!– System.Double –>
heightConstraint Double<!– System.Double –>

<!– Xamarin.Forms.VisualElement –> Go Back

GetType()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

GetValue(BindableProperty)

Return Value

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

Parameters

Name Type Description
property BindableProperty<!– Xamarin.Forms.BindableProperty –>

<!– Xamarin.Forms.BindableObject –> Go Back

Layout(Rectangle)

Return Value

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

Parameters

Name Type Description
bounds Rectangle<!– Xamarin.Forms.Rectangle –>

<!– Xamarin.Forms.VisualElement –> Go Back

Refresh()

This method will simulate the Refresh interaction. Refreshes current map control.

Remarks

Refreshes all the existing overlays and map tools.

Return Value

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

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

RemoveBinding(BindableProperty)

Return Value

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

Parameters

Name Type Description
property BindableProperty<!– Xamarin.Forms.BindableProperty –>

<!– Xamarin.Forms.BindableObject –> Go Back

RemoveDynamicResource(BindableProperty)

Return Value

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

Parameters

Name Type Description
property BindableProperty<!– Xamarin.Forms.BindableProperty –>

<!– Xamarin.Forms.Element –> Go Back

SetBinding(BindableProperty, BindingBase)

Return Value

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

Parameters

Name Type Description
targetProperty BindableProperty<!– Xamarin.Forms.BindableProperty –>
binding BindingBase<!– Xamarin.Forms.BindingBase –>

<!– Xamarin.Forms.BindableObject –> Go Back

SetDynamicResource(BindableProperty, String)

Return Value

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

Parameters

Name Type Description
property BindableProperty<!– Xamarin.Forms.BindableProperty –>
key String<!– System.String –>

<!– Xamarin.Forms.Element –> Go Back

SetValue(BindableProperty, Object)

Return Value

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

Parameters

Name Type Description
property BindableProperty<!– Xamarin.Forms.BindableProperty –>
value Object<!– System.Object –>

<!– Xamarin.Forms.BindableObject –> Go Back

SetValue(BindablePropertyKey, Object)

Return Value

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

Parameters

Name Type Description
propertyKey BindablePropertyKey<!– Xamarin.Forms.BindablePropertyKey –>
value Object<!– System.Object –>

<!– Xamarin.Forms.BindableObject –> Go Back

ToString()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

Unfocus()

Return Value

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

Parameters

Name Type Description

<!– Xamarin.Forms.VisualElement –> Go Back

ZoomTo(BaseShape)

This method zooms current map to the target shape.

Remarks

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 Value

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

Parameters

Name Type Description
targetShape BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

ZoomTo(Feature)

This method zooms current map to the specified feature.

Remarks

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 Value

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

Parameters

Name Type Description
feature Feature<!– ThinkGeo.MapSuite.Core.Feature –> A feature to locates the map.

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

ZoomTo(PointShape, Double)

This method zooms current map to a specified position and scale.

Remarks

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 Value

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

Parameters

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.MapView –> Go Back

ZoomToNextExtent()

Return Value

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

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

ZoomToPreviousExtent()

Return Value

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

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

ZoomToScale(Double)

Zooms the map to a provided scale. This method will simulate the ZoomToScale interaction.

Return Value

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

Parameters

Name Type Description
targetScale Double<!– System.Double –> A target scale to zoom the map.

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

Protected Methods

ApplyBindings(Object)

Return Value

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

Parameters

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

<!– Xamarin.Forms.BindableObject –> Go Back

Dispose(Boolean)

Releases unmanaged and - optionally - managed resources.

Return Value

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

Parameters

Name Type Description
disposing Boolean<!– System.Boolean –> true to release both managed and unmanaged resources; false to release only unmanaged resources.

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

Finalize()

Finalizes an instance of the class.

Return Value

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

Parameters

Name Type Description

<!– System.Object(overriden) –> Go Back

InvalidateMeasure()

Return Value

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

Parameters

Name Type Description

<!– Xamarin.Forms.VisualElement –> Go Back

MemberwiseClone()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

OnBindingContextChanged()

Return Value

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

Parameters

Name Type Description

<!– Xamarin.Forms.BindableObject(overriden) –> Go Back

OnChildAdded(Element)

Return Value

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

Parameters

Name Type Description
child Element<!– Xamarin.Forms.Element –>

<!– Xamarin.Forms.Element –> Go Back

OnChildRemoved(Element)

Return Value

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

Parameters

Name Type Description
child Element<!– Xamarin.Forms.Element –>

<!– Xamarin.Forms.Element –> Go Back

OnChildrenReordered()

Return Value

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

Parameters

Name Type Description

<!– Xamarin.Forms.VisualElement –> Go Back

OnCurrentExtentChanged(CurrentExtentChangedMapViewEventArgs)

Return Value

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

Parameters

Name Type Description
e CurrentExtentChangedMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.CurrentExtentChangedMapViewEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

OnCurrentExtentChanging(CurrentExtentChangingMapViewEventArgs)

Return Value

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

Parameters

Name Type Description
e CurrentExtentChangingMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.CurrentExtentChangingMapViewEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

OnCurrentScaleChanged(CurrentScaleChangedMapViewEventArgs)

Return Value

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

Parameters

Name Type Description
e CurrentScaleChangedMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.CurrentScaleChangedMapViewEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

OnCurrentScaleChanging(CurrentScaleChangingMapViewEventArgs)

Return Value

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

Parameters

Name Type Description
e CurrentScaleChangingMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.CurrentScaleChangingMapViewEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

OnMapDoubleTap(TouchMapViewEventArgs)

Return Value

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

Parameters

Name Type Description
e TouchMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TouchMapViewEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

OnMapLongPress(TouchMapViewEventArgs)

Return Value

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

Parameters

Name Type Description
e TouchMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TouchMapViewEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

OnMapSingleTap(TouchMapViewEventArgs)

Return Value

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

Parameters

Name Type Description
e TouchMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TouchMapViewEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

OnMapTouchDown(TouchMapViewEventArgs)

Return Value

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

Parameters

Name Type Description
e TouchMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TouchMapViewEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

OnMapTouchMove(TouchMapViewEventArgs)

Return Value

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

Parameters

Name Type Description
e TouchMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TouchMapViewEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

OnMapTouchUp(TouchMapViewEventArgs)

Return Value

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

Parameters

Name Type Description
e TouchMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TouchMapViewEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

OnParentSet()

Return Value

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

Parameters

Name Type Description

<!– Xamarin.Forms.Element(overriden) –> Go Back

OnPropertyChanged(String)

Return Value

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

Parameters

Name Type Description
propertyName String<!– System.String –>

<!– Xamarin.Forms.BindableObject –> Go Back

OnPropertyChanging(String)

Return Value

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

Parameters

Name Type Description
propertyName String<!– System.String –>

<!– Xamarin.Forms.BindableObject –> Go Back

OnSizeAllocated(Double, Double)

Return Value

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

Parameters

Name Type Description
width Double<!– System.Double –>
height Double<!– System.Double –>

<!– Xamarin.Forms.VisualElement –> Go Back

OnSizeRequest(Double, Double)

Return Value

Return Type Description
SizeRequest<!– Xamarin.Forms.SizeRequest –>

Parameters

Name Type Description
widthConstraint Double<!– System.Double –>
heightConstraint Double<!– System.Double –>

<!– Xamarin.Forms.VisualElement –> Go Back

SizeAllocated(Double, Double)

Return Value

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

Parameters

Name Type Description
width Double<!– System.Double –>
height Double<!– System.Double –>

<!– Xamarin.Forms.VisualElement –> Go Back

UnapplyBindings()

Return Value

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

Parameters

Name Type Description

<!– Xamarin.Forms.BindableObject –> Go Back

Public Properties

Adapter

Gets the adapter density.

Return Value

Return Type
MapElementAdapter<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapElementAdapter –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

AdornmentOverlay

Gets or sets the adornment overlay.

Return Value

Return Type
AdornmentOverlay<!– ThinkGeo.MapSuite.FormsEdition.AdornmentOverlay –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

AnchorX

Return Value

Return Type
Double<!– System.Double –>

<!– Xamarin.Forms.VisualElement –> Go Back

AnchorY

Return Value

Return Type
Double<!– System.Double –>

<!– Xamarin.Forms.VisualElement –> Go Back

BackgroundColor

Return Value

Return Type
Color<!– Xamarin.Forms.Color –>

<!– Xamarin.Forms.VisualElement –> Go Back

Behaviors

Return Value

Return Type
IList<Behavior><!– System.Collections.Generic.IList{Xamarin.Forms.Behavior} –>

<!– Xamarin.Forms.VisualElement –> Go Back

BindingContext

Return Value

Return Type
Object<!– System.Object –>

<!– Xamarin.Forms.BindableObject –> Go Back

Bounds

Return Value

Return Type
Rectangle<!– Xamarin.Forms.Rectangle –>

<!– Xamarin.Forms.VisualElement –> Go Back

ClassId

Return Value

Return Type
String<!– System.String –>

<!– Xamarin.Forms.Element –> Go Back

CurrentExtent

Gets or sets the current extent of the MapControl.

Remarks

The current extent stands for the extent of current position, this is very important metrics to caculate the scale.

Return Value

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

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

DisplayDensity

Gets the display density.

Return Value

Return Type
Single<!– System.Single –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

EditOverlay

Gets or sets the edit overlay in the MapControl.

Return Value

Return Type
EditInteractiveOverlay<!– ThinkGeo.MapSuite.FormsEdition.EditInteractiveOverlay –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

GestureRecognizers

Return Value

Return Type
IList<IGestureRecognizer><!– System.Collections.Generic.IList{Xamarin.Forms.IGestureRecognizer} –>

<!– Xamarin.Forms.View –> Go Back

Height

Return Value

Return Type
Double<!– System.Double –>

<!– Xamarin.Forms.VisualElement –> Go Back

HeightRequest

Return Value

Return Type
Double<!– System.Double –>

<!– Xamarin.Forms.VisualElement –> Go Back

HorizontalOptions

Return Value

Return Type
LayoutOptions<!– Xamarin.Forms.LayoutOptions –>

<!– Xamarin.Forms.View –> Go Back

Id

Return Value

Return Type
Guid<!– System.Guid –>

<!– Xamarin.Forms.Element –> Go Back

InputTransparent

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– Xamarin.Forms.VisualElement –> Go Back

IsEnabled

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– Xamarin.Forms.VisualElement –> Go Back

IsFocused

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– Xamarin.Forms.VisualElement –> Go Back

IsVisible

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– Xamarin.Forms.VisualElement –> Go Back

MapTools

Gets a object for simply using MapTools.

Return Value

Return Type
MapTools<!– ThinkGeo.MapSuite.FormsEdition.MapTools –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

MapUnit

Gets or sets the map unit used by the MapControl.

Remarks

The MapUnit reflects the data unit.

Return Value

Return Type
GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

MinimumHeightRequest

Return Value

Return Type
Double<!– System.Double –>

<!– Xamarin.Forms.VisualElement –> Go Back

MinimumWidthRequest

Return Value

Return Type
Double<!– System.Double –>

<!– Xamarin.Forms.VisualElement –> Go Back

Return Value

Return Type
INavigation<!– Xamarin.Forms.INavigation –>

<!– Xamarin.Forms.VisualElement –> Go Back

Opacity

Return Value

Return Type
Double<!– System.Double –>

<!– Xamarin.Forms.VisualElement –> Go Back

Overlays

This property gets the collection of Overlays in the MapControl.

Return Value

Return Type
GeoCollection<Overlay><!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.FormsEdition.Overlay} –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

Parent

Return Value

Return Type
Element<!– Xamarin.Forms.Element –>

<!– Xamarin.Forms.Element –> Go Back

ParentView

Return Value

Return Type
VisualElement<!– Xamarin.Forms.VisualElement –>

<!– Xamarin.Forms.Element –> Go Back

Resources

Return Value

Return Type
ResourceDictionary<!– Xamarin.Forms.ResourceDictionary –>

<!– Xamarin.Forms.VisualElement –> Go Back

Rotation

Return Value

Return Type
Double<!– System.Double –>

<!– Xamarin.Forms.VisualElement –> Go Back

RotationX

Return Value

Return Type
Double<!– System.Double –>

<!– Xamarin.Forms.VisualElement –> Go Back

RotationY

Return Value

Return Type
Double<!– System.Double –>

<!– Xamarin.Forms.VisualElement –> Go Back

Scale

Return Value

Return Type
Double<!– System.Double –>

<!– Xamarin.Forms.VisualElement –> Go Back

Style

Return Value

Return Type
Style<!– Xamarin.Forms.Style –>

<!– Xamarin.Forms.VisualElement –> Go Back

StyleId

Return Value

Return Type
String<!– System.String –>

<!– Xamarin.Forms.Element –> Go Back

TrackOverlay

Gets or sets the track overlay in the MapControl.

Return Value

Return Type
TrackInteractiveOverlay<!– ThinkGeo.MapSuite.FormsEdition.TrackInteractiveOverlay –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

TranslationX

Return Value

Return Type
Double<!– System.Double –>

<!– Xamarin.Forms.VisualElement –> Go Back

TranslationY

Return Value

Return Type
Double<!– System.Double –>

<!– Xamarin.Forms.VisualElement –> Go Back

Triggers

Return Value

Return Type
IList<TriggerBase><!– System.Collections.Generic.IList{Xamarin.Forms.TriggerBase} –>

<!– Xamarin.Forms.VisualElement –> Go Back

VerticalOptions

Return Value

Return Type
LayoutOptions<!– Xamarin.Forms.LayoutOptions –>

<!– Xamarin.Forms.View –> Go Back

Width

Return Value

Return Type
Double<!– System.Double –>

<!– Xamarin.Forms.VisualElement –> Go Back

WidthRequest

Return Value

Return Type
Double<!– System.Double –>

<!– Xamarin.Forms.VisualElement –> Go Back

X

Return Value

Return Type
Double<!– System.Double –>

<!– Xamarin.Forms.VisualElement –> Go Back

Y

Return Value

Return Type
Double<!– System.Double –>

<!– Xamarin.Forms.VisualElement –> Go Back

ZoomLevelSet

This property gets or sets the ZoomLevelSet used for the MapView control.

Return Value

Return Type
ZoomLevelSet<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

Protected Properties

Public Events

BindingContextChanged

Event Arguments

Event Arguments
EventArgs<!– System.EventArgs –>

<!– Xamarin.Forms.BindableObject –> Go Back

ChildAdded

Event Arguments

Event Arguments
ElementEventArgs<!– Xamarin.Forms.ElementEventArgs –>

<!– Xamarin.Forms.Element –> Go Back

ChildRemoved

Event Arguments

Event Arguments
ElementEventArgs<!– Xamarin.Forms.ElementEventArgs –>

<!– Xamarin.Forms.Element –> Go Back

ChildrenReordered

Event Arguments

Event Arguments
EventArgs<!– System.EventArgs –>

<!– Xamarin.Forms.VisualElement –> Go Back

CurrentExtentChanged

Occurs after map's extent is changed.

Event Arguments

Event Arguments
CurrentExtentChangedMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.CurrentExtentChangedMapViewEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

CurrentExtentChanging

Occurs before map's extent is changing.

Event Arguments

Event Arguments
CurrentExtentChangingMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.CurrentExtentChangingMapViewEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

CurrentScaleChanged

Occurs after map's current scale is changed.

Event Arguments

Event Arguments
CurrentScaleChangedMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.CurrentScaleChangedMapViewEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

CurrentScaleChanging

Occurs before map's current scale is changing.

Event Arguments

Event Arguments
CurrentScaleChangingMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.CurrentScaleChangingMapViewEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

DescendantAdded

Event Arguments

Event Arguments
ElementEventArgs<!– Xamarin.Forms.ElementEventArgs –>

<!– Xamarin.Forms.Element –> Go Back

DescendantRemoved

Event Arguments

Event Arguments
ElementEventArgs<!– Xamarin.Forms.ElementEventArgs –>

<!– Xamarin.Forms.Element –> Go Back

Focused

Event Arguments

Event Arguments
FocusEventArgs<!– Xamarin.Forms.FocusEventArgs –>

<!– Xamarin.Forms.VisualElement –> Go Back

MapDoubleTap

Occurs when double tap.

Event Arguments

Event Arguments
TouchMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TouchMapViewEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

MapLongPress

Occurs when long press.

Event Arguments

Event Arguments
TouchMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TouchMapViewEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

MapSingleTap

Occurs when single tap.

Event Arguments

Event Arguments
TouchMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TouchMapViewEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

MapTouchDown

Occurs when touch down.

Event Arguments

Event Arguments
TouchMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TouchMapViewEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

MapTouchMove

Occurs when touch move.

Event Arguments

Event Arguments
TouchMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TouchMapViewEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

MapTouchUp

Occurs when touch up.

Event Arguments

Event Arguments
TouchMapViewEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TouchMapViewEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.MapView –> Go Back

MeasureInvalidated

Event Arguments

Event Arguments
EventArgs<!– System.EventArgs –>

<!– Xamarin.Forms.VisualElement –> Go Back

PropertyChanged

Event Arguments

Event Arguments
PropertyChangedEventArgs<!– System.ComponentModel.PropertyChangedEventArgs –>

<!– Xamarin.Forms.BindableObject –> Go Back

PropertyChanging

Event Arguments

Event Arguments
PropertyChangingEventArgs<!– Xamarin.Forms.PropertyChangingEventArgs –>

<!– Xamarin.Forms.BindableObject –> Go Back

SizeChanged

Event Arguments

Event Arguments
EventArgs<!– System.EventArgs –>

<!– Xamarin.Forms.VisualElement –> Go Back

Unfocused

Event Arguments

Event Arguments
FocusEventArgs<!– Xamarin.Forms.FocusEventArgs –>

<!– Xamarin.Forms.VisualElement –> Go Back

NOTOC MapSuiteFormsEdition ThinkGeo.MapSuite.FormsEdition UpdateDocumentation

thinkgeo.mapsuite.formsedition.mapview.txt · Last modified: 2017/03/16 21:59 (external edit)