I tried to employ your template code (replacing the marker with a vector layer) but get a javascript error:
"missing: after property id" caused on the line where "use" is assigned (third line below this one). pointerEvents: "visiblePainted", externalGraphic: "marker.png", //externalGraphic url from attribute url use "${url}" graphicXOffset : 0, etc... what value should I be setting inside 'use' ? I tried to use a relative path to the image - but i'm using an internal image not an external one... Thanks again for any help you can provide. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-to-display-custom-labels-inside-custom-marker-icon-tp6181272p6182185.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users