added new graphicName symbolizer property, which allows to render well-known graphic symbols named "square", "cross", "x" and "triangle", in addition to the existing "circle". Thanks Tim for the tweaks and the example. r=tschaub,elemoine (closes #1398)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7634 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -26,6 +26,11 @@
|
||||
var style_blue = OpenLayers.Util.extend({}, layer_style);
|
||||
style_blue.strokeColor = "blue";
|
||||
style_blue.fillColor = "blue";
|
||||
style_blue.graphicName = "star";
|
||||
style_blue.pointRadius = 10;
|
||||
style_blue.strokeWidth = 3;
|
||||
style_blue.rotation = 45;
|
||||
style_blue.strokeLinecap = "butt";
|
||||
|
||||
/*
|
||||
* Green style
|
||||
|
||||
Reference in New Issue
Block a user