addPlacemarkWithCallback abstract method

PlacemarkMapObject addPlacemarkWithCallback(
  1. PlacemarkCreatedCallback placemarkCreatedCallback
)

Creates a new empty placemark and adds it to the current collection. Callback can be used to setup placemark style and position Callback will be called before MapObjectCollectionListener#onMapObjectAdded

Implementation

mapkit_map_placemark.PlacemarkMapObject addPlacemarkWithCallback(
    mapkit_map_base_map_object_collection.PlacemarkCreatedCallback
        placemarkCreatedCallback);