Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.0
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
Statistic
FMM
Blog
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
- Version 9.4
- Changed MapView.AddPin, MapView.AddPinWithAddress or MapView.ShowAddress to return identifier for new pin.
- Version 9.3
- Added identifier and color parameters for MapView.AddPin, MapView.AddPinWithAddress, MapView.PlanRoute and MapView.ShowAddress functions.
- Version 9.1
- Changed MapView.ShowAddress and MapView.AddPinWithAddress to return errors if address is not found.
Blog Entries
- MBS FileMaker Plugin, version 9.4pr6
- MBS FileMaker Plugin, version 9.3pr2
- More on MapViews in FileMaker
- Apple Maps in FileMaker on iOS
This function does not need a paid license.
Created 14th January 2019, last changed 12nd June 2020
