addCustomMarker

open fun addCustomMarker(options: SymbolOptions): Symbol

Adds a custom marker to the map based on the options provided.

Please note, the map will manage all markers added. Calling clearMarkers will clear all destination / custom markers that have been added to the map.

Return

the com.mapbox.mapboxsdk.plugins.annotation.Symbol that added to the map or null if adding fails

Parameters

options

for the custom com.mapbox.mapboxsdk.plugins.annotation.Symbol