removeMapIcon

fun removeMapIcon(markerId: String)

Removes a marker added to the map using its identifier (markerId).

This method deletes the corresponding marker from the map using the internal identifier (ID) of the marker options used in the previous addMapIcon call.

Parameters

markerId

The ID of the marker to remove.