Page 1 of 1

ProMaps custom filter returning grey box instead of map

PostPosted: Thu Jan 14, 2016 6:59 am
by hollyheadhunter
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.)

Re: ProMaps custom filter returning grey box instead of map

PostPosted: Thu Jan 14, 2016 10:34 am
by John Sindelar
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

Re: ProMaps custom filter returning grey box instead of map

PostPosted: Thu Jan 21, 2016 4:08 pm
by hollyheadhunter
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!