git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/extensions/wrmap@1229
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
$lat = $sledrun['position_latitude'];
$lon = $sledrun['position_longitude'];
if (!$lat || !$lon) continue;
- $output .= "<p data-lon=\"$lon\" data-lat=\"$lat\" data-title=\"{$sledrun['page_title']}\" />\n";
+ $title = Title::newFromText($sledrun['page_title']);
+ $output .= "<p data-lon=\"$lon\" data-lat=\"$lat\" data-title=\"{$title->getText()}\" data-url=\"{$title->getLocalUrl()}\" />\n";
}
$output .= "</div>\n";
externalGraphic: "/vorlagen/gmap_rodelbahn_c.png",
graphicWidth: 17,
graphicHeight: 17,
- graphicXOffset: 0,
- graphicYOffset: 0,
+ graphicXOffset: -8,
+ graphicYOffset: -8,
graphicZIndex: 11,
backgroundGraphic: "/vorlagen/gmap_rodelbahn_c_s.png",
backgroundWidth: 23,
backgroundHeight: 23,
- backgroundXOffset: 0,
- backgroundYOffset: 0,
+ backgroundXOffset: -8,
+ backgroundYOffset: -8,
backgroundZIndex: 12,
title: "${label}"
}),
"highlight": new OpenLayers.Style({
label: "${label}",
labelOutlineColor: "white",
+ labelYOffset: 12,
fontWeight: "bold"
})