MapView.ReleaseAll
------------------

A convenience method to release all map views.

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

MBS( "MapView.ReleaseAll" ) ### Parameters

none

### Result

Returns number of views released.

### Description

A convenience method to release all map views.  
### Examples

Cleanup:

 Set Variable \[ $r ; Value: MBS ( "MapView.ReleaseAll" ) \]  
### See also

- [ImageView.ReleaseAll](ImageViewReleaseAll.md)
- [MapView.Release](MapViewRelease.md)
- [MarkDown.ReleaseAll](MarkDownReleaseAll.md)
- [Matrix.ReleaseAll](MatrixReleaseAll.md)
- [Preview.ReleaseAll](PreviewReleaseAll.md)
- [TextView.ReleaseAll](TextViewReleaseAll.md)

### Example Databases

- [Mac and iOS/MapKit/MapView BeeExample](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/MapKit/MapView%20BeeExample.shtml#4ScriptAnchor_)
- [Mac and iOS/MapKit/MapView Click Polygons](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/MapKit/MapView%20Click%20Polygons.shtml#4ScriptAnchor_)
- [Mac and iOS/MapKit/MapView](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/MapKit/MapView.shtml#4ScriptAnchor_)

### Blog Entries

- [MBS FileMaker Advent calendar - Door 11 - Know Your Way](https://www.mbsplugins.de/archive/2024-12-11/MBS_FileMaker_Advent_calendar_/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin Advent calendar: 20 - MapView](https://www.mbsplugins.de/archive/2023-12-20/MBS_Plugin_Advent_calendar_20_/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 1/2022, Seite 28](https://filemaker-magazin.de/neuigkeit/4172-Appetithappen-FMM_202201)

This function is free to use.

Created 14th January 2019 , last changed 27th August 2023

  
[MapView.Release](MapViewRelease.md) - [MapView.RemoveAnnotation](MapViewRemoveAnnotation.md)

[HTML Version](MapViewReleaseAll.shtml)