MapHandler Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Handler for the IMap control that manages the platform-specific map implementation.
public ref class MapHandler : Microsoft::Maui::Handlers::ViewHandler<Microsoft::Maui::Maps::IMap ^, System::Object ^>, Microsoft::Maui::Maps::Handlers::IMapHandler
public class MapHandler : Microsoft.Maui.Handlers.ViewHandler<Microsoft.Maui.Maps.IMap,object>, Microsoft.Maui.Maps.Handlers.IMapHandler
type MapHandler = class
inherit ViewHandler<IMap, obj>
interface IMapHandler
interface IViewHandler
interface IElementHandler
Public Class MapHandler
Inherits ViewHandler(Of IMap, Object)
Implements IMapHandler
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| MapHandler() |
Initializes a new instance of the MapHandler class with default mappers. |
| MapHandler(IPropertyMapper, CommandMapper) |
Initializes a new instance of the MapHandler class with optional custom mappers. |
Fields
| Name | Description |
|---|---|
| CommandMapper |
The command mapper that maps cross-platform commands to platform-specific methods. |
| Mapper |
The property mapper that maps cross-platform properties to platform-specific methods. |
Properties
| Name | Description |
|---|---|
| ContainerView |
Gets the view that acts as a container for the PlatformView. (Inherited from ViewHandler) |
| HasContainer |
Gets or sets a value that indicates whether the PlatformView is contained within a view. (Inherited from ViewHandler) |
| MauiContext | (Inherited from ElementHandler) |
| NeedsContainer |
Gets a value that indicates whether or not the VirtualView needs a container view. (Inherited from ViewHandler) |
| PlatformView | (Inherited from ViewHandler<TVirtualView,TPlatformView>) |
| Services | (Inherited from ElementHandler) |
| VirtualView | (Inherited from ViewHandler<TVirtualView,TPlatformView>) |
Methods
Explicit Interface Implementations
| Name | Description |
|---|---|
| IElementHandler.DisconnectHandler() | (Inherited from ElementHandler) |
| IElementHandler.PlatformView | (Inherited from ViewHandler<TVirtualView,TPlatformView>) |
| IElementHandler.VirtualView | (Inherited from ViewHandler<TVirtualView,TPlatformView>) |
| IMapHandler.PlatformView | |
| IMapHandler.VirtualView | |
| IViewHandler.ContainerView | (Inherited from ViewHandler) |
| IViewHandler.VirtualView | (Inherited from ViewHandler<TVirtualView,TPlatformView>) |