Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
MBS FileMaker Plugin Example Databases
MapView Click Polygons
All examples are included with download of MBS FileMaker Plugin.
Overview | |
Tables | 2 |
Relationships | 1 |
Layouts | 2 |
Scripts | 10 |
Value Lists | 0 |
Custom Functions | 0 |
Custom Menus | 24 |
File Options | |
Default custom menu set | [Standard FileMaker Menus] |
When opening file | |
Minimum allowed version | 12.0 |
Login using | Account Name; Account= Admin |
Allow user to save password | Off |
Require iOS passcode | Off |
Switch to layout | Off |
Hide all toolbars | Off |
Script triggers | |
OnFirstWindowOpen | Script: Clear |
OnLastWindowClose | Off |
OnWindowOpen | Off |
OnWindowClose | Off |
OnFileAVPlayerChange | Off |
Thumbnail Settings | |
Generate Thumbnails | On; Temporary |
Table Name |
Statistics
| Occurrences in Relationship Graph |
MapView |
3 fields defined, 7 records
| MapView |
Points |
4 fields defined, 0 record
| Points |
Table Name: MapView - 3 Fields | ||||||||
Field Name | Type | Options | Comments | On Layouts | In Relationships | In Scripts | In Value Lists | |
Address | Normal, Text | Auto-Enter:
|
|
|
|
|
||
MapID | Normal, Text | Auto-Enter:
|
|
|||||
Clicked | Normal, Text | Auto-Enter:
|
|
|
Table Name: Points - 4 Fields | ||||||||
Field Name | Type | Options | Comments | On Layouts | In Relationships | In Scripts | In Value Lists | |
PointID | Normal, Text | Auto-Enter:
|
|
|
||||
Latitude | Normal, Number | Auto-Enter:
|
|
|
||||
Longitude | Normal, Number | Auto-Enter:
|
|
|
||||
MapID | Normal, Text | Auto-Enter:
|
|
Layout Objects: MapView
Field Name: Points::Latitude | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Field Name: Points::Longitude | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Field Name: MapView::Clicked | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Field Name: MapView::MapID | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Button Properties | Coordinates | Script/Script Step | ||||
|
| Perform Script [ “Create with Control” ] Scripts: |
Button Properties | Coordinates | Script/Script Step | ||||
|
| Perform Script [ “Clear” ] Scripts: |
Portal Properties | Coordinates | Fields | Options | ||
|
| Field Objects
|
|
Graphic Object Properties | Coordinates | ||||
|
|
Layout Objects: Points
Field Name: Points::PointID | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Field Name: Points::Latitude | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Field Name: Points::Longitude | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Field Name: Points::MapID | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Create with Control |
Show USA |
Close |
Clear |
Close All |
Hide |
Show |
Remove Annotations |
Clicked |
Update Polygon |
Next Script: [Show USA] |
Script Name | Create with Control |
Run script with full access privileges | Off |
Include In Menu | Yes |
Layouts that use this script | |
Scripts that use this script |
|
Script Definition | |
Script Steps |
|
Fields used in this script |
|
Scripts used in this script |
|
Layouts used in this script |
|
Tables used in this script |
|
Table occurrences used by this script |
|
Custom Functions used by this script |
|
Custom menu set used by this script |
|
Previous Script: [Create with Control] | Next Script: [Close] |
Script Name | Show USA |
Run script with full access privileges | Off |
Include In Menu | Yes |
Layouts that use this script |
|
Scripts that use this script |
|
Script Definition | |
Script Steps |
|
Fields used in this script |
|
Scripts used in this script |
|
Layouts used in this script |
|
Tables used in this script |
|
Table occurrences used by this script |
|
Custom Functions used by this script |
|
Custom menu set used by this script |
|
Previous Script: [Show USA] | Next Script: [Clear] |
Script Name | Close |
Run script with full access privileges | Off |
Include In Menu | Yes |
Layouts that use this script |
|
Scripts that use this script |
|
Script Definition | |
Script Steps |
|
Fields used in this script |
|
Scripts used in this script |
|
Layouts used in this script |
|
Tables used in this script |
|
Table occurrences used by this script |
|
Custom Functions used by this script |
|
Custom menu set used by this script |
|
Previous Script: [Close] | Next Script: [Close All] |
Script Name | Clear |
Run script with full access privileges | Off |
Include In Menu | No |
Layouts that use this script | |
Scripts that use this script |
|
Script Definition | |
Script Steps |
|
Fields used in this script | |
Scripts used in this script |
|
Layouts used in this script |
|
Tables used in this script | |
Table occurrences used by this script | |
Custom Functions used by this script |
|
Custom menu set used by this script |
|
Previous Script: [Clear] | Next Script: [Hide] |
Script Name | Close All |
Run script with full access privileges | Off |
Include In Menu | Yes |
Layouts that use this script |
|
Scripts that use this script |
|
Script Definition | |
Script Steps |
|
Fields used in this script |
|
Scripts used in this script |
|
Layouts used in this script |
|
Tables used in this script |
|
Table occurrences used by this script |
|
Custom Functions used by this script |
|
Custom menu set used by this script |
|
Previous Script: [Close All] | Next Script: [Show] |
Script Name | Hide |
Run script with full access privileges | Off |
Include In Menu | Yes |
Layouts that use this script |
|
Scripts that use this script |
|
Script Definition | |
Script Steps |
|
Fields used in this script |
|
Scripts used in this script |
|
Layouts used in this script |
|
Tables used in this script |
|
Table occurrences used by this script |
|
Custom Functions used by this script |
|
Custom menu set used by this script |
|
Previous Script: [Hide] | Next Script: [Remove Annotations] |
Script Name | Show |
Run script with full access privileges | Off |
Include In Menu | Yes |
Layouts that use this script |
|
Scripts that use this script |
|
Script Definition | |
Script Steps |
|
Fields used in this script |
|
Scripts used in this script |
|
Layouts used in this script |
|
Tables used in this script |
|
Table occurrences used by this script |
|
Custom Functions used by this script |
|
Custom menu set used by this script |
|
Previous Script: [Show] | Next Script: [Clicked] |
Script Name | Remove Annotations |
Run script with full access privileges | Off |
Include In Menu | Yes |
Layouts that use this script |
|
Scripts that use this script |
|
Script Definition | |
Script Steps |
|
Fields used in this script |
|
Scripts used in this script |
|
Layouts used in this script |
|
Tables used in this script |
|
Table occurrences used by this script |
|
Custom Functions used by this script |
|
Custom menu set used by this script |
|
Previous Script: [Remove Annotations] | Next Script: [Update Polygon] |
Script Name | Clicked |
Run script with full access privileges | Off |
Include In Menu | Yes |
Layouts that use this script |
|
Scripts that use this script |
|
Script Definition | |
Script Steps |
|
Fields used in this script | |
Scripts used in this script | |
Layouts used in this script | |
Tables used in this script | |
Table occurrences used by this script | |
Custom Functions used by this script |
|
Custom menu set used by this script |
|
Previous Script: [Clicked] |
Script Name | Update Polygon |
Run script with full access privileges | Off |
Include In Menu | Yes |
Layouts that use this script |
|
Scripts that use this script | |
Script Definition | |
Script Steps |
|
Fields used in this script | |
Scripts used in this script |
|
Layouts used in this script | |
Tables used in this script | |
Table occurrences used by this script | |
Custom Functions used by this script |
|
Custom menu set used by this script |
|
Download example: MapView Click Polygons
Used functions:- FM.UpdateRecord
- JSON.AddItemToArray
- JSON.AddItemToObject
- MapView.AddPoint
- MapView.AddPolygon
- MapView.CreateWithControl
- MapView.GetOverlayPoints
- MapView.Release
- MapView.ReleaseAll
- MapView.RemoveAnnotations
- MapView.RemoveOverlays
- MapView.SetCoordinate
- MapView.SetOverlayPoints
- MapView.SetScript
- MapView.SetVisible