add
fun add( node: MPINavigatable.MPINode, contentHtml: String, markerOptions: MPIOptions.Marker? = MPIOptions.Marker(), addMarkerCallBack: (String?) -> Unit? = null)
Create a Marker for a MPINavigatable.MPINode.
Return
Unit Marker Id
Parameters
node
: The MPINavigatable.MPINode to set the Marker on
contentHtml
: An HTML string used to display the Marker
markerOptions
: MPIOptions.Marker, including a Marker rank, and an anchor
fun add( coordinate: MPIMap.MPICoordinate, contentHtml: String, markerOptions: MPIOptions.Marker? = MPIOptions.Marker(), addMarkerCallBack: (String?) -> Unit? = null)
Create a Marker for a MPIMap.MPICoordinate.
Return
Unit Marker Id
Parameters
coordinate
: The MPIMap.MPICoordinate to set the Marker on
contentHtml
: An HTML string used to display the Marker
markerOptions
: MPIOptions.Marker, including a Marker rank, and an anchor