Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

MapView.SetAnnotationImage

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

Parameters

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

Result

Returns OK or error.

Description

Sets new image for annotation.
Only for point annotations.

Examples

Update image:

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

See also

Release notes

Blog Entries

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


MapView.SetAnnotationDragImage - MapView.SetAnnotationSelectedImage

Feedback: Report problem or ask question.