Pro Maps Popovers
What's a popover?
Popovers are the sprites that come up when you click on a pin in the map:
How can I change what appears on the map's popovers?
This is done on one of the Setup layouts. Navigate to "ProMaps Setup" using the layout menu or from the "Settings" button on the home screen...
...and select "Popover" from the tabs in the upper right. There you'll be able to change the field mapping and field labels on the popover.
By manipulating the fields on this Popover Setup layout you can change which fields show up the map popover: changing not just the fields, but their labels as well.
Before you get started, note that every field and label on this layout has a object name. The object name of the selected object below is "DataOption1"...
...and without these names, none of this works. So the work you'll do editing this layout is in renaming and repointing the fields and field labels already on the layout, rather than adding new objects to the layout. You won't change the object names themselves but will point the fields to new fields and change the text of the labels.
Using a completely custom display
If field mapping won't let you get the popover display the way you'd like it, you can bypass that completely and write your own html for the popover, including fields from your properties table as you see fit.
If you do want to tackle this customization you can edit the field "Properties::gm_MapData"
Can I add my own links or changes the scripts the current links run?
GoMaps ships with two links at the bottom of the popover: "View Record" and "Get Directions." Both links run FileMaker scripts and you can configure these (change their names, call new scripts, and add your own scripts) by editing the field "Properties::gm_MapData.
Find the comment "Button Links" in that field and edit the next line. You'll see each button called out in html with a FileMaker script associated with it. Here is what "View Record" looks like:
"<a href=\"fmp://$/<<fileName>>?script=ViewPropertyRecord (propertyID)¶m=" & SC_EncodeEntities ($sc_propertyRecordID) & "\"" & sc_isHostedCheck & ">View Record</a>"
You'll see a third entry that you can use as the basis for your own link, and it also helps decode the link syntax for you: there is placeholder text in there for "YourScriptName", "ParametersGoHere", and "Link Displays As This".
Change those three values to your liking and you'll have your own link.