MapOverlayPluginImpl

class MapOverlayPluginImpl : MapOverlayPlugin

Impl class for MapOverlayPlugin

Constructors

MapOverlayPluginImpl
Link copied to clipboard
fun MapOverlayPluginImpl()

Functions

cleanup
Link copied to clipboard
open override fun cleanup()
Called when the map is destroyed.
getEdgeInsets
Link copied to clipboard
open override fun getEdgeInsets(): EdgeInsets
Get an EdgeInsets that represent the width and height of overlays
initialize
Link copied to clipboard
open fun initialize()
onDelegateProvider
Link copied to clipboard
open override fun onDelegateProvider(delegateProvider: MapDelegateProvider)
Provides all map delegate instances.
onSizeChanged
Link copied to clipboard
open override fun onSizeChanged(width: Int, height: Int)
Invoked when MapView's width and height have changed.
reframe
Link copied to clipboard
open override fun reframe(onReframeFinished: OnReframeFinished?)
Reframe MapView to a certain zoom and position to make sure every coordinate will be shown on the MapView and not covered by registered MapOverlays.
registerMapOverlayCoordinatesProvider
Link copied to clipboard
open override fun registerMapOverlayCoordinatesProvider(provider: MapOverlayCoordinatesProvider)
To register a MapOverlayCoordinatesProvider instance to the Container
registerOverlay
Link copied to clipboard
open override fun registerOverlay(overlay: View)
Register an MapOverlay instance.
registerOverlays
Link copied to clipboard
open override fun registerOverlays(overlays: List<View>)
Register views as overlays
setDisplayingAreaMargins
Link copied to clipboard
open override fun setDisplayingAreaMargins(marginTop: Int, marginLeft: Int, marginBottom: Int, marginRight: Int)
Set the margins for the area that displaying import POIs without covered.
unregisterMapOverlayCoordinatesProvider
Link copied to clipboard
open override fun unregisterMapOverlayCoordinatesProvider()
Unregister the MapOverlayCoordinatesProvider.
unregisterOverlay
Link copied to clipboard
open override fun unregisterOverlay(overlay: View)
Unregister an MapOverlay instance.
unregisterOverlays
Link copied to clipboard
open override fun unregisterOverlays(overlays: List<View>)
Unregister views.