Old, different versions of google maps API loaded
-
Just noticed in the latest update (5.4.4), you are actually asking Google Maps for two different obsolete versions of the maps API, depending on whether the page is SSL or not:
script.src = (EM.is_ssl) ? 'https://maps.google.com/maps/api/js?v=3.8&sensor=false&callback=em_maps':'https://maps.google.com/maps/api/js?v=3.4&sensor=false&callback=em_maps';
perhaps better:
var proto = (EM.is_ssl) ? 'https:' : 'http:'; script.src = proto + '//maps.google.com/maps/api/js?v=3.12&sensor=false&callback=em_maps';
cheers,
Ross
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Old, different versions of google maps API loaded’ is closed to new replies.