CLGeocoder.PlacemarkCount
-------------------------

Queries the number of placemarks found.

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

MBS( "CLGeocoder.PlacemarkCount"; Geocoder ) 

**MBS**( **"CLGeocoder.PlacemarkCount";** /\* Queries the number of placemarks found. \*/  
**$Geocoder**) /\* The reference number of the geocoder instance. \*/ 

### Parameters

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

### Result

Returns count or error.

### Description

Queries the number of placemarks found.  
### Examples

Queries placemark count:

 MBS ("CLGeocoder.PlacemarkCount"; $g )  
### See also

- [CLGeocoder.Done](CLGeocoderDone.md)
- [CLGeocoder.PlacemarkValue](CLGeocoderPlacemarkValue.md)

### Example Databases

- [Mac and iOS/CoreLocation/CLGeocoder](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/CoreLocation/CLGeocoder.shtml#3ScriptAnchor_)
- [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)

This function is free to use.

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

  
[CLGeocoder.JSON](CLGeocoderJSON.md) - [CLGeocoder.PlacemarkValue](CLGeocoderPlacemarkValue.md)

[HTML Version](CLGeocoderPlacemarkCount.shtml)