Return to Project-GC

Welcome to Project-GC Q&A. Ask questions and get answers from other Project-GC users.

If you get a good answer, click the checkbox on the left to select it as the best answer.

Upvote answers or questions that have helped you.

If you don't get clear answers, edit your question to make it clearer.

0 votes
516 views

I think I may have come accross an error in the MapHiddenDate tool.

When I select more than one county in the Cache-location multi-select filter, I am unable to pan or zoom the map if there is only one result.

http://project-gc.com/Tools/MapHiddenDate?profile_name=Funky_Boris&country%5B%5D=Denmark&region%5B%5D=Midtjylland&county%5B%5D=Syddjurs&county%5B%5D=%C3%85rhus&submit=Filter 

It works if I only select one county:

http://project-gc.com/Tools/MapHiddenDate?profile_name=Funky_Boris&country%5B%5D=Denmark&region%5B%5D=Midtjylland&county%5B%5D=Syddjurs&submit=Filter

Obviously, you can work around this restriction by first using multi-select to identify which searches yield results and then select single counties afterwards. It seems that it is a bug none the less.

closed with the note: Issue resolved
in Bug reports by Funky_Boris (9.8k points)
closed by Funky_Boris
Panning and zooming works fine for me in Chrome on Linux, Chrome on Mac and Safari on Mac.
Working for me in Firefox in Windows. Try restarting your browser, deleting your cookies, restarting your computer.

1 Answer

0 votes
 
Best answer

Not in Firefox. I can observe this error in the Console:

SyntaxError: function statement requires a name ga.js:1:436

It is related to some of the ad blockers. I just whitelisted "Google Analytics" in Ghostery and it started to work. It is probably a bug and that should not happen, but it is caused by your browser plugin (most probably).

Edit: Now it works even with enabled ghostery. Try Ctrl+F5 to force reload all the scripts and possibly outdated files.

by Jakuje (Moderator) (117k points)
selected by Funky_Boris
I have now tried reloading both pages in the web developer tool with cache disabled. They both seem to work when cache is disabled. I then cleared the cache globally for my browser and it seems to work now.

Closing issue.
...