Rename _ol_style_Circle_ to CircleStyle

This commit is contained in:
Tim Schaub
2018-01-11 13:27:54 -07:00
parent 16c8d2c246
commit 14ddcf843d
37 changed files with 133 additions and 133 deletions
+6 -6
View File
@@ -13,7 +13,7 @@ import RegularShape from '../style/RegularShape.js';
* @extends {ol.style.RegularShape}
* @api
*/
var _ol_style_Circle_ = function(opt_options) {
var CircleStyle = function(opt_options) {
var options = opt_options || {};
@@ -28,7 +28,7 @@ var _ol_style_Circle_ = function(opt_options) {
};
inherits(_ol_style_Circle_, RegularShape);
inherits(CircleStyle, RegularShape);
/**
@@ -37,8 +37,8 @@ inherits(_ol_style_Circle_, RegularShape);
* @override
* @api
*/
_ol_style_Circle_.prototype.clone = function() {
var style = new _ol_style_Circle_({
CircleStyle.prototype.clone = function() {
var style = new CircleStyle({
fill: this.getFill() ? this.getFill().clone() : undefined,
stroke: this.getStroke() ? this.getStroke().clone() : undefined,
radius: this.getRadius(),
@@ -57,8 +57,8 @@ _ol_style_Circle_.prototype.clone = function() {
* @param {number} radius Circle radius.
* @api
*/
_ol_style_Circle_.prototype.setRadius = function(radius) {
CircleStyle.prototype.setRadius = function(radius) {
this.radius_ = radius;
this.render_(this.atlasManager_);
};
export default _ol_style_Circle_;
export default CircleStyle;