Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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
- Version 9.5
- Added MapView.GetAnnotationImage, MapView.GetOverlayPoints, MapView.SetAnnotationImage and MapView.SetOverlayPoints functions.
Blog Entries
This function is free to use.
Created 20th September 2019, last changed 20th September 2019
MapView.SetAnnotationDragImage - MapView.SetAnnotationSelectedImage
