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

1
src/ol/shape.exports Normal file
View File

@@ -0,0 +1 @@
@exportSymbol ol.shape.renderCircle

View File

@@ -2,7 +2,7 @@
// FIXME move to ol.render?
// FIXME find a sensible caching strategy
goog.provide('ol.symbol');
goog.provide('ol.shape');
goog.require('goog.dom');
goog.require('goog.dom.TagName');
@@ -15,7 +15,7 @@ goog.require('ol.style');
* @param {?ol.style.Stroke} strokeStyle Stroke style.
* @return {ol.style.Image} Image.
*/
ol.symbol.renderCircle = function(radius, fillStyle, strokeStyle) {
ol.shape.renderCircle = function(radius, fillStyle, strokeStyle) {
var canvas = /** @type {HTMLCanvasElement} */
(goog.dom.createElement(goog.dom.TagName.CANVAS));

View File

@@ -1 +0,0 @@
@exportSymbol ol.symbol.renderCircle