MapView.GetAnnotationDragImage
------------------------------

Queries drag image used for an annotation.

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

MBS( "MapView.GetAnnotationDragImage"; MapView; Annotation Identifier { ; ImageType; FileName } ) 

**MBS**( **"MapView.GetAnnotationDragImage";** /\* Queries drag image used for an annotation. \*/  
**$MapView**; /\* The map view reference number.e.g. $$MapView \*/   
**$Annotation Identifier**; /\* The identifier for the annotation.e.g. "82001" \*/   
**$ImageType**; /\* Optional; The type of image to return.   
Either JPEG, PNG, GIF or BMP. Default is JPEG.e.g. "JPEG" \*/   
**$FileName**) /\* Optional; The filename to use for the picture.   
Default is "image" with the extension matching the image type.e.g. "test.jpg" \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| MapView | The map view reference number. | $$MapView |  |
| Annotation Identifier | The identifier for the annotation. | "82001" |  |
| ImageType | The type of image to return.    Either JPEG, PNG, GIF or BMP. Default is JPEG. | "JPEG" | Optional |
| FileName | The filename to use for the picture.    Default is "image" with the extension matching the image type. | "test.jpg" | Optional |

### Result

Returns container value or error.

### Description

Queries drag image used for an annotation.  
Only for point annotations with image.  
### See also

- [MapView.GetAnnotationCoordinate](MapViewGetAnnotationCoordinate.md)
- [MapView.GetAnnotationImage](MapViewGetAnnotationImage.md)
- [MapView.GetAnnotationSelectedImage](MapViewGetAnnotationSelectedImage.md)
- [MapView.SetAnnotationDragImage](MapViewSetAnnotationDragImage.md)
- [MapView.SetAnnotationImage](MapViewSetAnnotationImage.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 29th September 2020

  
[MapView.GetAnnotationCoordinate](MapViewGetAnnotationCoordinate.md) - [MapView.GetAnnotationImage](MapViewGetAnnotationImage.md)

[HTML Version](MapViewGetAnnotationDragImage.shtml)