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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
MapView.AddPin
Adds a pin to the map.
| Component | Version | macOS | Windows | Linux | Server | FileMaker 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
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
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.
Created 14th January 2019, last changed 12nd June 2020
MapView.AddCircle - MapView.AddPinWithAddress
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins