Rename symbol to shape

This commit is contained in:
Éric Lemoine
2013-11-11 20:27:24 +01:00
committed by Tom Payne
parent ac2b650c96
commit 60ef4f214e
7 changed files with 12 additions and 12 deletions

View File

@@ -8,9 +8,9 @@ goog.require('ol.extent');
goog.require('ol.geom.Point');
goog.require('ol.geom.Polygon');
goog.require('ol.layer.Vector');
goog.require('ol.shape');
goog.require('ol.source.Vector');
goog.require('ol.structs.RTree');
goog.require('ol.symbol');
/**
@@ -58,7 +58,7 @@ var vectorSource = new ol.source.Vector({
});
var style = {
image: ol.symbol.renderCircle(3, null, {color: 'red', width: 1})
image: ol.shape.renderCircle(3, null, {color: 'red', width: 1})
};
var colors = ['red', 'orange', 'yellow', 'blue', 'green', 'indigo', 'violet'];