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
+2 -2
View File
@@ -6,13 +6,13 @@ goog.require('ol.format.GeoJSON');
goog.require('ol.geom.LineString');
goog.require('ol.layer.Tile');
goog.require('ol.layer.Vector');
goog.require('ol.shape');
goog.require('ol.source.OSM');
goog.require('ol.source.Vector');
goog.require('ol.style.DefaultStyleFunction');
goog.require('ol.symbol');
var image = ol.symbol.renderCircle(5, null, {color: 'red', width: 1});
var image = ol.shape.renderCircle(5, null, {color: 'red', width: 1});
var styleFunction = function(feature) {
switch (feature.getGeometry().getType()) {
case ol.geom.Type.POINT: