OmhMapImpl
class OmhMapImpl(val mapView: MapView, context: Context, myLocationIcon: ImageView = MyLocationIcon(context), polylineManager: PolylineManager = PolylineManager(mapView), polygonManager: PolygonManager = PolygonManager(mapView), logger: Logger = commonLogger) : OmhMap, IMapDragManagerDelegate, IOmhInfoWindowMapViewDelegate
Constructors
Link copied to clipboard
constructor(mapView: MapView, context: Context, myLocationIcon: ImageView = MyLocationIcon(context), polylineManager: PolylineManager = PolylineManager(mapView), polygonManager: PolygonManager = PolygonManager(mapView), logger: Logger = commonLogger)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Converts the screen coordinate to the map position.
Link copied to clipboard
open override fun findInteractableEntities(screenCoordinate: ScreenCoordinate, validator: (predicate: ITouchInteractable) -> Boolean?): List<ITouchInteractable>
Returns an entity (if present and in draggable state) that can possibly be dragged.
Link copied to clipboard
Link copied to clipboard
Returns the height of the map in pixels.
Link copied to clipboard
Returns the width of the map in pixels.
Link copied to clipboard
Callback invoked when drag event is finished.
Link copied to clipboard
Callback invoked when drag event is in progress, called sequentially as the user moves pointer on the screen.
Link copied to clipboard
Callback invoked when drag event is started.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Converts the map position to the screen coordinate.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun setMyLocationButtonClickListener(omhOnMyLocationButtonClickListener: OmhOnMyLocationButtonClickListener)
Link copied to clipboard
@RequiresPermission(anyOf = ["android.permission.ACCESS_COARSE_LOCATION", "android.permission.ACCESS_FINE_LOCATION"] )
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun setOnInfoWindowOpenStatusChangeListener(listener: OmhOnInfoWindowOpenStatusChangeListener)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard