createMarker

open override fun createMarker(node: MPINavigatable.MPINode, contentHtml: String, options: MPIOptions.Marker): String

Deprecated

MPIMapView.createMarker has been deprecated. MPIMarkerManager.markerManager.add should be used instead.

Creates a marker on a MPINavigatable.MPINode Deprecated: Use MPIMarkerManager.add instead.

Return

the String id of the created marker

Parameters

node

The MPINavigatable.MPINode on which a marker will be displayed

contentHtml

The Html code which defines the appearance of the marker

markerOptions

Marker options, defaults to no options


open override fun createMarker(coordinate: MPIMap.MPICoordinate, contentHtml: String, options: MPIOptions.Marker): String

Deprecated

MPIMapView.createMarker has been deprecated. MPIMarkerManager.markerManager.add should be used instead.

Creates a marker on a MPINavigatable.MPICoordinate Deprecated: Use MPIMarkerManager.add instead.

Return

String containing id of the created marker

Parameters

node

The MPINavigatable.MPICoordinate on which a marker will be displayed

contentHtml

The Html code which defines the appearance of the marker

markerOptions

Marker options, defaults to no options