OptionalandroidOptionaldownloadedOptionaliconPrefix with 'res://' and load a file from the resources folder. Details on how 'res://' is used can be found here: https://docs.nativescript.org/ui/images#load-images-from-resource Example: "res://icon.file"
OptionaliconThe preferred way is using the 'icon' property, but you can still reference a local file directly. Example: "~/assets/markers/green_pin_marker.png"
OptionalidSet this in case you want to later pass it to 'removeMarker'.
OptionaliosOptionalonA callback function to invoke when the callout (popup) of this marker is tapped.
OptionalonA callback function to invoke when the marker is tapped.
OptionalselectedSet to true to select the marker when rendered - effectively showing any configured callout. Note that only 1 callout will be shown at any time on a Mapbox map. Default false.
OptionalsubtitleOptionaltitleOptionalupdate
internally used to know if the marker image is already downloaded