MapView.SetAnnotationDragImage
------------------------------

Sets new drag image for annotation.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [MapView](component_MapView.md) | [9.5](newinversion95.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "MapView.SetAnnotationDragImage"; MapView; Annotation Identifier; Image ) 

**MBS**( **"MapView.SetAnnotationDragImage";** /\* Sets new drag image for annotation. \*/  
**$MapView**; /\* The map view reference number.e.g. $$MapView \*/   
**$Annotation Identifier**; /\* The identifier for the annotation.e.g. "82001" \*/   
**$Image**) /\* The image to use. Pass a container value with JPEG, TIFF, PNG or other image formats. \*/ 

### 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 drag image for annotation.  
Only for point annotations.  
### See also

- [MapView.GetAnnotationDragImage](MapViewGetAnnotationDragImage.md)
- [MapView.GetAnnotationImage](MapViewGetAnnotationImage.md)
- [MapView.SetAnnotationCoordinate](MapViewSetAnnotationCoordinate.md)
- [MapView.SetAnnotationImage](MapViewSetAnnotationImage.md)
- [MapView.SetAnnotationSelectedImage](MapViewSetAnnotationSelectedImage.md)

### Release notes

- **Version 9.5**
    - Added [MapView.GetAnnotationDragImage](http://www.mbsplugins.eu/MapViewGetAnnotationDragImage.shtml) and [MapView.SetAnnotationDragImage](http://www.mbsplugins.eu/MapViewSetAnnotationDragImage.shtml).

### Blog Entries

- [MBS FileMaker Plugin, version 9.5pr1](https://www.mbsplugins.de/archive/2019-10-02/MBS_FileMaker_Plugin_version_9/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 23th September 2019 , last changed 23th September 2019

  
[MapView.SetAnnotationCoordinate](MapViewSetAnnotationCoordinate.md) - [MapView.SetAnnotationImage](MapViewSetAnnotationImage.md)

[HTML Version](MapViewSetAnnotationDragImage.shtml)