CLGeocoder.Close
----------------

Closes a request and frees memory.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CLGeocoder](component_CLGeocoder.md) | [4.1](newinversion41.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "CLGeocoder.Close"; Geocoder ) 

**MBS**( **"CLGeocoder.Close";** /\* Closes a request and frees memory. \*/  
**$Geocoder**) /\* The reference number of the geocoder instance. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Geocoder | The reference number of the geocoder instance. | $Geocoder |

### Result

Returns OK or error.

### Description

Closes a request and frees memory.  
Call this to close the request.  
### See also

- [CLGeocoder.Cancel](CLGeocoderCancel.md)
- [CLGeocoder.Done](CLGeocoderDone.md)
- [CLGeocoder.GeocodeAddressString](CLGeocoderGeocodeAddressString.md)
- [CLGeocoder.JSON](CLGeocoderJSON.md)
- [CLGeocoder.ReverseGeocodeLocation](CLGeocoderReverseGeocodeLocation.md)

### Example Databases

- [Mac and iOS/CoreLocation/Address Mapping](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/CoreLocation/Address%20Mapping.shtml#1ScriptAnchor_)
- [Mac and iOS/CoreLocation/CLGeocoder](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/CoreLocation/CLGeocoder.shtml#1ScriptAnchor_)
- [Mac and iOS/MapKit/Validate Address](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/MapKit/Validate%20Address.shtml#1ScriptAnchor_)

### Blog Entries

- [Use MapKit to validate addresses](https://www.mbsplugins.de/archive/2024-02-15/Use_MapKit_to_validate_address/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin Advent calendar: 8 - Determine your own position](https://www.mbsplugins.de/archive/2023-12-08/MBS_Plugin_Advent_calendar_8_-/monkeybreadsoftware_blog_filemaker)
- [Core Location Geocoder with JSON](https://www.mbsplugins.de/archive/2020-02-12/Core_Location_Geocoder_with_JS/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[CLGeocoder.Cancelled](CLGeocoderCancelled.md) - [CLGeocoder.Distance](CLGeocoderDistance.md)

[HTML Version](CLGeocoderClose.shtml)