Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

MapView.AddPin

Adds a pin to the map.

Component Version macOS Windows Linux Server iOS SDK
MapView 9.0 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes

Deprecated

This function was deprecated. Use MapView.AddPoint instead.

MBS( "MapView.AddPin"; MapView; Latitude; Longitude { ; Title; Subtitle; Identifier; color } )   More

Parameters

Parameter Description Example Flags
MapView The map view reference number. $$MapView
Latitude The latitude of the coordinate.
Longitude The longitude of the coordinate.
Title The title for the pin. Optional
Subtitle The subtitle for the pin. Optional
Identifier Available in MBS FileMaker Plugin 9.3 or newer.
The identifier for the pin to use with script trigger.
Optional
color Available in MBS FileMaker Plugin 9.3 or newer.
The color to use.
Can be a color name or hex notation like in HTML.
"#FF0000" Optional

Result

Returns identifier or error.

Description

Adds a pin to the map.
Deprecated. Please use MapView.AddPoint function instead for more options.

See also

Release notes

Blog Entries

This function is free to use.

Created 14th January 2019, last changed 12nd June 2020


MapView.AddCircle - MapView.AddPinWithAddress