InteractiveOverlay¶
Namespace: ThinkGeo.UI.Maui
Provides an overlay that supports interactive gesture handling.
public abstract class InteractiveOverlay : GraphicsViewOverlay, System.ComponentModel.INotifyPropertyChanged, Microsoft.Maui.Controls.IElementController, Microsoft.Maui.IVisualTreeElement, Microsoft.Maui.IElement, Microsoft.Maui.Controls.IEffectControlProvider, Microsoft.Maui.IToolTipElement, Microsoft.Maui.IContextFlyoutElement, Microsoft.Maui.Controls.IAnimatable, Microsoft.Maui.Controls.IVisualElementController, Microsoft.Maui.IView, Microsoft.Maui.ITransform, Microsoft.Maui.Controls.IViewController, Microsoft.Maui.Controls.Internals.IGestureController, Microsoft.Maui.Controls.IGestureRecognizers, Microsoft.Maui.IPropertyMapperView, Microsoft.Maui.HotReload.IHotReloadableView, Microsoft.Maui.IReplaceableView, Microsoft.Maui.ILayout, Microsoft.Maui.IContainer, System.Collections.Generic.IList`1[[Microsoft.Maui.IView, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Collections.Generic.ICollection`1[[Microsoft.Maui.IView, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Collections.Generic.IEnumerable`1[[Microsoft.Maui.IView, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Collections.IEnumerable, Microsoft.Maui.ISafeAreaView, Microsoft.Maui.IPadding, Microsoft.Maui.ICrossPlatformLayout, Microsoft.Maui.Controls.IBindableLayout, Microsoft.Maui.IAbsoluteLayout, System.IDisposable
Inheritance object → BindableObject → Element → StyleableElement → NavigableElement → VisualElement → View → Layout → AbsoluteLayout → Overlay → GraphicsViewOverlay → InteractiveOverlay
Implements INotifyPropertyChanged, IElementController, IVisualTreeElement, IElement, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IVisualElementController, IView, ITransform, IViewController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, ILayout, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, ICrossPlatformLayout, IBindableLayout, IAbsoluteLayout, IDisposable
Fields¶
MapView¶
Gets the map view associated with this overlay.
protected IMapView MapView;
_layoutManager¶
protected ILayoutManager _layoutManager;
propertyMapper¶
protected PropertyMapper propertyMapper;
Properties¶
GeoGraphicsView¶
Gets or sets the graphics view that hosts overlay drawing content.
protected GeoGraphicsView GeoGraphicsView { get; set; }
Property Value¶
Name¶
Gets or sets the name of this overlay.
public string Name { get; set; }
Property Value¶
Attribution¶
Gets the attribution text displayed for this overlay.
public string Attribution { get; protected set; }
Property Value¶
Remarks:
Set by derived overlays to describe the data source rendered on the map.
DrawingExceptionMode¶
This property gets and sets the DrawingExceptionMode used when an exception occurs during drawing.
public DrawingExceptionMode DrawingExceptionMode { get; set; }
Property Value¶
DrawingExceptionMode
The drawing exception mode.
IsEmpty¶
This property gets if this overlay is empty or not.
public bool IsEmpty { get; }
Property Value¶
Remarks:
This property enhances the performance of the overlay while drawing. If is true, we will skip drawing this overlay and continue drawing the next overlay.
Children¶
public IList<IView> Children { get; }
Property Value¶
Count¶
public int Count { get; }
Property Value¶
IsReadOnly¶
public bool IsReadOnly { get; }
Property Value¶
Item¶
public IView Item { get; set; }
Property Value¶
IView
IsClippedToBounds¶
public bool IsClippedToBounds { get; set; }
Property Value¶
Padding¶
public Thickness Padding { get; set; }
Property Value¶
Thickness
SafeAreaEdges¶
public SafeAreaEdges SafeAreaEdges { get; set; }
Property Value¶
SafeAreaEdges
IgnoreSafeArea¶
public bool IgnoreSafeArea { get; set; }
Property Value¶
CascadeInputTransparent¶
public bool CascadeInputTransparent { get; set; }
Property Value¶
GestureController¶
protected internal IGestureController GestureController { get; }
Property Value¶
IGestureController
GestureRecognizers¶
public IList<IGestureRecognizer> GestureRecognizers { get; }
Property Value¶
HorizontalOptions¶
public LayoutOptions HorizontalOptions { get; set; }
Property Value¶
LayoutOptions
Margin¶
public Thickness Margin { get; set; }
Property Value¶
Thickness
VerticalOptions¶
public LayoutOptions VerticalOptions { get; set; }
Property Value¶
LayoutOptions
Visual¶
public IVisual Visual { get; set; }
Property Value¶
IVisual
FlowDirection¶
public FlowDirection FlowDirection { get; set; }
Property Value¶
FlowDirection
Window¶
public Window Window { get; }
Property Value¶
Window
AnchorX¶
public double AnchorX { get; set; }
Property Value¶
AnchorY¶
public double AnchorY { get; set; }
Property Value¶
BackgroundColor¶
public Color BackgroundColor { get; set; }
Property Value¶
Color
Background¶
public Brush Background { get; set; }
Property Value¶
Brush
Behaviors¶
public IList<Behavior> Behaviors { get; }
Property Value¶
Bounds¶
public Rect Bounds { get; }
Property Value¶
Rect
Height¶
public double Height { get; }
Property Value¶
HeightRequest¶
public double HeightRequest { get; set; }
Property Value¶
InputTransparent¶
public bool InputTransparent { get; set; }
Property Value¶
IsEnabled¶
public bool IsEnabled { get; set; }
Property Value¶
IsEnabledCore¶
protected bool IsEnabledCore { get; }
Property Value¶
IsFocused¶
public bool IsFocused { get; }
Property Value¶
IsVisible¶
public bool IsVisible { get; set; }
Property Value¶
MinimumHeightRequest¶
public double MinimumHeightRequest { get; set; }
Property Value¶
MinimumWidthRequest¶
public double MinimumWidthRequest { get; set; }
Property Value¶
MaximumHeightRequest¶
public double MaximumHeightRequest { get; set; }
Property Value¶
MaximumWidthRequest¶
public double MaximumWidthRequest { get; set; }
Property Value¶
Opacity¶
public double Opacity { get; set; }
Property Value¶
Rotation¶
public double Rotation { get; set; }
Property Value¶
RotationX¶
public double RotationX { get; set; }
Property Value¶
RotationY¶
public double RotationY { get; set; }
Property Value¶
Scale¶
public double Scale { get; set; }
Property Value¶
ScaleX¶
public double ScaleX { get; set; }
Property Value¶
ScaleY¶
public double ScaleY { get; set; }
Property Value¶
TranslationX¶
public double TranslationX { get; set; }
Property Value¶
TranslationY¶
public double TranslationY { get; set; }
Property Value¶
Triggers¶
public IList<TriggerBase> Triggers { get; }
Property Value¶
Width¶
public double Width { get; }
Property Value¶
WidthRequest¶
public double WidthRequest { get; set; }
Property Value¶
X¶
public double X { get; }
Property Value¶
Y¶
public double Y { get; }
Property Value¶
Clip¶
public Geometry Clip { get; set; }
Property Value¶
Geometry
Resources¶
public ResourceDictionary Resources { get; set; }
Property Value¶
ResourceDictionary
Frame¶
public Rect Frame { get; set; }
Property Value¶
Rect
Handler¶
public IViewHandler Handler { get; set; }
Property Value¶
IViewHandler
Shadow¶
public Shadow Shadow { get; set; }
Property Value¶
Shadow
ZIndex¶
public int ZIndex { get; set; }
Property Value¶
DesiredSize¶
public Size DesiredSize { get; protected set; }
Property Value¶
Size
IsLoaded¶
public bool IsLoaded { get; }
Property Value¶
Navigation¶
public INavigation Navigation { get; }
Property Value¶
INavigation
Style¶
public Style Style { get; set; }
Property Value¶
Style
StyleClass¶
public IList<string> StyleClass { get; set; }
Property Value¶
class¶
public IList<string> class { get; set; }
Property Value¶
AutomationId¶
public string AutomationId { get; set; }
Property Value¶
ClassId¶
public string ClassId { get; set; }
Property Value¶
Effects¶
public IList<Effect> Effects { get; }
Property Value¶
Id¶
public Guid Id { get; }
Property Value¶
StyleId¶
public string StyleId { get; set; }
Property Value¶
Parent¶
public Element Parent { get; set; }
Property Value¶
Element
Handler¶
public IElementHandler Handler { get; set; }
Property Value¶
IElementHandler
Dispatcher¶
public IDispatcher Dispatcher { get; }
Property Value¶
IDispatcher
BindingContext¶
public object BindingContext { get; set; }
Property Value¶
Constructors¶
InteractiveOverlay()¶
Initializes a new instance of the InteractiveOverlay class.
protected InteractiveOverlay()
Methods¶
TouchUp(TouchUpMapViewEventArgs, IMapView)¶
This method will simulate the TouchUp interaction.
public EventBubblingMode TouchUp(TouchUpMapViewEventArgs e, IMapView mapView)
Parameters¶
e TouchUpMapViewEventArgs
This parameter is the interaction arguments for the method.
mapView IMapView
The mapView the overlay is added to
Returns¶
EventBubblingMode
Interaction results of this method.
Remarks:
This method is the concrete wrapper for its virtual Core method.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
TouchUpCore(TouchUpMapViewEventArgs, IMapView)¶
This protected virtual method is the Core method of TouchUp API.
protected EventBubblingMode TouchUpCore(TouchUpMapViewEventArgs e, IMapView mapView)
Parameters¶
e TouchUpMapViewEventArgs
This parameter is the interaction arguments for the method.
mapView IMapView
The mapView the overlay is added to
Returns¶
EventBubblingMode
Interaction results of this method.
TouchRotate(TouchRotateMapViewEventArgs, IMapView)¶
This method will simulate the TouchRotate interaction.
public EventBubblingMode TouchRotate(TouchRotateMapViewEventArgs e, IMapView mapView)
Parameters¶
e TouchRotateMapViewEventArgs
This parameter is the interaction arguments for the method.
mapView IMapView
The mapView the overlay is added to
Returns¶
Remarks:
This method is the concrete wrapper for its virtual Core method.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
TouchRotateCore(TouchRotateMapViewEventArgs, IMapView)¶
This protected virtual method is the Core method of TouchDown API.
protected EventBubblingMode TouchRotateCore(TouchRotateMapViewEventArgs e, IMapView mapView)
Parameters¶
e TouchRotateMapViewEventArgs
This parameter is the interaction arguments for the method.
mapView IMapView
The mapView the overlay is added to
Returns¶
EventBubblingMode
Interaction results of this method.
TouchDown(TouchDownMapViewEventArgs, IMapView)¶
This method will simulate the TouchDown interaction.
public EventBubblingMode TouchDown(TouchDownMapViewEventArgs e, IMapView mapView)
Parameters¶
e TouchDownMapViewEventArgs
This parameter is the interaction arguments for the method.
mapView IMapView
The mapView the overlay is added to
Returns¶
Remarks:
This method is the concrete wrapper for its virtual Core method.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
TouchDownCore(TouchDownMapViewEventArgs, IMapView)¶
This protected virtual method is the Core method of TouchDown API.
protected EventBubblingMode TouchDownCore(TouchDownMapViewEventArgs e, IMapView mapView)
Parameters¶
e TouchDownMapViewEventArgs
This parameter is the interaction arguments for the method.
mapView IMapView
The mapView the overlay is added to
Returns¶
EventBubblingMode
Interaction results of this method.
TouchMove(TouchMoveMapViewEventArgs, IMapView)¶
This method will simulate the TouchMove interaction.
public EventBubblingMode TouchMove(TouchMoveMapViewEventArgs e, IMapView mapView)
Parameters¶
e TouchMoveMapViewEventArgs
This parameter is the interaction arguments for the method.
mapView IMapView
The mapView the overlay is added to
Returns¶
EventBubblingMode
Interaction results of this method.
Remarks:
This method is the concrete wrapper for its virtual Core method.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
TouchMoveCore(TouchMoveMapViewEventArgs, IMapView)¶
This protected virtual method is the Core method of TouchMove API.
protected EventBubblingMode TouchMoveCore(TouchMoveMapViewEventArgs e, IMapView mapView)
Parameters¶
e TouchMoveMapViewEventArgs
This parameter is the interaction arguments for the method.
mapView IMapView
The mapView the overlay is added to
Returns¶
EventBubblingMode
Interaction results of this method.
TouchPointerDown(Pointer1DownMapViewEventArgs, IMapView)¶
This method will simulate the Pointer1Down interaction.
public EventBubblingMode TouchPointerDown(Pointer1DownMapViewEventArgs e, IMapView mapView)
Parameters¶
e Pointer1DownMapViewEventArgs
This parameter is the interaction arguments for the method.
mapView IMapView
The mapView the overlay is added to
Returns¶
EventBubblingMode
Interaction results of this method.
Remarks:
This method is the concrete wrapper for its virtual Core method.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
TouchPointerDownCore(Pointer1DownMapViewEventArgs, IMapView)¶
This protected virtual method is the Core method of Pointer1Down API.
protected EventBubblingMode TouchPointerDownCore(Pointer1DownMapViewEventArgs e, IMapView mapView)
Parameters¶
e Pointer1DownMapViewEventArgs
This parameter is the interaction arguments for the method.
mapView IMapView
The mapView the overlay is added to
Returns¶
EventBubblingMode
Interaction results of this method.
TouchPointerUp(Pointer1UpMapViewEventArgs, IMapView)¶
This method will simulate the Pointer1Up interaction.
public EventBubblingMode TouchPointerUp(Pointer1UpMapViewEventArgs e, IMapView mapView)
Parameters¶
e Pointer1UpMapViewEventArgs
This parameter is the interaction arguments for the method.
mapView IMapView
The mapView the overlay is added to
Returns¶
EventBubblingMode
Interaction results of this method.
Remarks:
This method is the concrete wrapper for its virtual Core method.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
TouchPointerUpCore(Pointer1UpMapViewEventArgs, IMapView)¶
This protected virtual method is the Core method of Pointer1Up API.
protected EventBubblingMode TouchPointerUpCore(Pointer1UpMapViewEventArgs e, IMapView mapView)
Parameters¶
e Pointer1UpMapViewEventArgs
This parameter is the interaction arguments for the method.
mapView IMapView
The mapView the overlay is added to
Returns¶
EventBubblingMode
Interaction results of this method.
SingleTap(SingleTapMapViewEventArgs, IMapView)¶
This method will simulate the SingleTap interaction.
public EventBubblingMode SingleTap(SingleTapMapViewEventArgs e, IMapView mapView)
Parameters¶
e SingleTapMapViewEventArgs
This parameter is the interaction arguments for the method.
mapView IMapView
The mapView the overlay is added to
Returns¶
EventBubblingMode
Interaction results of this method.
Remarks:
This method is the concrete wrapper for its virtual Core method.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
SingleTapCore(SingleTapMapViewEventArgs, IMapView)¶
This protected virtual method is the Core method of SingleTap API.
protected EventBubblingMode SingleTapCore(SingleTapMapViewEventArgs e, IMapView mapView)
Parameters¶
e SingleTapMapViewEventArgs
This parameter is the interaction arguments for the method.
mapView IMapView
The mapView the overlay is added to
Returns¶
EventBubblingMode
Interaction results of this method.
DoubleTap(DoubleTapMapViewEventArgs, IMapView)¶
This method will simulate the DoubleTap interaction.
public EventBubblingMode DoubleTap(DoubleTapMapViewEventArgs e, IMapView mapView)
Parameters¶
e DoubleTapMapViewEventArgs
This parameter is the interaction arguments for the method.
mapView IMapView
The mapView the overlay is added to
Returns¶
EventBubblingMode
Interaction results of this method.
Remarks:
This method is the concrete wrapper for its virtual Core method.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
DoubleTapCore(DoubleTapMapViewEventArgs, IMapView)¶
This protected virtual method is the Core method of MouseDoubleClick API.
protected EventBubblingMode DoubleTapCore(DoubleTapMapViewEventArgs e, IMapView mapView)
Parameters¶
e DoubleTapMapViewEventArgs
This parameter is the interaction arguments for the method.
mapView IMapView
The mapView the overlay is added to
Returns¶
EventBubblingMode
Interaction results of this method.
LongPress(LongPressMapViewEventArgs, IMapView)¶
This method will simulate the LongPress interaction.
public EventBubblingMode LongPress(LongPressMapViewEventArgs e, IMapView mapView)
Parameters¶
e LongPressMapViewEventArgs
This parameter is the interaction arguments for the method.
mapView IMapView
The mapView the overlay is added to
Returns¶
EventBubblingMode
Interaction results of this method.
Remarks:
This method is the concrete wrapper for its virtual Core method.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
LongPressCore(LongPressMapViewEventArgs, IMapView)¶
This protected virtual method is the Core method of LongPress API.
protected EventBubblingMode LongPressCore(LongPressMapViewEventArgs e, IMapView mapView)
Parameters¶
e LongPressMapViewEventArgs
This parameter is the interaction arguments for the method.
mapView IMapView
The mapView the overlay is added to
Returns¶
EventBubblingMode
Interaction results of this method.
Events¶
Drawing¶
This event raises before the overlay is drawing.
public event EventHandler<DrawingOverlayEventArgs> Drawing;
Drawn¶
This event raises after the overlay is drawn.
public event EventHandler<DrawnOverlayEventArgs> Drawn;
ChildrenReordered¶
public event EventHandler ChildrenReordered;
Focused¶
public event EventHandler<FocusEventArgs> Focused;
MeasureInvalidated¶
public event EventHandler MeasureInvalidated;
SizeChanged¶
public event EventHandler SizeChanged;
Unfocused¶
public event EventHandler<FocusEventArgs> Unfocused;
Loaded¶
public event EventHandler Loaded;
Unloaded¶
public event EventHandler Unloaded;
ChildAdded¶
public event EventHandler<ElementEventArgs> ChildAdded;
ChildRemoved¶
public event EventHandler<ElementEventArgs> ChildRemoved;
DescendantAdded¶
public event EventHandler<ElementEventArgs> DescendantAdded;
DescendantRemoved¶
public event EventHandler<ElementEventArgs> DescendantRemoved;
ParentChanging¶
public event EventHandler<ParentChangingEventArgs> ParentChanging;
ParentChanged¶
public event EventHandler ParentChanged;
HandlerChanging¶
public event EventHandler<HandlerChangingEventArgs> HandlerChanging;
HandlerChanged¶
public event EventHandler HandlerChanged;
PropertyChanged¶
public event PropertyChangedEventHandler PropertyChanged;
PropertyChanging¶
public event PropertyChangingEventHandler PropertyChanging;
BindingContextChanged¶
public event EventHandler BindingContextChanged;