MapView.Release
---------------

Releases the map view and reclaims memory.

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

MBS( "MapView.Release"; MapView ) 

**MBS**( **"MapView.Release";** /\* Releases the map view and reclaims memory. \*/  
**$MapView**) /\* The map view reference number.e.g. $$MapView \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| MapView | The map view reference number. | $$MapView |

### Result

Returns OK or error.

### Description

Releases the map view and reclaims memory.  
### See also

- [ImageView.Release](ImageViewRelease.md)
- [MapView.CreateWithControl](MapViewCreateWithControl.md)
- [MapView.CreateWithSize](MapViewCreateWithSize.md)
- [MapView.List](MapViewList.md)
- [MapView.ReleaseAll](MapViewReleaseAll.md)
- [Matrix.Release](MatrixRelease.md)
- [Preview.Release](PreviewRelease.md)
- [TextView.Release](TextViewRelease.md)

### Example Databases

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

### FileMaker Magazin

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

This function checks for a license.

Created 14th January 2019 , last changed 15th January 2019

  
[MapView.PointForCoordinate](MapViewPointForCoordinate.md) - [MapView.ReleaseAll](MapViewReleaseAll.md)

[HTML Version](MapViewRelease.shtml)