As far as I know, you can display a point as externalGraphic or as a vector circle with strokeWidth, etc. But not both at the same time.
Only the pointRadius is used if the graphicWidth and/or graphicHeight is not set. Arnd -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von elshae Gesendet: Montag, 10. Januar 2011 16:04 An: [email protected] Betreff: [OpenLayers-Users] Re: Customized Border on Vector Feature magerlin wrote: > > What happens if you add > > strokeOpacity: 1 > > I do not know if there is a default Opacity and what the value is, but > give it a try... > Thanks for your reply magerlin, but I tried that and it's still a no-go :( var panoramio_style2 = new OpenLayers.StyleMap({'default': OpenLayers.Util.applyDefaults({ pointRadius: 15, fillColor: "white", fillOpacity: 1, stroke: true, strokeColor: "#ffffff", strokeWidth: 1, strokeOpacity: 1, strokeLinecap: "square", externalGraphic: "${photo_file_url}" }, OpenLayers.Feature.Vector.style["default"])}); Thanks, elshae -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Customized-Border-on-Vector-Feature-t p5899787p5907201.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
