Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
MapView.ShowAddress
Shows an address.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
MapView | 9.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "MapView.ShowAddress"; MapView; Address { ; addPin; Identifier; color } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
MapView | The map view reference number. | $$MapView | |
Address | The address to lookup." | "New York" | |
addPin | Whether to add a pin. Pass 0 to just show the area or 1 to add pin and show the area. |
1 | 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 OK, identifier or error.
Description
Shows an address.Asynchronously queries coordinate for given address and shows it.
Examples
Show pin in New York in green:
MBS("MapView.ShowAddress"; $$MapView; "New York"; 1; ""; "#00FF00")
Release notes
- Version 9.5
- Fixed bug with MapView.ShowAddress zooming too close.
- 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.
- Fixed MapView.ShowAddress to correctly center on the found placemark instead of the region for that placemark.
- Version 9.1
- Changed MapView.ShowAddress and MapView.AddPinWithAddress to return errors if address is not found.
Example Databases
Blog Entries
- MBS FileMaker Plugin, version 9.5pr4
- MBS FileMaker Plugin, version 9.4pr6
- MBS FileMaker Plugin, version 9.3pr4
- MBS FileMaker Plugin, version 9.3pr2
- More on MapViews in FileMaker
- MBS FileMaker Plugin, version 9.1pr2
- Apple Maps in FileMaker on iOS
FileMaker Magazin
This function is free to use.
Created 14th January 2019, last changed 9th September 2019