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
- 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 is free to use.
Created 14th January 2019, last changed 12nd June 2020