Switched from Bing map to Google map.
[philipp/winterrodeln/mediawiki_extensions/wrmap.git] / wrmap.body.php
index 6d4c7d6da6545478d2c023d8098bba70554aa24a..4958e22766307003cdb8c07008fa626f88e7d659 100644 (file)
@@ -399,7 +399,7 @@ class WrBaseMap {
                assert(in_array($tagname, array('wrmap', 'wrgmap')));
 
                $parserOutput = $parser->getOutput();
                assert(in_array($tagname, array('wrmap', 'wrgmap')));
 
                $parserOutput = $parser->getOutput();
-               // $parserOutput->addHeadItem('<script type="text/javascript" src="http://maps.google.com/maps/api/js?v=3.8&amp;sensor=false"></script>', 'googlemaps');
+               $parserOutput->addHeadItem('<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyABu68dyE3dB_l-UfB_WuyoPAsSTthI4gc&amp;language=de"></script>', 'googlemaps');
                $parserOutput->addModules('ext.wrmap');
 
                // append all sledruns as icon
                $parserOutput->addModules('ext.wrmap');
 
                // append all sledruns as icon