createMarker

abstract fun createMarker(node: MPINavigatable.MPINode, contentHtml: String, markerOptions: MPIOptions.Marker = MPIOptions.Marker()): String

Creates a marker on a MPINavigatable.MPINode

Return

String containing 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

abstract fun createMarker(coordinate: MPIMap.MPICoordinate, contentHtml: String, markerOptions: MPIOptions.Marker = MPIOptions.Marker()): String

Creates a marker on a MPINavigatable.MPICoordinate

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