\n";
- foreach ($sledruns as $sledrun) {
- $lat = $sledrun['position_latitude'];
- $lon = $sledrun['position_longitude'];
- if (!$lat || !$lon) continue;
- $title = Title::newFromText($sledrun['page_title']);
- $title_text = htmlspecialchars($title->getText());
- $title_url = htmlspecialchars($title->getLocalUrl());
- $output .= "
appendElement('div', array('class' => 'wrmap', 'style' => 'border-style:none;', 'data-img-path' => "$wgExtensionAssetsPath/wrmap/openlayers/img/"))->appendText($json_string);
+ return array($doc->saveHTML($doc->firstChild), 'markerType' => 'nowiki');
}
+}
+
+// tag
+class WrMap extends WrBaseMap {
}
+// tag
+class WrGMap extends WrBaseMap {
+}
+
?>