Correct copy/past error.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@8447 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2008-12-05 15:36:44 +00:00
parent 6c64cb20d9
commit da07d0df2f

View File

@@ -32,7 +32,7 @@
map.addControl(new OpenLayers.Control.MousePosition()); map.addControl(new OpenLayers.Control.MousePosition());
// style the sketch fancy // style the sketch fancy
sketchSymbolizers = { var sketchSymbolizers = {
"Point": { "Point": {
pointRadius: 4, pointRadius: 4,
graphicName: "square", graphicName: "square",
@@ -58,7 +58,7 @@
}; };
var style = new OpenLayers.Style(); var style = new OpenLayers.Style();
style.addRules([ style.addRules([
new OpenLayers.Rule({symbolizer: this.sketchSymbolizers}) new OpenLayers.Rule({symbolizer: sketchSymbolizers})
]); ]);
var styleMap = new OpenLayers.StyleMap({"default": style}); var styleMap = new OpenLayers.StyleMap({"default": style});