Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Sets new image for annotation.

Component Version macOS Windows Linux Server iOS SDK
MapView 9.5 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "MapView.SetAnnotationImage"; MapView; Annotation Identifier; Image )   More


Parameter Description Example
MapView The map view reference number. $$MapView
Annotation Identifier The identifier for the annotation. "82001"
Image The image to use. Pass a container value with JPEG, TIFF, PNG or other image formats. $image


Returns OK or error.


Sets new image for annotation.
Only for point annotations.


Update image:

Set Variable [ $r ; Value: MBS( "MapView.SetAnnotationImage"; $$MapView; 82001; MapView::Image2; 40; 40 ) ]

See also

Release notes

Blog Entries

This function is free to use.

Created 20th September 2019, last changed 20th September 2019

MapView.SetAnnotationDragImage - MapView.SetAnnotationSelectedImage