addMarker

Add the map marker to map view associated with this PMMapDataModel. If you need to add multiple markers, use method addMarkers(marker: List).

Return

id of created marker

Parameters

marker

map marker definition

Throws

if marker's bitmap is larger than 500kB