GoMaps

Troubleshooting

GoMaps.Troubleshooting History

Hide minor edits - Show changes to output

March 14, 2019, at 04:38 PM by 192.88.134.15 -
Changed line 1 from:
!!FIleMaker 16: Changes Required
to:
!!FIleMaker 16-17: Changes Required
February 28, 2019, at 07:24 PM by Ana Petrechenko - Added FMP URL Section
Added lines 1-18:
!!FIleMaker 16: Changes Required

FileMaker introduced a new extended privilege in 16 that permits the FMP URL protocol to function. The first time you open ProMaps, DayBack, or any webviewer-heavy solution in next without this privilege enabled, you'll see this error:

%center% %newwin width=440px% [[http://www.seedcode.com/rootimages/stikipad/dayback/urlerror1-2.png | http://www.seedcode.com/rootimages/stikipad/dayback/urlerror1-2.png]]

The fix is simply to enable the new privilege. Here's how.

--> '''1.''' Select File / Manage / Security from the FileMaker menus.

--> '''2.''' Click on the "Extended Privileges Tab", then double-click the "fmurlscript" keyword.

--> '''3.''' Check "on" for any privilege sets you wish to be able to use DayBack.

--> '''4.''' That's it!

Why did FileMaker make this change? They believed that malicious users who knew your script names could trigger them from URLs even if you didn't provide buttons for those scripts. But users would still need to be logged into FMP with sufficient permission to run the script: the FMP URL doesn't bypass FileMaker security in any way.

March 31, 2017, at 06:24 PM by 192.88.134.15 -
Added lines 11-12:
You might need to add a (free) API key from Google. Google's intention is that it's only needed for larger data sets but it has resolved this issue for people who are using the older version of ProMaps. instructions for adding getting an API key and adding it to ProMaps are [[GoogleAPI | here]].
Changed line 41 from:
-> '''5.''' On your Properties Map layout (and any other layouts that display the map), change the "Web Address" of the map web viewer object to simply "$$sc_MapURL" -- without the quotes.
to:
-> '''5.''' On your Properties Map layout (and any other layouts that display the map), change the "Web Address" of the map web viewer object to simply "$$sc_MapURL" -- without the quotes.
October 18, 2016, at 06:06 PM by Dan Wheelon - FM Go 15
Changed lines 25-39 from:
You can use external storage for the images you show in your map's popovers, but you can not use secure storage. If you need secure storage for your images, make a second container field to use in the map, set that to NOT use secure storage and add an auto-enter calc to grab a thumbnail of the secure image using GetThumbnail(). (You should be using thumbnails anyways to speed things up.)
to:
You can use external storage for the images you show in your map's popovers, but you can not use secure storage. If you need secure storage for your images, make a second container field to use in the map, set that to NOT use secure storage and add an auto-enter calc to grab a thumbnail of the secure image using GetThumbnail(). (You should be using thumbnails anyways to speed things up.)

!! ProMaps isn't displaying any pins in FileMaker Go 15

A change in FM Go 15's web viewer has required a change in how ProMaps loads the map. This is resolved in ProMaps 1.05, but you can make the fix in ProMaps 1.03 by following these steps:

-> '''1.''' [[http://www.seedcode.com/contact/ | Contact us]] to get a copy of ProMaps 1.03 with the fix for Go 15

-> '''2.''' Make a backup of your files before making any changes

-> '''3.''' In the "Export Map HTML" script in your file, disable or delete the the final Set Field [MapSettings::HTMLExportGlob] field.

-> '''4.''' From the attached copy of ProMaps, copy the final four steps of the "Export Map HTML" script (lines 39-46), and paste them at the bottom of the same script in your file.

-> '''5.''' On your Properties Map layout (and any other layouts that display the map), change the "Web Address" of the map web viewer object to simply "$$sc_MapURL" -- without the quotes.
June 24, 2016, at 06:27 PM by Dan Wheelon - Not seeing images in the map? Windows 10 note
Changed lines 15-16 from:
If you are running a newer version of Windows, you may need make a small edit to the Load Marker Images script. Find the "Set Variable [$$sc_markerIconURL[i]" step, and replace the "%20" with a space " ". This should let the ProMaps webviewer access the icon images, and the change will not affect your Mac users.
to:
If you are running a newer version of Windows, you may need make a small edit to the "Load Marker Images" script. Find the "Set Variable [$$sc_markerIconURL[i]" step, and replace the "%20" with a space " ". This should let the ProMaps webviewer access the icon images, and the change will not affect your Mac users.
Added lines 20-21:

If you are running Windows 10, two small edits should resolve this. In the "Export Map HTML" script, modify the final Set Field step by replacing the "%20" with a space " " toward the top of the calculation. Then, in the gm_MapData field in the Properties table, find the line [" " ; "%20"] toward the middle of the calculation. Replace the "%20" with a space " " here also. After closing and reopening ProMaps, your images should appear on the popovers.
December 16, 2015, at 10:41 PM by Dan Wheelon - Added note about replacing "%20" with " " for icon url for users with newer versions of windows.
Added lines 14-15:

If you are running a newer version of Windows, you may need make a small edit to the Load Marker Images script. Find the "Set Variable [$$sc_markerIconURL[i]" step, and replace the "%20" with a space " ". This should let the ProMaps webviewer access the icon images, and the change will not affect your Mac users.
March 12, 2014, at 06:54 PM by 98.203.211.206 -
Changed line 13 from:
Most likely this is caused because the latitude and longitude of your properties have not been entered. This normally happens when an address is changed or modified as we have script triggers on the address fields in our detail layout. If you have imported records or are using an alternate method for entering addresses the geo locations may not have been looked up from google. We include a script called "GeoCodeAddress For ProMaps" that will look up the geocode for you. If you are missing a large set of geocodes you can create a new script that will loop through all of your records and run the "GeoCodeAddress For ProMaps" script for each one. Please make sure to add a pause script step in between each loop that pauses for at least 0.25 seconds as google has a limit on how many queries can be made per second. Also keep in mind that google limits queries to 2,500 per 24 hour period. So if you are trying to geocode more than that you will need to split up your process into segments and wait 24 hours in between.
to:
Most likely this is caused because the latitude and longitude of your properties have not been entered in the "gm_geoLocation" field". In GoMaps this will happen automatically after a sync. In ProMaps this normally happens when an address is changed or modified as we have script triggers on the address fields in our detail layout. If you have imported records or are using an alternate method for entering addresses the geo locations may not have been looked up from google. We include a script called "GeoCodeAddress For ProMaps" that will look up the geocode for you. If you are missing a large set of geocodes you can create a new script that will loop through all of your records and run the "GeoCodeAddress For ProMaps" script for each one. Please make sure to add a pause script step in between each loop that pauses for at least 0.25 seconds as google has a limit on how many queries can be made per second. Also keep in mind that google limits queries to 2,500 per 24 hour period. So if you are trying to geocode more than that you will need to split up your process into segments and wait 24 hours in between.
March 12, 2014, at 06:53 PM by 98.203.211.206 -
Added lines 10-13:

!! No pins or missing pins on map?

Most likely this is caused because the latitude and longitude of your properties have not been entered. This normally happens when an address is changed or modified as we have script triggers on the address fields in our detail layout. If you have imported records or are using an alternate method for entering addresses the geo locations may not have been looked up from google. We include a script called "GeoCodeAddress For ProMaps" that will look up the geocode for you. If you are missing a large set of geocodes you can create a new script that will loop through all of your records and run the "GeoCodeAddress For ProMaps" script for each one. Please make sure to add a pause script step in between each loop that pauses for at least 0.25 seconds as google has a limit on how many queries can be made per second. Also keep in mind that google limits queries to 2,500 per 24 hour period. So if you are trying to geocode more than that you will need to split up your process into segments and wait 24 hours in between.
February 13, 2014, at 11:58 PM by 50.132.84.245 -
Changed lines 9-17 from:
Also check to see that you don't have html in any of the address fields. Something like "<table>" in a zip code field, for example, will prevent the map from rendering.
to:
Also check to see that you don't have html in any of the address fields. Something like "<table>" in a zip code field, for example, will prevent the map from rendering.

!! Not seeing images in the map?

If you make changes to map images in the property's detail view, those images aren't available to the map until you run the script "Load Thumbnails"--that script also runs during map start up, so you can just close and re-open the file as well.

!! Getting "could not save file" errors?

You can use external storage for the images you show in your map's popovers, but you can not use secure storage. If you need secure storage for your images, make a second container field to use in the map, set that to NOT use secure storage and add an auto-enter calc to grab a thumbnail of the secure image using GetThumbnail(). (You should be using thumbnails anyways to speed things up.)
March 31, 2013, at 02:45 PM by 50.132.84.245 -
Added lines 5-9:
!! Maps is blank?

Visit the Setup layout and click on the "Areas" tab in the upper right: make sure none of your areas have stray characters in them. This can prevent the map from rendering.

Also check to see that you don't have html in any of the address fields. Something like "<table>" in a zip code field, for example, will prevent the map from rendering.
March 31, 2013, at 01:50 AM by 50.132.84.245 -
Added lines 1-4:
!! Map not looking the way it should?

Begin by running the Upon Opening script again: this rebuilds any html that may have been partially compiled by aborted scripts or during development.

(855) SEEDCODE
[email protected]
Follow us: