1. mightyskeet
  2. General
  3. Thursday, August 04 2016, 11:24 AM
Hello.
I have a problem with google maps. Entering API key in settings doesn't help - map is still not visible. Errors in console:

Refused to execute script from 'https://rawgit.com/googlemaps/js-marker-clusterer/gh-pages/src/markerclusterer.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
Uncaught ReferenceError: MarkerClusterer is not defined

It's about big map on 1st page where are placed user's markers, but in profile pages single google map is working fine.
Data for site access is attached to this message.
Thanks in advance.
Accepted Answer
admin Accepted Answer
Admin
Hi,
Some time ago Google have closed CDN and moved code to github, now github have moved another time CDN. so javascript that manage "group result" do not work anymore. Now we are preparing a fix for this (we want to move javascript locally to avoid any future issue like this).

For now you can use this workaround: replace file at /modules/mod_jsnmap/tmpl/default.php with attached file (unzip first)
  1. more than a month ago
  2. General
  3. # Permalink
mightyskeet Accepted Answer
Thanks, it helped.
  1. more than a month ago
  2. General
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.