Now using internal map marker images and no more files from /vorlage.
[philipp/winterrodeln/mediawiki_extensions/wrmap.git] / wrmap.body.php
index 2ce595d0300b94328e27c2e5ca28af7c17d8179f..c04aaed95329754be7acc68d7c2360b4e0dda3de 100644 (file)
@@ -279,7 +279,7 @@ class WrBaseMap {
                // Create <div/> element where the map is placed in
                global $wgExtensionAssetsPath;
                $doc = new WrMapDOMDocument();
-               $div = $doc->appendElement('div', array('class' => 'wrmap', 'style' => 'border-style:none;', 'data-img-path' => "$wgExtensionAssetsPath/wrmap/openlayers/img/"));
+               $div = $doc->appendElement('div', array('class' => 'wrmap', 'style' => 'border-style:none;', 'data-ext-path' => "$wgExtensionAssetsPath/wrmap"));
                // progress message
                $div->appendElement('div', array())->appendText('Die Landkarte wird geladen...');
                // data