Hey, using ProMaps, I'm trying to add a field to filter on -- in addition to filtering on Type and Status, I'd like to filter on Min Stay. I'm trying to follow the steps but when the new line is added to $sc_searchFieldString, it returns all grey where the map would be. What are some likely things I'm overlooking?
(Added a global field for selecting, uses a new Value List for with ALL at the top, in the script Filters and Headers added a variable that references the new fields (one from Locations table, one from Map Settings)... The new field is indexed.)
ProMaps custom filter returning grey box instead of map
3 posts
• Page 1 of 1
Posts: 10
Joined: Thu Oct 31, 2013 7:55 am |
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Hi Joanne,
A "grey" map means that something is interfering with the map's html itself--if the filters we're just setup wrong I'd expect you to see a map wth no pins on it instead. So it may be that your filters are working but something else changed. 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. If that doesn't help--and the map is still grey after closing and opening the file--please send us an email at [email protected] and we'll send instructions for how to get us a copy of the files so we can take a look. Thanks, John John Sindelar
SeedCode |
Posts: 10
Joined: Thu Oct 31, 2013 7:55 am |
Thanks for the offline help -- you helped identify that the issue was that some of the fields in the selector fields were defined as text and the min-stay fields were defined as numbers. After that adjustment, the mapping and filtering is working well!
|
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests