Transformed

This commit is contained in:
Tim Schaub
2017-12-11 16:29:33 -07:00
parent 1cdb6a66f0
commit 7f47883c48
737 changed files with 22216 additions and 21609 deletions
+13 -11
View File
@@ -1,8 +1,8 @@
goog.provide('ol.style.Circle');
goog.require('ol');
goog.require('ol.style.RegularShape');
/**
* @module ol/style/Circle
*/
import _ol_ from '../index.js';
import _ol_style_RegularShape_ from '../style/RegularShape.js';
/**
* @classdesc
@@ -13,11 +13,11 @@ goog.require('ol.style.RegularShape');
* @extends {ol.style.RegularShape}
* @api
*/
ol.style.Circle = function(opt_options) {
var _ol_style_Circle_ = function(opt_options) {
var options = opt_options || {};
ol.style.RegularShape.call(this, {
_ol_style_RegularShape_.call(this, {
points: Infinity,
fill: options.fill,
radius: options.radius,
@@ -27,7 +27,8 @@ ol.style.Circle = function(opt_options) {
});
};
ol.inherits(ol.style.Circle, ol.style.RegularShape);
_ol_.inherits(_ol_style_Circle_, _ol_style_RegularShape_);
/**
@@ -36,8 +37,8 @@ ol.inherits(ol.style.Circle, ol.style.RegularShape);
* @override
* @api
*/
ol.style.Circle.prototype.clone = function() {
var style = new ol.style.Circle({
_ol_style_Circle_.prototype.clone = function() {
var style = new _ol_style_Circle_({
fill: this.getFill() ? this.getFill().clone() : undefined,
stroke: this.getStroke() ? this.getStroke().clone() : undefined,
radius: this.getRadius(),
@@ -56,7 +57,8 @@ ol.style.Circle.prototype.clone = function() {
* @param {number} radius Circle radius.
* @api
*/
ol.style.Circle.prototype.setRadius = function(radius) {
_ol_style_Circle_.prototype.setRadius = function(radius) {
this.radius_ = radius;
this.render_(this.atlasManager_);
};
export default _ol_style_Circle_;