[TYPO3-german] wec_map Icon ersetzen
Kerstin Finke
kerstinfinke at hotmail.com
Fri Feb 20 14:19:27 CET 2015
Hi,
ich versuche verzweifelt, das Standardicon (roter Pin) durch ein anderes
Icon zu ersetzen.
Ich nutze die Simple Map (pi1):
plugin.tx_wecmap_pi1 {
marker {
title.10.wrap = <h1>|</h1>
}
# this is just an example for how to add a new icon
icons.1 {
iconID = marina
imagepath = fileadmin/templates/images/pin.png
width = 12
height = 20
shadowWidth = 22
shadowHeight = 20
anchorX = 6
anchorY = 20
infoAnchorX = 5
infoAnchorY = 1
}
}
#plugin.tx_wecmap_pi1.markers.1.iconID = marina
Die letzte Zeile hatte ich irgendwo im Netz gefunden, hat aber nichts
gebracht.
Der wrap um den Title funktioniert übrigens ...
Es steht im Quelltext der generierten Seite im JS:
WecMap.addIcon("map2922", "marina",
"fileadmin/templates/images/pin.png", "", new google.maps.Size(12, 20),
new google.maps.Size(22, 20), new google.maps.Point(6, 20), new
google.maps.Point(5, 1));
WecMap.addIcon("map2922", "default",
"typo3conf/ext/wec_map/images/mm_20_red.png",
"typo3conf/ext/wec_map/images/mm_20_shadow.png", new
google.maps.Size(12, 20), new google.maps.Size(22, 20), new
google.maps.Point(6, 20), new google.maps.Point(5, 1));
Aber was muss ich tun, damit das Icon auch wirklich aktiviert wird? Ich
muss doch konfigurieren können, welches er jetzt nehmen soll, aber ich
finde nichts dazu.
Bin für jeden Tipp dankbar!
Viele Grüße
Kerstin
More information about the TYPO3-german
mailing list