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

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an