Use ol.inherits instead of goog.inherits

This commit is contained in:
Frederic Junod
2016-04-07 16:26:11 +02:00
parent 072728b083
commit e289bfbb7d
166 changed files with 448 additions and 452 deletions

View File

@@ -31,7 +31,6 @@
"*" "*"
], ],
"jscomp_off": [ "jscomp_off": [
"useOfGoogBase",
"lintChecks", "lintChecks",
"analyzerChecks", "analyzerChecks",
"missingProvide", "missingProvide",

View File

@@ -31,7 +31,6 @@
"*" "*"
], ],
"jscomp_off": [ "jscomp_off": [
"useOfGoogBase",
"lintChecks", "lintChecks",
"analyzerChecks" "analyzerChecks"
], ],

View File

@@ -22,7 +22,6 @@
"*" "*"
], ],
"jscomp_off": [ "jscomp_off": [
"useOfGoogBase",
"lintChecks", "lintChecks",
"analyzerChecks" "analyzerChecks"
], ],

View File

@@ -235,7 +235,6 @@ Here is a version of `config.json` with more compilation checks enabled:
], ],
"jscomp_off": [ "jscomp_off": [
"unknownDefines", "unknownDefines",
"useOfGoogBase",
"lintChecks", "lintChecks",
"analyzerChecks" "analyzerChecks"
], ],

View File

@@ -44,7 +44,7 @@ ol.CollectionEventType = {
*/ */
ol.CollectionEvent = function(type, opt_element, opt_target) { ol.CollectionEvent = function(type, opt_element, opt_target) {
goog.base(this, type, opt_target); ol.events.Event.call(this, type, opt_target);
/** /**
* The element that is added to or removed from the collection. * The element that is added to or removed from the collection.
@@ -54,7 +54,7 @@ ol.CollectionEvent = function(type, opt_element, opt_target) {
this.element = opt_element; this.element = opt_element;
}; };
goog.inherits(ol.CollectionEvent, ol.events.Event); ol.inherits(ol.CollectionEvent, ol.events.Event);
/** /**
@@ -82,7 +82,7 @@ ol.CollectionProperty = {
*/ */
ol.Collection = function(opt_array) { ol.Collection = function(opt_array) {
goog.base(this); ol.Object.call(this);
/** /**
* @private * @private
@@ -93,7 +93,7 @@ ol.Collection = function(opt_array) {
this.updateLength_(); this.updateLength_();
}; };
goog.inherits(ol.Collection, ol.Object); ol.inherits(ol.Collection, ol.Object);
/** /**

View File

@@ -105,7 +105,7 @@ ol.control.Attribution = function(opt_options) {
var render = options.render ? options.render : ol.control.Attribution.render; var render = options.render ? options.render : ol.control.Attribution.render;
goog.base(this, { ol.control.Control.call(this, {
element: element, element: element,
render: render, render: render,
target: options.target target: options.target
@@ -136,7 +136,7 @@ ol.control.Attribution = function(opt_options) {
this.logoElements_ = {}; this.logoElements_ = {};
}; };
goog.inherits(ol.control.Attribution, ol.control.Control); ol.inherits(ol.control.Attribution, ol.control.Control);
/** /**

View File

@@ -38,7 +38,7 @@ goog.require('ol.Object');
*/ */
ol.control.Control = function(options) { ol.control.Control = function(options) {
goog.base(this); ol.Object.call(this);
/** /**
* @protected * @protected
@@ -74,7 +74,7 @@ ol.control.Control = function(options) {
} }
}; };
goog.inherits(ol.control.Control, ol.Object); ol.inherits(ol.control.Control, ol.Object);
/** /**
@@ -82,7 +82,7 @@ goog.inherits(ol.control.Control, ol.Object);
*/ */
ol.control.Control.prototype.disposeInternal = function() { ol.control.Control.prototype.disposeInternal = function() {
goog.dom.removeNode(this.element); goog.dom.removeNode(this.element);
goog.base(this, 'disposeInternal'); ol.Object.prototype.disposeInternal.call(this);
}; };

View File

@@ -72,7 +72,7 @@ ol.control.FullScreen = function(opt_options) {
(!goog.dom.fullscreen.isSupported() ? ol.css.CLASS_UNSUPPORTED : ''); (!goog.dom.fullscreen.isSupported() ? ol.css.CLASS_UNSUPPORTED : '');
var element = goog.dom.createDom('DIV', cssClasses, button); var element = goog.dom.createDom('DIV', cssClasses, button);
goog.base(this, { ol.control.Control.call(this, {
element: element, element: element,
target: options.target target: options.target
}); });
@@ -90,7 +90,7 @@ ol.control.FullScreen = function(opt_options) {
this.source_ = options.source; this.source_ = options.source;
}; };
goog.inherits(ol.control.FullScreen, ol.control.Control); ol.inherits(ol.control.FullScreen, ol.control.Control);
/** /**
@@ -153,7 +153,7 @@ ol.control.FullScreen.prototype.handleFullScreenChange_ = function() {
* @api stable * @api stable
*/ */
ol.control.FullScreen.prototype.setMap = function(map) { ol.control.FullScreen.prototype.setMap = function(map) {
goog.base(this, 'setMap', map); ol.control.Control.prototype.setMap.call(this, map);
if (map) { if (map) {
this.listenerKeys.push( this.listenerKeys.push(
ol.events.listen(ol.global.document, goog.dom.fullscreen.EventType.CHANGE, ol.events.listen(ol.global.document, goog.dom.fullscreen.EventType.CHANGE,

View File

@@ -42,7 +42,7 @@ ol.control.MousePosition = function(opt_options) {
var render = options.render ? var render = options.render ?
options.render : ol.control.MousePosition.render; options.render : ol.control.MousePosition.render;
goog.base(this, { ol.control.Control.call(this, {
element: element, element: element,
render: render, render: render,
target: options.target target: options.target
@@ -90,7 +90,7 @@ ol.control.MousePosition = function(opt_options) {
this.lastMouseMovePixel_ = null; this.lastMouseMovePixel_ = null;
}; };
goog.inherits(ol.control.MousePosition, ol.control.Control); ol.inherits(ol.control.MousePosition, ol.control.Control);
/** /**
@@ -174,7 +174,7 @@ ol.control.MousePosition.prototype.handleMouseOut = function(event) {
* @api stable * @api stable
*/ */
ol.control.MousePosition.prototype.setMap = function(map) { ol.control.MousePosition.prototype.setMap = function(map) {
goog.base(this, 'setMap', map); ol.control.Control.prototype.setMap.call(this, map);
if (map) { if (map) {
var viewport = map.getViewport(); var viewport = map.getViewport();
this.listenerKeys.push( this.listenerKeys.push(

View File

@@ -132,13 +132,13 @@ ol.control.OverviewMap = function(opt_options) {
var render = options.render ? options.render : ol.control.OverviewMap.render; var render = options.render ? options.render : ol.control.OverviewMap.render;
goog.base(this, { ol.control.Control.call(this, {
element: element, element: element,
render: render, render: render,
target: options.target target: options.target
}); });
}; };
goog.inherits(ol.control.OverviewMap, ol.control.Control); ol.inherits(ol.control.OverviewMap, ol.control.Control);
/** /**
@@ -156,7 +156,7 @@ ol.control.OverviewMap.prototype.setMap = function(map) {
this.unbindView_(oldView); this.unbindView_(oldView);
} }
} }
goog.base(this, 'setMap', map); ol.control.Control.prototype.setMap.call(this, map);
if (map) { if (map) {
this.listenerKeys.push(ol.events.listen( this.listenerKeys.push(ol.events.listen(

View File

@@ -62,7 +62,7 @@ ol.control.Rotate = function(opt_options) {
this.callResetNorth_ = options.resetNorth ? options.resetNorth : undefined; this.callResetNorth_ = options.resetNorth ? options.resetNorth : undefined;
goog.base(this, { ol.control.Control.call(this, {
element: element, element: element,
render: render, render: render,
target: options.target target: options.target
@@ -91,7 +91,7 @@ ol.control.Rotate = function(opt_options) {
} }
}; };
goog.inherits(ol.control.Rotate, ol.control.Control); ol.inherits(ol.control.Rotate, ol.control.Control);
/** /**

View File

@@ -102,7 +102,7 @@ ol.control.ScaleLine = function(opt_options) {
var render = options.render ? options.render : ol.control.ScaleLine.render; var render = options.render ? options.render : ol.control.ScaleLine.render;
goog.base(this, { ol.control.Control.call(this, {
element: this.element_, element: this.element_,
render: render, render: render,
target: options.target target: options.target
@@ -116,7 +116,7 @@ ol.control.ScaleLine = function(opt_options) {
ol.control.ScaleLineUnits.METRIC); ol.control.ScaleLineUnits.METRIC);
}; };
goog.inherits(ol.control.ScaleLine, ol.control.Control); ol.inherits(ol.control.ScaleLine, ol.control.Control);
/** /**

View File

@@ -58,7 +58,7 @@ ol.control.Zoom = function(opt_options) {
ol.css.CLASS_CONTROL; ol.css.CLASS_CONTROL;
var element = goog.dom.createDom('DIV', cssClasses, inElement, outElement); var element = goog.dom.createDom('DIV', cssClasses, inElement, outElement);
goog.base(this, { ol.control.Control.call(this, {
element: element, element: element,
target: options.target target: options.target
}); });
@@ -70,7 +70,7 @@ ol.control.Zoom = function(opt_options) {
this.duration_ = options.duration !== undefined ? options.duration : 250; this.duration_ = options.duration !== undefined ? options.duration : 250;
}; };
goog.inherits(ol.control.Zoom, ol.control.Control); ol.inherits(ol.control.Zoom, ol.control.Control);
/** /**

View File

@@ -137,12 +137,12 @@ ol.control.ZoomSlider = function(opt_options) {
var render = options.render ? options.render : ol.control.ZoomSlider.render; var render = options.render ? options.render : ol.control.ZoomSlider.render;
goog.base(this, { ol.control.Control.call(this, {
element: containerElement, element: containerElement,
render: render render: render
}); });
}; };
goog.inherits(ol.control.ZoomSlider, ol.control.Control); ol.inherits(ol.control.ZoomSlider, ol.control.Control);
/** /**
@@ -150,7 +150,7 @@ goog.inherits(ol.control.ZoomSlider, ol.control.Control);
*/ */
ol.control.ZoomSlider.prototype.disposeInternal = function() { ol.control.ZoomSlider.prototype.disposeInternal = function() {
this.dragger_.dispose(); this.dragger_.dispose();
goog.base(this, 'disposeInternal'); ol.control.Control.prototype.disposeInternal.call(this);
}; };
@@ -169,7 +169,7 @@ ol.control.ZoomSlider.direction = {
* @inheritDoc * @inheritDoc
*/ */
ol.control.ZoomSlider.prototype.setMap = function(map) { ol.control.ZoomSlider.prototype.setMap = function(map) {
goog.base(this, 'setMap', map); ol.control.Control.prototype.setMap.call(this, map);
if (map) { if (map) {
map.render(); map.render();
} }

View File

@@ -45,12 +45,12 @@ ol.control.ZoomToExtent = function(opt_options) {
ol.css.CLASS_CONTROL; ol.css.CLASS_CONTROL;
var element = goog.dom.createDom('DIV', cssClasses, button); var element = goog.dom.createDom('DIV', cssClasses, button);
goog.base(this, { ol.control.Control.call(this, {
element: element, element: element,
target: options.target target: options.target
}); });
}; };
goog.inherits(ol.control.ZoomToExtent, ol.control.Control); ol.inherits(ol.control.ZoomToExtent, ol.control.Control);
/** /**

View File

@@ -77,7 +77,7 @@ ol.DeviceOrientationProperty = {
*/ */
ol.DeviceOrientation = function(opt_options) { ol.DeviceOrientation = function(opt_options) {
goog.base(this); ol.Object.call(this);
var options = opt_options ? opt_options : {}; var options = opt_options ? opt_options : {};
@@ -102,7 +102,7 @@ goog.inherits(ol.DeviceOrientation, ol.Object);
*/ */
ol.DeviceOrientation.prototype.disposeInternal = function() { ol.DeviceOrientation.prototype.disposeInternal = function() {
this.setTracking(false); this.setTracking(false);
goog.base(this, 'disposeInternal'); ol.Object.prototype.disposeInternal.call(this);
}; };

View File

@@ -25,7 +25,7 @@ goog.require('ol.events.Event');
*/ */
ol.events.EventTarget = function() { ol.events.EventTarget = function() {
goog.base(this); ol.Disposable.call(this);
/** /**
* @private * @private
@@ -46,7 +46,7 @@ ol.events.EventTarget = function() {
this.listeners_ = {}; this.listeners_ = {};
}; };
goog.inherits(ol.events.EventTarget, ol.Disposable); ol.inherits(ol.events.EventTarget, ol.Disposable);
/** /**

View File

@@ -56,7 +56,7 @@ goog.require('ol.style.Style');
*/ */
ol.Feature = function(opt_geometryOrProperties) { ol.Feature = function(opt_geometryOrProperties) {
goog.base(this); ol.Object.call(this);
/** /**
* @private * @private
@@ -108,7 +108,7 @@ ol.Feature = function(opt_geometryOrProperties) {
} }
} }
}; };
goog.inherits(ol.Feature, ol.Object); ol.inherits(ol.Feature, ol.Object);
/** /**

View File

@@ -33,7 +33,7 @@ ol.format.EsriJSON = function(opt_options) {
var options = opt_options ? opt_options : {}; var options = opt_options ? opt_options : {};
goog.base(this); ol.format.JSONFeature.call(this);
/** /**
* Name of the geometry attribute for features. * Name of the geometry attribute for features.
@@ -43,7 +43,7 @@ ol.format.EsriJSON = function(opt_options) {
this.geometryName_ = options.geometryName; this.geometryName_ = options.geometryName;
}; };
goog.inherits(ol.format.EsriJSON, ol.format.JSONFeature); ol.inherits(ol.format.EsriJSON, ol.format.JSONFeature);
/** /**

View File

@@ -31,7 +31,7 @@ ol.format.GeoJSON = function(opt_options) {
var options = opt_options ? opt_options : {}; var options = opt_options ? opt_options : {};
goog.base(this); ol.format.JSONFeature.call(this);
/** /**
* @inheritDoc * @inheritDoc
@@ -49,7 +49,7 @@ ol.format.GeoJSON = function(opt_options) {
this.geometryName_ = options.geometryName; this.geometryName_ = options.geometryName;
}; };
goog.inherits(ol.format.GeoJSON, ol.format.JSONFeature); ol.inherits(ol.format.GeoJSON, ol.format.JSONFeature);
/** /**

View File

@@ -23,7 +23,7 @@ ol.format.GML2 = function(opt_options) {
var options = /** @type {olx.format.GMLOptions} */ var options = /** @type {olx.format.GMLOptions} */
(opt_options ? opt_options : {}); (opt_options ? opt_options : {});
goog.base(this, options); ol.format.GMLBase.call(this, options);
this.FEATURE_COLLECTION_PARSERS[ol.format.GMLBase.GMLNS][ this.FEATURE_COLLECTION_PARSERS[ol.format.GMLBase.GMLNS][
'featureMember'] = 'featureMember'] =
@@ -36,7 +36,7 @@ ol.format.GML2 = function(opt_options) {
options.schemaLocation : ol.format.GML2.schemaLocation_; options.schemaLocation : ol.format.GML2.schemaLocation_;
}; };
goog.inherits(ol.format.GML2, ol.format.GMLBase); ol.inherits(ol.format.GML2, ol.format.GMLBase);
/** /**

View File

@@ -39,7 +39,7 @@ ol.format.GML3 = function(opt_options) {
var options = /** @type {olx.format.GMLOptions} */ var options = /** @type {olx.format.GMLOptions} */
(opt_options ? opt_options : {}); (opt_options ? opt_options : {});
goog.base(this, options); ol.format.GMLBase.call(this, options);
/** /**
* @private * @private
@@ -74,7 +74,7 @@ ol.format.GML3 = function(opt_options) {
options.schemaLocation : ol.format.GML3.schemaLocation_; options.schemaLocation : ol.format.GML3.schemaLocation_;
}; };
goog.inherits(ol.format.GML3, ol.format.GMLBase); ol.inherits(ol.format.GML3, ol.format.GMLBase);
/** /**

View File

@@ -76,9 +76,9 @@ ol.format.GMLBase = function(opt_options) {
ol.format.GMLBase.prototype.readFeaturesInternal) ol.format.GMLBase.prototype.readFeaturesInternal)
}; };
goog.base(this); ol.format.XMLFeature.call(this);
}; };
goog.inherits(ol.format.GMLBase, ol.format.XMLFeature); ol.inherits(ol.format.GMLBase, ol.format.XMLFeature);
/** /**

View File

@@ -28,7 +28,7 @@ ol.format.GPX = function(opt_options) {
var options = opt_options ? opt_options : {}; var options = opt_options ? opt_options : {};
goog.base(this); ol.format.XMLFeature.call(this);
/** /**
* @inheritDoc * @inheritDoc
@@ -41,7 +41,7 @@ ol.format.GPX = function(opt_options) {
*/ */
this.readExtensions_ = options.readExtensions; this.readExtensions_ = options.readExtensions;
}; };
goog.inherits(ol.format.GPX, ol.format.XMLFeature); ol.inherits(ol.format.GPX, ol.format.XMLFeature);
/** /**

View File

@@ -34,7 +34,7 @@ ol.format.IGC = function(opt_options) {
var options = opt_options ? opt_options : {}; var options = opt_options ? opt_options : {};
goog.base(this); ol.format.TextFeature.call(this);
/** /**
* @inheritDoc * @inheritDoc
@@ -49,7 +49,7 @@ ol.format.IGC = function(opt_options) {
options.altitudeMode : ol.format.IGCZ.NONE; options.altitudeMode : ol.format.IGCZ.NONE;
}; };
goog.inherits(ol.format.IGC, ol.format.TextFeature); ol.inherits(ol.format.IGC, ol.format.TextFeature);
/** /**

View File

@@ -15,9 +15,9 @@ goog.require('ol.format.FormatType');
* @extends {ol.format.Feature} * @extends {ol.format.Feature}
*/ */
ol.format.JSONFeature = function() { ol.format.JSONFeature = function() {
goog.base(this); ol.format.Feature.call(this);
}; };
goog.inherits(ol.format.JSONFeature, ol.format.Feature); ol.inherits(ol.format.JSONFeature, ol.format.Feature);
/** /**

View File

@@ -54,7 +54,7 @@ ol.format.KML = function(opt_options) {
var options = opt_options ? opt_options : {}; var options = opt_options ? opt_options : {};
goog.base(this); ol.format.XMLFeature.call(this);
/** /**
* @inheritDoc * @inheritDoc
@@ -96,7 +96,7 @@ ol.format.KML = function(opt_options) {
options.showPointNames : true; options.showPointNames : true;
}; };
goog.inherits(ol.format.KML, ol.format.XMLFeature); ol.inherits(ol.format.KML, ol.format.XMLFeature);
/** /**

View File

@@ -33,7 +33,7 @@ goog.require('ol.render.Feature');
*/ */
ol.format.MVT = function(opt_options) { ol.format.MVT = function(opt_options) {
goog.base(this); ol.format.Feature.call(this);
var options = opt_options ? opt_options : {}; var options = opt_options ? opt_options : {};
@@ -74,7 +74,7 @@ ol.format.MVT = function(opt_options) {
this.layers_ = options.layers ? options.layers : null; this.layers_ = options.layers ? options.layers : null;
}; };
goog.inherits(ol.format.MVT, ol.format.Feature); ol.inherits(ol.format.MVT, ol.format.Feature);
/** /**

View File

@@ -247,9 +247,9 @@ ol.format.ogc.filter.Filter.prototype.getTagName = function() {
* @extends {ol.format.ogc.filter.Filter} * @extends {ol.format.ogc.filter.Filter}
*/ */
ol.format.ogc.filter.Logical = function(tagName) { ol.format.ogc.filter.Logical = function(tagName) {
goog.base(this, tagName); ol.format.ogc.filter.Filter.call(this, tagName);
}; };
goog.inherits(ol.format.ogc.filter.Logical, ol.format.ogc.filter.Filter); ol.inherits(ol.format.ogc.filter.Logical, ol.format.ogc.filter.Filter);
/** /**
@@ -265,7 +265,7 @@ goog.inherits(ol.format.ogc.filter.Logical, ol.format.ogc.filter.Filter);
*/ */
ol.format.ogc.filter.LogicalBinary = function(tagName, conditionA, conditionB) { ol.format.ogc.filter.LogicalBinary = function(tagName, conditionA, conditionB) {
goog.base(this, tagName); ol.format.ogc.filter.Logical.call(this, tagName);
/** /**
* @public * @public
@@ -280,7 +280,7 @@ ol.format.ogc.filter.LogicalBinary = function(tagName, conditionA, conditionB) {
this.conditionB = conditionB; this.conditionB = conditionB;
}; };
goog.inherits(ol.format.ogc.filter.LogicalBinary, ol.format.ogc.filter.Logical); ol.inherits(ol.format.ogc.filter.LogicalBinary, ol.format.ogc.filter.Logical);
/** /**
@@ -294,9 +294,9 @@ goog.inherits(ol.format.ogc.filter.LogicalBinary, ol.format.ogc.filter.Logical);
* @api * @api
*/ */
ol.format.ogc.filter.And = function(conditionA, conditionB) { ol.format.ogc.filter.And = function(conditionA, conditionB) {
goog.base(this, 'And', conditionA, conditionB); ol.format.ogc.filter.LogicalBinary.call(this, 'And', conditionA, conditionB);
}; };
goog.inherits(ol.format.ogc.filter.And, ol.format.ogc.filter.LogicalBinary); ol.inherits(ol.format.ogc.filter.And, ol.format.ogc.filter.LogicalBinary);
/** /**
@@ -310,9 +310,9 @@ goog.inherits(ol.format.ogc.filter.And, ol.format.ogc.filter.LogicalBinary);
* @api * @api
*/ */
ol.format.ogc.filter.Or = function(conditionA, conditionB) { ol.format.ogc.filter.Or = function(conditionA, conditionB) {
goog.base(this, 'Or', conditionA, conditionB); ol.format.ogc.filter.LogicalBinary.call(this, 'Or', conditionA, conditionB);
}; };
goog.inherits(ol.format.ogc.filter.Or, ol.format.ogc.filter.LogicalBinary); ol.inherits(ol.format.ogc.filter.Or, ol.format.ogc.filter.LogicalBinary);
/** /**
@@ -326,7 +326,7 @@ goog.inherits(ol.format.ogc.filter.Or, ol.format.ogc.filter.LogicalBinary);
*/ */
ol.format.ogc.filter.Not = function(condition) { ol.format.ogc.filter.Not = function(condition) {
goog.base(this, 'Not'); ol.format.ogc.filter.Logical.call(this, 'Not');
/** /**
* @public * @public
@@ -334,7 +334,7 @@ ol.format.ogc.filter.Not = function(condition) {
*/ */
this.condition = condition; this.condition = condition;
}; };
goog.inherits(ol.format.ogc.filter.Not, ol.format.ogc.filter.Logical); ol.inherits(ol.format.ogc.filter.Not, ol.format.ogc.filter.Logical);
// Spatial filters // Spatial filters
@@ -355,7 +355,7 @@ goog.inherits(ol.format.ogc.filter.Not, ol.format.ogc.filter.Logical);
*/ */
ol.format.ogc.filter.Bbox = function(geometryName, extent, opt_srsName) { ol.format.ogc.filter.Bbox = function(geometryName, extent, opt_srsName) {
goog.base(this, 'BBOX'); ol.format.ogc.filter.Filter.call(this, 'BBOX');
/** /**
* @public * @public
@@ -375,7 +375,7 @@ ol.format.ogc.filter.Bbox = function(geometryName, extent, opt_srsName) {
*/ */
this.srsName = opt_srsName; this.srsName = opt_srsName;
}; };
goog.inherits(ol.format.ogc.filter.Bbox, ol.format.ogc.filter.Filter); ol.inherits(ol.format.ogc.filter.Bbox, ol.format.ogc.filter.Filter);
// Property comparison filters // Property comparison filters
@@ -394,7 +394,7 @@ goog.inherits(ol.format.ogc.filter.Bbox, ol.format.ogc.filter.Filter);
*/ */
ol.format.ogc.filter.Comparison = function(tagName, propertyName) { ol.format.ogc.filter.Comparison = function(tagName, propertyName) {
goog.base(this, tagName); ol.format.ogc.filter.Filter.call(this, tagName);
/** /**
* @public * @public
@@ -402,7 +402,7 @@ ol.format.ogc.filter.Comparison = function(tagName, propertyName) {
*/ */
this.propertyName = propertyName; this.propertyName = propertyName;
}; };
goog.inherits(ol.format.ogc.filter.Comparison, ol.format.ogc.filter.Filter); ol.inherits(ol.format.ogc.filter.Comparison, ol.format.ogc.filter.Filter);
/** /**
@@ -421,7 +421,7 @@ goog.inherits(ol.format.ogc.filter.Comparison, ol.format.ogc.filter.Filter);
ol.format.ogc.filter.ComparisonBinary = function( ol.format.ogc.filter.ComparisonBinary = function(
tagName, propertyName, expression, opt_matchCase) { tagName, propertyName, expression, opt_matchCase) {
goog.base(this, tagName, propertyName); ol.format.ogc.filter.Comparison.call(this, tagName, propertyName);
/** /**
* @public * @public
@@ -435,7 +435,7 @@ ol.format.ogc.filter.ComparisonBinary = function(
*/ */
this.matchCase = opt_matchCase; this.matchCase = opt_matchCase;
}; };
goog.inherits(ol.format.ogc.filter.ComparisonBinary, ol.format.ogc.filter.Comparison); ol.inherits(ol.format.ogc.filter.ComparisonBinary, ol.format.ogc.filter.Comparison);
/** /**
@@ -450,9 +450,9 @@ goog.inherits(ol.format.ogc.filter.ComparisonBinary, ol.format.ogc.filter.Compar
* @api * @api
*/ */
ol.format.ogc.filter.EqualTo = function(propertyName, expression, opt_matchCase) { ol.format.ogc.filter.EqualTo = function(propertyName, expression, opt_matchCase) {
goog.base(this, 'PropertyIsEqualTo', propertyName, expression, opt_matchCase); ol.format.ogc.filter.ComparisonBinary.call(this, 'PropertyIsEqualTo', propertyName, expression, opt_matchCase);
}; };
goog.inherits(ol.format.ogc.filter.EqualTo, ol.format.ogc.filter.ComparisonBinary); ol.inherits(ol.format.ogc.filter.EqualTo, ol.format.ogc.filter.ComparisonBinary);
/** /**
@@ -467,9 +467,9 @@ goog.inherits(ol.format.ogc.filter.EqualTo, ol.format.ogc.filter.ComparisonBinar
* @api * @api
*/ */
ol.format.ogc.filter.NotEqualTo = function(propertyName, expression, opt_matchCase) { ol.format.ogc.filter.NotEqualTo = function(propertyName, expression, opt_matchCase) {
goog.base(this, 'PropertyIsNotEqualTo', propertyName, expression, opt_matchCase); ol.format.ogc.filter.ComparisonBinary.call(this, 'PropertyIsNotEqualTo', propertyName, expression, opt_matchCase);
}; };
goog.inherits(ol.format.ogc.filter.NotEqualTo, ol.format.ogc.filter.ComparisonBinary); ol.inherits(ol.format.ogc.filter.NotEqualTo, ol.format.ogc.filter.ComparisonBinary);
/** /**
@@ -483,9 +483,9 @@ goog.inherits(ol.format.ogc.filter.NotEqualTo, ol.format.ogc.filter.ComparisonBi
* @api * @api
*/ */
ol.format.ogc.filter.LessThan = function(propertyName, expression) { ol.format.ogc.filter.LessThan = function(propertyName, expression) {
goog.base(this, 'PropertyIsLessThan', propertyName, expression); ol.format.ogc.filter.ComparisonBinary.call(this, 'PropertyIsLessThan', propertyName, expression);
}; };
goog.inherits(ol.format.ogc.filter.LessThan, ol.format.ogc.filter.ComparisonBinary); ol.inherits(ol.format.ogc.filter.LessThan, ol.format.ogc.filter.ComparisonBinary);
/** /**
@@ -499,9 +499,9 @@ goog.inherits(ol.format.ogc.filter.LessThan, ol.format.ogc.filter.ComparisonBina
* @api * @api
*/ */
ol.format.ogc.filter.LessThanOrEqualTo = function(propertyName, expression) { ol.format.ogc.filter.LessThanOrEqualTo = function(propertyName, expression) {
goog.base(this, 'PropertyIsLessThanOrEqualTo', propertyName, expression); ol.format.ogc.filter.ComparisonBinary.call(this, 'PropertyIsLessThanOrEqualTo', propertyName, expression);
}; };
goog.inherits(ol.format.ogc.filter.LessThanOrEqualTo, ol.format.ogc.filter.ComparisonBinary); ol.inherits(ol.format.ogc.filter.LessThanOrEqualTo, ol.format.ogc.filter.ComparisonBinary);
/** /**
@@ -515,9 +515,9 @@ goog.inherits(ol.format.ogc.filter.LessThanOrEqualTo, ol.format.ogc.filter.Compa
* @api * @api
*/ */
ol.format.ogc.filter.GreaterThan = function(propertyName, expression) { ol.format.ogc.filter.GreaterThan = function(propertyName, expression) {
goog.base(this, 'PropertyIsGreaterThan', propertyName, expression); ol.format.ogc.filter.ComparisonBinary.call(this, 'PropertyIsGreaterThan', propertyName, expression);
}; };
goog.inherits(ol.format.ogc.filter.GreaterThan, ol.format.ogc.filter.ComparisonBinary); ol.inherits(ol.format.ogc.filter.GreaterThan, ol.format.ogc.filter.ComparisonBinary);
/** /**
@@ -531,9 +531,9 @@ goog.inherits(ol.format.ogc.filter.GreaterThan, ol.format.ogc.filter.ComparisonB
* @api * @api
*/ */
ol.format.ogc.filter.GreaterThanOrEqualTo = function(propertyName, expression) { ol.format.ogc.filter.GreaterThanOrEqualTo = function(propertyName, expression) {
goog.base(this, 'PropertyIsGreaterThanOrEqualTo', propertyName, expression); ol.format.ogc.filter.ComparisonBinary.call(this, 'PropertyIsGreaterThanOrEqualTo', propertyName, expression);
}; };
goog.inherits(ol.format.ogc.filter.GreaterThanOrEqualTo, ol.format.ogc.filter.ComparisonBinary); ol.inherits(ol.format.ogc.filter.GreaterThanOrEqualTo, ol.format.ogc.filter.ComparisonBinary);
/** /**
@@ -546,9 +546,9 @@ goog.inherits(ol.format.ogc.filter.GreaterThanOrEqualTo, ol.format.ogc.filter.Co
* @api * @api
*/ */
ol.format.ogc.filter.IsNull = function(propertyName) { ol.format.ogc.filter.IsNull = function(propertyName) {
goog.base(this, 'PropertyIsNull', propertyName); ol.format.ogc.filter.Comparison.call(this, 'PropertyIsNull', propertyName);
}; };
goog.inherits(ol.format.ogc.filter.IsNull, ol.format.ogc.filter.Comparison); ol.inherits(ol.format.ogc.filter.IsNull, ol.format.ogc.filter.Comparison);
/** /**
@@ -563,7 +563,7 @@ goog.inherits(ol.format.ogc.filter.IsNull, ol.format.ogc.filter.Comparison);
* @api * @api
*/ */
ol.format.ogc.filter.IsBetween = function(propertyName, lowerBoundary, upperBoundary) { ol.format.ogc.filter.IsBetween = function(propertyName, lowerBoundary, upperBoundary) {
goog.base(this, 'PropertyIsBetween', propertyName); ol.format.ogc.filter.Comparison.call(this, 'PropertyIsBetween', propertyName);
/** /**
* @public * @public
@@ -577,7 +577,7 @@ ol.format.ogc.filter.IsBetween = function(propertyName, lowerBoundary, upperBoun
*/ */
this.upperBoundary = upperBoundary; this.upperBoundary = upperBoundary;
}; };
goog.inherits(ol.format.ogc.filter.IsBetween, ol.format.ogc.filter.Comparison); ol.inherits(ol.format.ogc.filter.IsBetween, ol.format.ogc.filter.Comparison);
/** /**
@@ -599,7 +599,7 @@ goog.inherits(ol.format.ogc.filter.IsBetween, ol.format.ogc.filter.Comparison);
*/ */
ol.format.ogc.filter.IsLike = function(propertyName, pattern, ol.format.ogc.filter.IsLike = function(propertyName, pattern,
opt_wildCard, opt_singleChar, opt_escapeChar, opt_matchCase) { opt_wildCard, opt_singleChar, opt_escapeChar, opt_matchCase) {
goog.base(this, 'PropertyIsLike', propertyName); ol.format.ogc.filter.Comparison.call(this, 'PropertyIsLike', propertyName);
/** /**
* @public * @public
@@ -631,4 +631,4 @@ ol.format.ogc.filter.IsLike = function(propertyName, pattern,
*/ */
this.matchCase = opt_matchCase; this.matchCase = opt_matchCase;
}; };
goog.inherits(ol.format.ogc.filter.IsLike, ol.format.ogc.filter.Comparison); ol.inherits(ol.format.ogc.filter.IsLike, ol.format.ogc.filter.Comparison);

View File

@@ -26,14 +26,14 @@ goog.require('ol.xml');
* @api stable * @api stable
*/ */
ol.format.OSMXML = function() { ol.format.OSMXML = function() {
goog.base(this); ol.format.XMLFeature.call(this);
/** /**
* @inheritDoc * @inheritDoc
*/ */
this.defaultDataProjection = ol.proj.get('EPSG:4326'); this.defaultDataProjection = ol.proj.get('EPSG:4326');
}; };
goog.inherits(ol.format.OSMXML, ol.format.XMLFeature); ol.inherits(ol.format.OSMXML, ol.format.XMLFeature);
/** /**

View File

@@ -13,9 +13,9 @@ goog.require('ol.xml');
* @extends {ol.format.XML} * @extends {ol.format.XML}
*/ */
ol.format.OWS = function() { ol.format.OWS = function() {
goog.base(this); ol.format.XML.call(this);
}; };
goog.inherits(ol.format.OWS, ol.format.XML); ol.inherits(ol.format.OWS, ol.format.XML);
/** /**

View File

@@ -27,7 +27,7 @@ ol.format.Polyline = function(opt_options) {
var options = opt_options ? opt_options : {}; var options = opt_options ? opt_options : {};
goog.base(this); ol.format.TextFeature.call(this);
/** /**
* @inheritDoc * @inheritDoc
@@ -47,7 +47,7 @@ ol.format.Polyline = function(opt_options) {
this.geometryLayout_ = options.geometryLayout ? this.geometryLayout_ = options.geometryLayout ?
options.geometryLayout : ol.geom.GeometryLayout.XY; options.geometryLayout : ol.geom.GeometryLayout.XY;
}; };
goog.inherits(ol.format.Polyline, ol.format.TextFeature); ol.inherits(ol.format.Polyline, ol.format.TextFeature);
/** /**

View File

@@ -15,9 +15,9 @@ goog.require('ol.format.FormatType');
* @extends {ol.format.Feature} * @extends {ol.format.Feature}
*/ */
ol.format.TextFeature = function() { ol.format.TextFeature = function() {
goog.base(this); ol.format.Feature.call(this);
}; };
goog.inherits(ol.format.TextFeature, ol.format.Feature); ol.inherits(ol.format.TextFeature, ol.format.Feature);
/** /**

View File

@@ -27,7 +27,7 @@ ol.format.TopoJSON = function(opt_options) {
var options = opt_options ? opt_options : {}; var options = opt_options ? opt_options : {};
goog.base(this); ol.format.JSONFeature.call(this);
/** /**
* @inheritDoc * @inheritDoc
@@ -37,7 +37,7 @@ ol.format.TopoJSON = function(opt_options) {
options.defaultDataProjection : 'EPSG:4326'); options.defaultDataProjection : 'EPSG:4326');
}; };
goog.inherits(ol.format.TopoJSON, ol.format.JSONFeature); ol.inherits(ol.format.TopoJSON, ol.format.JSONFeature);
/** /**

View File

@@ -63,9 +63,9 @@ ol.format.WFS = function(opt_options) {
this.schemaLocation_ = options.schemaLocation ? this.schemaLocation_ = options.schemaLocation ?
options.schemaLocation : ol.format.WFS.SCHEMA_LOCATION; options.schemaLocation : ol.format.WFS.SCHEMA_LOCATION;
goog.base(this); ol.format.XMLFeature.call(this);
}; };
goog.inherits(ol.format.WFS, ol.format.XMLFeature); ol.inherits(ol.format.WFS, ol.format.XMLFeature);
/** /**

View File

@@ -30,7 +30,7 @@ ol.format.WKT = function(opt_options) {
var options = opt_options ? opt_options : {}; var options = opt_options ? opt_options : {};
goog.base(this); ol.format.TextFeature.call(this);
/** /**
* Split GeometryCollection into multiple features. * Split GeometryCollection into multiple features.
@@ -41,7 +41,7 @@ ol.format.WKT = function(opt_options) {
options.splitCollection : false; options.splitCollection : false;
}; };
goog.inherits(ol.format.WKT, ol.format.TextFeature); ol.inherits(ol.format.WKT, ol.format.TextFeature);
/** /**

View File

@@ -19,14 +19,14 @@ goog.require('ol.xml');
*/ */
ol.format.WMSCapabilities = function() { ol.format.WMSCapabilities = function() {
goog.base(this); ol.format.XML.call(this);
/** /**
* @type {string|undefined} * @type {string|undefined}
*/ */
this.version = undefined; this.version = undefined;
}; };
goog.inherits(ol.format.WMSCapabilities, ol.format.XML); ol.inherits(ol.format.WMSCapabilities, ol.format.XML);
/** /**

View File

@@ -43,9 +43,9 @@ ol.format.WMSGetFeatureInfo = function(opt_options) {
*/ */
this.layers_ = options.layers ? options.layers : null; this.layers_ = options.layers ? options.layers : null;
goog.base(this); ol.format.XMLFeature.call(this);
}; };
goog.inherits(ol.format.WMSGetFeatureInfo, ol.format.XMLFeature); ol.inherits(ol.format.WMSGetFeatureInfo, ol.format.XMLFeature);
/** /**

View File

@@ -19,7 +19,7 @@ goog.require('ol.xml');
* @api * @api
*/ */
ol.format.WMTSCapabilities = function() { ol.format.WMTSCapabilities = function() {
goog.base(this); ol.format.XML.call(this);
/** /**
* @type {ol.format.OWS} * @type {ol.format.OWS}
@@ -27,7 +27,7 @@ ol.format.WMTSCapabilities = function() {
*/ */
this.owsParser_ = new ol.format.OWS(); this.owsParser_ = new ol.format.OWS();
}; };
goog.inherits(ol.format.WMTSCapabilities, ol.format.XML); ol.inherits(ol.format.WMTSCapabilities, ol.format.XML);
/** /**

View File

@@ -26,9 +26,9 @@ ol.format.XMLFeature = function() {
*/ */
this.xmlSerializer_ = new XMLSerializer(); this.xmlSerializer_ = new XMLSerializer();
goog.base(this); ol.format.Feature.call(this);
}; };
goog.inherits(ol.format.XMLFeature, ol.format.Feature); ol.inherits(ol.format.XMLFeature, ol.format.Feature);
/** /**

View File

@@ -59,7 +59,7 @@ ol.GeolocationProperty = {
*/ */
ol.Geolocation = function(opt_options) { ol.Geolocation = function(opt_options) {
goog.base(this); ol.Object.call(this);
var options = opt_options || {}; var options = opt_options || {};
@@ -99,7 +99,7 @@ ol.Geolocation = function(opt_options) {
this.setTracking(options.tracking !== undefined ? options.tracking : false); this.setTracking(options.tracking !== undefined ? options.tracking : false);
}; };
goog.inherits(ol.Geolocation, ol.Object); ol.inherits(ol.Geolocation, ol.Object);
/** /**
@@ -107,7 +107,7 @@ goog.inherits(ol.Geolocation, ol.Object);
*/ */
ol.Geolocation.prototype.disposeInternal = function() { ol.Geolocation.prototype.disposeInternal = function() {
this.setTracking(false); this.setTracking(false);
goog.base(this, 'disposeInternal'); ol.Object.prototype.disposeInternal.call(this);
}; };

View File

@@ -21,11 +21,11 @@ goog.require('ol.proj');
* @api * @api
*/ */
ol.geom.Circle = function(center, opt_radius, opt_layout) { ol.geom.Circle = function(center, opt_radius, opt_layout) {
goog.base(this); ol.geom.SimpleGeometry.call(this);
var radius = opt_radius ? opt_radius : 0; var radius = opt_radius ? opt_radius : 0;
this.setCenterAndRadius(center, radius, opt_layout); this.setCenterAndRadius(center, radius, opt_layout);
}; };
goog.inherits(ol.geom.Circle, ol.geom.SimpleGeometry); ol.inherits(ol.geom.Circle, ol.geom.SimpleGeometry);
/** /**

View File

@@ -58,7 +58,7 @@ ol.geom.GeometryLayout = {
*/ */
ol.geom.Geometry = function() { ol.geom.Geometry = function() {
goog.base(this); ol.Object.call(this);
/** /**
* @private * @private
@@ -91,7 +91,7 @@ ol.geom.Geometry = function() {
this.simplifiedGeometryRevision = 0; this.simplifiedGeometryRevision = 0;
}; };
goog.inherits(ol.geom.Geometry, ol.Object); ol.inherits(ol.geom.Geometry, ol.Object);
/** /**

View File

@@ -19,7 +19,7 @@ goog.require('ol.object');
*/ */
ol.geom.GeometryCollection = function(opt_geometries) { ol.geom.GeometryCollection = function(opt_geometries) {
goog.base(this); ol.geom.Geometry.call(this);
/** /**
* @private * @private
@@ -29,7 +29,7 @@ ol.geom.GeometryCollection = function(opt_geometries) {
this.listenGeometriesChange_(); this.listenGeometriesChange_();
}; };
goog.inherits(ol.geom.GeometryCollection, ol.geom.Geometry); ol.inherits(ol.geom.GeometryCollection, ol.geom.Geometry);
/** /**
@@ -301,5 +301,5 @@ ol.geom.GeometryCollection.prototype.translate = function(deltaX, deltaY) {
*/ */
ol.geom.GeometryCollection.prototype.disposeInternal = function() { ol.geom.GeometryCollection.prototype.disposeInternal = function() {
this.unlistenGeometriesChange_(); this.unlistenGeometriesChange_();
goog.base(this, 'disposeInternal'); ol.geom.Geometry.prototype.disposeInternal.call(this);
}; };

View File

@@ -24,7 +24,7 @@ goog.require('ol.geom.flat.simplify');
*/ */
ol.geom.LinearRing = function(coordinates, opt_layout) { ol.geom.LinearRing = function(coordinates, opt_layout) {
goog.base(this); ol.geom.SimpleGeometry.call(this);
/** /**
* @private * @private
@@ -41,7 +41,7 @@ ol.geom.LinearRing = function(coordinates, opt_layout) {
this.setCoordinates(coordinates, opt_layout); this.setCoordinates(coordinates, opt_layout);
}; };
goog.inherits(ol.geom.LinearRing, ol.geom.SimpleGeometry); ol.inherits(ol.geom.LinearRing, ol.geom.SimpleGeometry);
/** /**

View File

@@ -29,7 +29,7 @@ goog.require('ol.geom.flat.simplify');
*/ */
ol.geom.LineString = function(coordinates, opt_layout) { ol.geom.LineString = function(coordinates, opt_layout) {
goog.base(this); ol.geom.SimpleGeometry.call(this);
/** /**
* @private * @private
@@ -58,7 +58,7 @@ ol.geom.LineString = function(coordinates, opt_layout) {
this.setCoordinates(coordinates, opt_layout); this.setCoordinates(coordinates, opt_layout);
}; };
goog.inherits(ol.geom.LineString, ol.geom.SimpleGeometry); ol.inherits(ol.geom.LineString, ol.geom.SimpleGeometry);
/** /**

View File

@@ -28,7 +28,7 @@ goog.require('ol.geom.flat.simplify');
*/ */
ol.geom.MultiLineString = function(coordinates, opt_layout) { ol.geom.MultiLineString = function(coordinates, opt_layout) {
goog.base(this); ol.geom.SimpleGeometry.call(this);
/** /**
* @type {Array.<number>} * @type {Array.<number>}
@@ -51,7 +51,7 @@ ol.geom.MultiLineString = function(coordinates, opt_layout) {
this.setCoordinates(coordinates, opt_layout); this.setCoordinates(coordinates, opt_layout);
}; };
goog.inherits(ol.geom.MultiLineString, ol.geom.SimpleGeometry); ol.inherits(ol.geom.MultiLineString, ol.geom.SimpleGeometry);
/** /**

View File

@@ -23,10 +23,10 @@ goog.require('ol.math');
* @api stable * @api stable
*/ */
ol.geom.MultiPoint = function(coordinates, opt_layout) { ol.geom.MultiPoint = function(coordinates, opt_layout) {
goog.base(this); ol.geom.SimpleGeometry.call(this);
this.setCoordinates(coordinates, opt_layout); this.setCoordinates(coordinates, opt_layout);
}; };
goog.inherits(ol.geom.MultiPoint, ol.geom.SimpleGeometry); ol.inherits(ol.geom.MultiPoint, ol.geom.SimpleGeometry);
/** /**

View File

@@ -33,7 +33,7 @@ goog.require('ol.geom.flat.simplify');
*/ */
ol.geom.MultiPolygon = function(coordinates, opt_layout) { ol.geom.MultiPolygon = function(coordinates, opt_layout) {
goog.base(this); ol.geom.SimpleGeometry.call(this);
/** /**
* @type {Array.<Array.<number>>} * @type {Array.<Array.<number>>}
@@ -80,7 +80,7 @@ ol.geom.MultiPolygon = function(coordinates, opt_layout) {
this.setCoordinates(coordinates, opt_layout); this.setCoordinates(coordinates, opt_layout);
}; };
goog.inherits(ol.geom.MultiPolygon, ol.geom.SimpleGeometry); ol.inherits(ol.geom.MultiPolygon, ol.geom.SimpleGeometry);
/** /**

View File

@@ -19,10 +19,10 @@ goog.require('ol.math');
* @api stable * @api stable
*/ */
ol.geom.Point = function(coordinates, opt_layout) { ol.geom.Point = function(coordinates, opt_layout) {
goog.base(this); ol.geom.SimpleGeometry.call(this);
this.setCoordinates(coordinates, opt_layout); this.setCoordinates(coordinates, opt_layout);
}; };
goog.inherits(ol.geom.Point, ol.geom.SimpleGeometry); ol.inherits(ol.geom.Point, ol.geom.SimpleGeometry);
/** /**

View File

@@ -33,7 +33,7 @@ goog.require('ol.math');
*/ */
ol.geom.Polygon = function(coordinates, opt_layout) { ol.geom.Polygon = function(coordinates, opt_layout) {
goog.base(this); ol.geom.SimpleGeometry.call(this);
/** /**
* @type {Array.<number>} * @type {Array.<number>}
@@ -80,7 +80,7 @@ ol.geom.Polygon = function(coordinates, opt_layout) {
this.setCoordinates(coordinates, opt_layout); this.setCoordinates(coordinates, opt_layout);
}; };
goog.inherits(ol.geom.Polygon, ol.geom.SimpleGeometry); ol.inherits(ol.geom.Polygon, ol.geom.SimpleGeometry);
/** /**

View File

@@ -20,7 +20,7 @@ goog.require('ol.object');
*/ */
ol.geom.SimpleGeometry = function() { ol.geom.SimpleGeometry = function() {
goog.base(this); ol.geom.Geometry.call(this);
/** /**
* @protected * @protected
@@ -41,7 +41,7 @@ ol.geom.SimpleGeometry = function() {
this.flatCoordinates = null; this.flatCoordinates = null;
}; };
goog.inherits(ol.geom.SimpleGeometry, ol.geom.Geometry); ol.inherits(ol.geom.SimpleGeometry, ol.geom.Geometry);
/** /**

View File

@@ -23,7 +23,7 @@ goog.require('ol.object');
ol.Image = function(extent, resolution, pixelRatio, attributions, src, ol.Image = function(extent, resolution, pixelRatio, attributions, src,
crossOrigin, imageLoadFunction) { crossOrigin, imageLoadFunction) {
goog.base(this, extent, resolution, pixelRatio, ol.ImageState.IDLE, ol.ImageBase.call(this, extent, resolution, pixelRatio, ol.ImageState.IDLE,
attributions); attributions);
/** /**
@@ -66,7 +66,7 @@ ol.Image = function(extent, resolution, pixelRatio, attributions, src,
this.imageLoadFunction_ = imageLoadFunction; this.imageLoadFunction_ = imageLoadFunction;
}; };
goog.inherits(ol.Image, ol.ImageBase); ol.inherits(ol.Image, ol.ImageBase);
/** /**

View File

@@ -29,7 +29,7 @@ ol.ImageState = {
*/ */
ol.ImageBase = function(extent, resolution, pixelRatio, state, attributions) { ol.ImageBase = function(extent, resolution, pixelRatio, state, attributions) {
goog.base(this); ol.events.EventTarget.call(this);
/** /**
* @private * @private
@@ -62,7 +62,7 @@ ol.ImageBase = function(extent, resolution, pixelRatio, state, attributions) {
this.state = state; this.state = state;
}; };
goog.inherits(ol.ImageBase, ol.events.EventTarget); ol.inherits(ol.ImageBase, ol.events.EventTarget);
/** /**

View File

@@ -29,7 +29,7 @@ ol.ImageCanvas = function(extent, resolution, pixelRatio, attributions,
var state = opt_loader !== undefined ? var state = opt_loader !== undefined ?
ol.ImageState.IDLE : ol.ImageState.LOADED; ol.ImageState.IDLE : ol.ImageState.LOADED;
goog.base(this, extent, resolution, pixelRatio, state, attributions); ol.ImageBase.call(this, extent, resolution, pixelRatio, state, attributions);
/** /**
* @private * @private
@@ -44,7 +44,7 @@ ol.ImageCanvas = function(extent, resolution, pixelRatio, attributions,
this.error_ = null; this.error_ = null;
}; };
goog.inherits(ol.ImageCanvas, ol.ImageBase); ol.inherits(ol.ImageCanvas, ol.ImageBase);
/** /**

View File

@@ -19,7 +19,7 @@ goog.require('ol.object');
*/ */
ol.ImageTile = function(tileCoord, state, src, crossOrigin, tileLoadFunction) { ol.ImageTile = function(tileCoord, state, src, crossOrigin, tileLoadFunction) {
goog.base(this, tileCoord, state); ol.Tile.call(this, tileCoord, state);
/** /**
* Image URI * Image URI
@@ -57,7 +57,7 @@ ol.ImageTile = function(tileCoord, state, src, crossOrigin, tileLoadFunction) {
this.tileLoadFunction_ = tileLoadFunction; this.tileLoadFunction_ = tileLoadFunction;
}; };
goog.inherits(ol.ImageTile, ol.Tile); ol.inherits(ol.ImageTile, ol.Tile);
/** /**
@@ -72,7 +72,7 @@ ol.ImageTile.prototype.disposeInternal = function() {
} }
this.state = ol.TileState.ABORT; this.state = ol.TileState.ABORT;
this.changed(); this.changed();
goog.base(this, 'disposeInternal'); ol.Tile.prototype.disposeInternal.call(this);
}; };

View File

@@ -25,7 +25,7 @@ ol.interaction.DoubleClickZoom = function(opt_options) {
*/ */
this.delta_ = options.delta ? options.delta : 1; this.delta_ = options.delta ? options.delta : 1;
goog.base(this, { ol.interaction.Interaction.call(this, {
handleEvent: ol.interaction.DoubleClickZoom.handleEvent handleEvent: ol.interaction.DoubleClickZoom.handleEvent
}); });
@@ -36,7 +36,7 @@ ol.interaction.DoubleClickZoom = function(opt_options) {
this.duration_ = options.duration !== undefined ? options.duration : 250; this.duration_ = options.duration !== undefined ? options.duration : 250;
}; };
goog.inherits(ol.interaction.DoubleClickZoom, ol.interaction.Interaction); ol.inherits(ol.interaction.DoubleClickZoom, ol.interaction.Interaction);
/** /**

View File

@@ -26,7 +26,7 @@ ol.interaction.DragAndDrop = function(opt_options) {
var options = opt_options ? opt_options : {}; var options = opt_options ? opt_options : {};
goog.base(this, { ol.interaction.Interaction.call(this, {
handleEvent: ol.interaction.DragAndDrop.handleEvent handleEvent: ol.interaction.DragAndDrop.handleEvent
}); });
@@ -57,7 +57,7 @@ ol.interaction.DragAndDrop = function(opt_options) {
this.target = options.target ? options.target : null; this.target = options.target ? options.target : null;
}; };
goog.inherits(ol.interaction.DragAndDrop, ol.interaction.Interaction); ol.inherits(ol.interaction.DragAndDrop, ol.interaction.Interaction);
/** /**
@@ -145,7 +145,7 @@ ol.interaction.DragAndDrop.prototype.setMap = function(map) {
this.dropListenKeys_.forEach(ol.events.unlistenByKey); this.dropListenKeys_.forEach(ol.events.unlistenByKey);
this.dropListenKeys_ = null; this.dropListenKeys_ = null;
} }
goog.base(this, 'setMap', map); ol.interaction.Interaction.prototype.setMap.call(this, map);
if (map) { if (map) {
var dropArea = this.target ? this.target : map.getViewport(); var dropArea = this.target ? this.target : map.getViewport();
this.dropListenKeys_ = [ this.dropListenKeys_ = [
@@ -207,7 +207,7 @@ ol.interaction.DragAndDropEventType = {
*/ */
ol.interaction.DragAndDropEvent = function(type, target, file, opt_features, opt_projection) { ol.interaction.DragAndDropEvent = function(type, target, file, opt_features, opt_projection) {
goog.base(this, type, target); ol.events.Event.call(this, type, target);
/** /**
* The features parsed from dropped data. * The features parsed from dropped data.
@@ -231,4 +231,4 @@ ol.interaction.DragAndDropEvent = function(type, target, file, opt_features, opt
this.projection = opt_projection; this.projection = opt_projection;
}; };
goog.inherits(ol.interaction.DragAndDropEvent, ol.events.Event); ol.inherits(ol.interaction.DragAndDropEvent, ol.events.Event);

View File

@@ -58,7 +58,7 @@ ol.DragBoxEventType = {
* @implements {oli.DragBoxEvent} * @implements {oli.DragBoxEvent}
*/ */
ol.DragBoxEvent = function(type, coordinate, mapBrowserEvent) { ol.DragBoxEvent = function(type, coordinate, mapBrowserEvent) {
goog.base(this, type); ol.events.Event.call(this, type);
/** /**
* The coordinate of the drag event. * The coordinate of the drag event.
@@ -76,7 +76,7 @@ ol.DragBoxEvent = function(type, coordinate, mapBrowserEvent) {
this.mapBrowserEvent = mapBrowserEvent; this.mapBrowserEvent = mapBrowserEvent;
}; };
goog.inherits(ol.DragBoxEvent, ol.events.Event); ol.inherits(ol.DragBoxEvent, ol.events.Event);
/** /**
@@ -98,7 +98,7 @@ goog.inherits(ol.DragBoxEvent, ol.events.Event);
*/ */
ol.interaction.DragBox = function(opt_options) { ol.interaction.DragBox = function(opt_options) {
goog.base(this, { ol.interaction.Pointer.call(this, {
handleDownEvent: ol.interaction.DragBox.handleDownEvent_, handleDownEvent: ol.interaction.DragBox.handleDownEvent_,
handleDragEvent: ol.interaction.DragBox.handleDragEvent_, handleDragEvent: ol.interaction.DragBox.handleDragEvent_,
handleUpEvent: ol.interaction.DragBox.handleUpEvent_ handleUpEvent: ol.interaction.DragBox.handleUpEvent_
@@ -132,7 +132,7 @@ ol.interaction.DragBox = function(opt_options) {
this.boxEndCondition_ = options.boxEndCondition ? this.boxEndCondition_ = options.boxEndCondition ?
options.boxEndCondition : ol.interaction.DragBox.defaultBoxEndCondition; options.boxEndCondition : ol.interaction.DragBox.defaultBoxEndCondition;
}; };
goog.inherits(ol.interaction.DragBox, ol.interaction.Pointer); ol.inherits(ol.interaction.DragBox, ol.interaction.Pointer);
/** /**

View File

@@ -21,7 +21,7 @@ goog.require('ol.interaction.Pointer');
*/ */
ol.interaction.DragPan = function(opt_options) { ol.interaction.DragPan = function(opt_options) {
goog.base(this, { ol.interaction.Pointer.call(this, {
handleDownEvent: ol.interaction.DragPan.handleDownEvent_, handleDownEvent: ol.interaction.DragPan.handleDownEvent_,
handleDragEvent: ol.interaction.DragPan.handleDragEvent_, handleDragEvent: ol.interaction.DragPan.handleDragEvent_,
handleUpEvent: ol.interaction.DragPan.handleUpEvent_ handleUpEvent: ol.interaction.DragPan.handleUpEvent_
@@ -60,7 +60,7 @@ ol.interaction.DragPan = function(opt_options) {
this.noKinetic_ = false; this.noKinetic_ = false;
}; };
goog.inherits(ol.interaction.DragPan, ol.interaction.Pointer); ol.inherits(ol.interaction.DragPan, ol.interaction.Pointer);
/** /**

View File

@@ -26,7 +26,7 @@ ol.interaction.DragRotateAndZoom = function(opt_options) {
var options = opt_options ? opt_options : {}; var options = opt_options ? opt_options : {};
goog.base(this, { ol.interaction.Pointer.call(this, {
handleDownEvent: ol.interaction.DragRotateAndZoom.handleDownEvent_, handleDownEvent: ol.interaction.DragRotateAndZoom.handleDownEvent_,
handleDragEvent: ol.interaction.DragRotateAndZoom.handleDragEvent_, handleDragEvent: ol.interaction.DragRotateAndZoom.handleDragEvent_,
handleUpEvent: ol.interaction.DragRotateAndZoom.handleUpEvent_ handleUpEvent: ol.interaction.DragRotateAndZoom.handleUpEvent_
@@ -64,7 +64,7 @@ ol.interaction.DragRotateAndZoom = function(opt_options) {
this.duration_ = options.duration !== undefined ? options.duration : 400; this.duration_ = options.duration !== undefined ? options.duration : 400;
}; };
goog.inherits(ol.interaction.DragRotateAndZoom, ol.interaction.Pointer); ol.inherits(ol.interaction.DragRotateAndZoom, ol.interaction.Pointer);
/** /**

View File

@@ -25,7 +25,7 @@ ol.interaction.DragRotate = function(opt_options) {
var options = opt_options ? opt_options : {}; var options = opt_options ? opt_options : {};
goog.base(this, { ol.interaction.Pointer.call(this, {
handleDownEvent: ol.interaction.DragRotate.handleDownEvent_, handleDownEvent: ol.interaction.DragRotate.handleDownEvent_,
handleDragEvent: ol.interaction.DragRotate.handleDragEvent_, handleDragEvent: ol.interaction.DragRotate.handleDragEvent_,
handleUpEvent: ol.interaction.DragRotate.handleUpEvent_ handleUpEvent: ol.interaction.DragRotate.handleUpEvent_
@@ -50,7 +50,7 @@ ol.interaction.DragRotate = function(opt_options) {
*/ */
this.duration_ = options.duration !== undefined ? options.duration : 250; this.duration_ = options.duration !== undefined ? options.duration : 250;
}; };
goog.inherits(ol.interaction.DragRotate, ol.interaction.Pointer); ol.inherits(ol.interaction.DragRotate, ol.interaction.Pointer);
/** /**

View File

@@ -40,13 +40,13 @@ ol.interaction.DragZoom = function(opt_options) {
*/ */
this.out_ = options.out !== undefined ? options.out : false; this.out_ = options.out !== undefined ? options.out : false;
goog.base(this, { ol.interaction.DragBox.call(this, {
condition: condition, condition: condition,
className: options.className || 'ol-dragzoom' className: options.className || 'ol-dragzoom'
}); });
}; };
goog.inherits(ol.interaction.DragZoom, ol.interaction.DragBox); ol.inherits(ol.interaction.DragZoom, ol.interaction.DragBox);
/** /**

View File

@@ -61,7 +61,7 @@ ol.interaction.DrawEventType = {
*/ */
ol.interaction.DrawEvent = function(type, feature) { ol.interaction.DrawEvent = function(type, feature) {
goog.base(this, type); ol.events.Event.call(this, type);
/** /**
* The feature being drawn. * The feature being drawn.
@@ -71,7 +71,7 @@ ol.interaction.DrawEvent = function(type, feature) {
this.feature = feature; this.feature = feature;
}; };
goog.inherits(ol.interaction.DrawEvent, ol.events.Event); ol.inherits(ol.interaction.DrawEvent, ol.events.Event);
/** /**
@@ -86,7 +86,7 @@ goog.inherits(ol.interaction.DrawEvent, ol.events.Event);
*/ */
ol.interaction.Draw = function(options) { ol.interaction.Draw = function(options) {
goog.base(this, { ol.interaction.Pointer.call(this, {
handleDownEvent: ol.interaction.Draw.handleDownEvent_, handleDownEvent: ol.interaction.Draw.handleDownEvent_,
handleEvent: ol.interaction.Draw.handleEvent, handleEvent: ol.interaction.Draw.handleEvent,
handleUpEvent: ol.interaction.Draw.handleUpEvent_ handleUpEvent: ol.interaction.Draw.handleUpEvent_
@@ -311,7 +311,7 @@ ol.interaction.Draw = function(options) {
this.updateState_, this); this.updateState_, this);
}; };
goog.inherits(ol.interaction.Draw, ol.interaction.Pointer); ol.inherits(ol.interaction.Draw, ol.interaction.Pointer);
/** /**
@@ -329,7 +329,7 @@ ol.interaction.Draw.getDefaultStyleFunction = function() {
* @inheritDoc * @inheritDoc
*/ */
ol.interaction.Draw.prototype.setMap = function(map) { ol.interaction.Draw.prototype.setMap = function(map) {
goog.base(this, 'setMap', map); ol.interaction.Pointer.prototype.setMap.call(this, map);
this.updateState_(); this.updateState_();
}; };

View File

@@ -37,7 +37,7 @@ ol.interaction.InteractionProperty = {
*/ */
ol.interaction.Interaction = function(options) { ol.interaction.Interaction = function(options) {
goog.base(this); ol.Object.call(this);
/** /**
* @private * @private
@@ -53,7 +53,7 @@ ol.interaction.Interaction = function(options) {
this.handleEvent = options.handleEvent; this.handleEvent = options.handleEvent;
}; };
goog.inherits(ol.interaction.Interaction, ol.Object); ol.inherits(ol.interaction.Interaction, ol.Object);
/** /**

View File

@@ -28,7 +28,7 @@ goog.require('ol.interaction.Interaction');
*/ */
ol.interaction.KeyboardPan = function(opt_options) { ol.interaction.KeyboardPan = function(opt_options) {
goog.base(this, { ol.interaction.Interaction.call(this, {
handleEvent: ol.interaction.KeyboardPan.handleEvent handleEvent: ol.interaction.KeyboardPan.handleEvent
}); });
@@ -65,7 +65,7 @@ ol.interaction.KeyboardPan = function(opt_options) {
options.pixelDelta : 128; options.pixelDelta : 128;
}; };
goog.inherits(ol.interaction.KeyboardPan, ol.interaction.Interaction); ol.inherits(ol.interaction.KeyboardPan, ol.interaction.Interaction);
/** /**
* Handles the {@link ol.MapBrowserEvent map browser event} if it was a * Handles the {@link ol.MapBrowserEvent map browser event} if it was a

View File

@@ -25,7 +25,7 @@ goog.require('ol.interaction.Interaction');
*/ */
ol.interaction.KeyboardZoom = function(opt_options) { ol.interaction.KeyboardZoom = function(opt_options) {
goog.base(this, { ol.interaction.Interaction.call(this, {
handleEvent: ol.interaction.KeyboardZoom.handleEvent handleEvent: ol.interaction.KeyboardZoom.handleEvent
}); });
@@ -51,7 +51,7 @@ ol.interaction.KeyboardZoom = function(opt_options) {
this.duration_ = options.duration !== undefined ? options.duration : 100; this.duration_ = options.duration !== undefined ? options.duration : 100;
}; };
goog.inherits(ol.interaction.KeyboardZoom, ol.interaction.Interaction); ol.inherits(ol.interaction.KeyboardZoom, ol.interaction.Interaction);
/** /**

View File

@@ -63,7 +63,7 @@ ol.ModifyEventType = {
*/ */
ol.interaction.ModifyEvent = function(type, features, mapBrowserPointerEvent) { ol.interaction.ModifyEvent = function(type, features, mapBrowserPointerEvent) {
goog.base(this, type); ol.events.Event.call(this, type);
/** /**
* The features being modified. * The features being modified.
@@ -79,7 +79,7 @@ ol.interaction.ModifyEvent = function(type, features, mapBrowserPointerEvent) {
*/ */
this.mapBrowserPointerEvent = mapBrowserPointerEvent; this.mapBrowserPointerEvent = mapBrowserPointerEvent;
}; };
goog.inherits(ol.interaction.ModifyEvent, ol.events.Event); ol.inherits(ol.interaction.ModifyEvent, ol.events.Event);
/** /**
@@ -94,7 +94,7 @@ goog.inherits(ol.interaction.ModifyEvent, ol.events.Event);
*/ */
ol.interaction.Modify = function(options) { ol.interaction.Modify = function(options) {
goog.base(this, { ol.interaction.Pointer.call(this, {
handleDownEvent: ol.interaction.Modify.handleDownEvent_, handleDownEvent: ol.interaction.Modify.handleDownEvent_,
handleDragEvent: ol.interaction.Modify.handleDragEvent_, handleDragEvent: ol.interaction.Modify.handleDragEvent_,
handleEvent: ol.interaction.Modify.handleEvent, handleEvent: ol.interaction.Modify.handleEvent,
@@ -245,7 +245,7 @@ ol.interaction.Modify = function(options) {
this.lastPointerEvent_ = null; this.lastPointerEvent_ = null;
}; };
goog.inherits(ol.interaction.Modify, ol.interaction.Pointer); ol.inherits(ol.interaction.Modify, ol.interaction.Pointer);
/** /**
@@ -323,7 +323,7 @@ ol.interaction.Modify.prototype.removeFeatureSegmentData_ = function(feature) {
*/ */
ol.interaction.Modify.prototype.setMap = function(map) { ol.interaction.Modify.prototype.setMap = function(map) {
this.overlay_.setMap(map); this.overlay_.setMap(map);
goog.base(this, 'setMap', map); ol.interaction.Pointer.prototype.setMap.call(this, map);
}; };

View File

@@ -18,7 +18,7 @@ goog.require('ol.math');
*/ */
ol.interaction.MouseWheelZoom = function(opt_options) { ol.interaction.MouseWheelZoom = function(opt_options) {
goog.base(this, { ol.interaction.Interaction.call(this, {
handleEvent: ol.interaction.MouseWheelZoom.handleEvent handleEvent: ol.interaction.MouseWheelZoom.handleEvent
}); });
@@ -61,7 +61,7 @@ ol.interaction.MouseWheelZoom = function(opt_options) {
this.timeoutId_ = undefined; this.timeoutId_ = undefined;
}; };
goog.inherits(ol.interaction.MouseWheelZoom, ol.interaction.Interaction); ol.inherits(ol.interaction.MouseWheelZoom, ol.interaction.Interaction);
/** /**

View File

@@ -20,7 +20,7 @@ goog.require('ol.interaction.Pointer');
*/ */
ol.interaction.PinchRotate = function(opt_options) { ol.interaction.PinchRotate = function(opt_options) {
goog.base(this, { ol.interaction.Pointer.call(this, {
handleDownEvent: ol.interaction.PinchRotate.handleDownEvent_, handleDownEvent: ol.interaction.PinchRotate.handleDownEvent_,
handleDragEvent: ol.interaction.PinchRotate.handleDragEvent_, handleDragEvent: ol.interaction.PinchRotate.handleDragEvent_,
handleUpEvent: ol.interaction.PinchRotate.handleUpEvent_ handleUpEvent: ol.interaction.PinchRotate.handleUpEvent_
@@ -65,7 +65,7 @@ ol.interaction.PinchRotate = function(opt_options) {
this.duration_ = options.duration !== undefined ? options.duration : 250; this.duration_ = options.duration !== undefined ? options.duration : 250;
}; };
goog.inherits(ol.interaction.PinchRotate, ol.interaction.Pointer); ol.inherits(ol.interaction.PinchRotate, ol.interaction.Pointer);
/** /**

View File

@@ -20,7 +20,7 @@ goog.require('ol.interaction.Pointer');
*/ */
ol.interaction.PinchZoom = function(opt_options) { ol.interaction.PinchZoom = function(opt_options) {
goog.base(this, { ol.interaction.Pointer.call(this, {
handleDownEvent: ol.interaction.PinchZoom.handleDownEvent_, handleDownEvent: ol.interaction.PinchZoom.handleDownEvent_,
handleDragEvent: ol.interaction.PinchZoom.handleDragEvent_, handleDragEvent: ol.interaction.PinchZoom.handleDragEvent_,
handleUpEvent: ol.interaction.PinchZoom.handleUpEvent_ handleUpEvent: ol.interaction.PinchZoom.handleUpEvent_
@@ -53,7 +53,7 @@ ol.interaction.PinchZoom = function(opt_options) {
this.lastScaleDelta_ = 1; this.lastScaleDelta_ = 1;
}; };
goog.inherits(ol.interaction.PinchZoom, ol.interaction.Pointer); ol.inherits(ol.interaction.PinchZoom, ol.interaction.Pointer);
/** /**

View File

@@ -29,7 +29,7 @@ ol.interaction.Pointer = function(opt_options) {
var handleEvent = options.handleEvent ? var handleEvent = options.handleEvent ?
options.handleEvent : ol.interaction.Pointer.handleEvent; options.handleEvent : ol.interaction.Pointer.handleEvent;
goog.base(this, { ol.interaction.Interaction.call(this, {
handleEvent: handleEvent handleEvent: handleEvent
}); });
@@ -80,7 +80,7 @@ ol.interaction.Pointer = function(opt_options) {
this.targetPointers = []; this.targetPointers = [];
}; };
goog.inherits(ol.interaction.Pointer, ol.interaction.Interaction); ol.inherits(ol.interaction.Pointer, ol.interaction.Interaction);
/** /**

View File

@@ -45,7 +45,7 @@ ol.interaction.SelectEventType = {
* @constructor * @constructor
*/ */
ol.interaction.SelectEvent = function(type, selected, deselected, mapBrowserEvent) { ol.interaction.SelectEvent = function(type, selected, deselected, mapBrowserEvent) {
goog.base(this, type); ol.events.Event.call(this, type);
/** /**
* Selected features array. * Selected features array.
@@ -68,7 +68,7 @@ ol.interaction.SelectEvent = function(type, selected, deselected, mapBrowserEven
*/ */
this.mapBrowserEvent = mapBrowserEvent; this.mapBrowserEvent = mapBrowserEvent;
}; };
goog.inherits(ol.interaction.SelectEvent, ol.events.Event); ol.inherits(ol.interaction.SelectEvent, ol.events.Event);
/** /**
@@ -91,7 +91,7 @@ goog.inherits(ol.interaction.SelectEvent, ol.events.Event);
*/ */
ol.interaction.Select = function(opt_options) { ol.interaction.Select = function(opt_options) {
goog.base(this, { ol.interaction.Interaction.call(this, {
handleEvent: ol.interaction.Select.handleEvent handleEvent: ol.interaction.Select.handleEvent
}); });
@@ -202,7 +202,7 @@ ol.interaction.Select = function(opt_options) {
this.removeFeature_, this); this.removeFeature_, this);
}; };
goog.inherits(ol.interaction.Select, ol.interaction.Interaction); ol.inherits(ol.interaction.Select, ol.interaction.Interaction);
/** /**
@@ -346,7 +346,7 @@ ol.interaction.Select.prototype.setMap = function(map) {
if (currentMap) { if (currentMap) {
selectedFeatures.forEach(currentMap.unskipFeature, currentMap); selectedFeatures.forEach(currentMap.unskipFeature, currentMap);
} }
goog.base(this, 'setMap', map); ol.interaction.Interaction.prototype.setMap.call(this, map);
this.featureOverlay_.setMap(map); this.featureOverlay_.setMap(map);
if (map) { if (map) {
selectedFeatures.forEach(map.skipFeature, map); selectedFeatures.forEach(map.skipFeature, map);

View File

@@ -47,7 +47,7 @@ goog.require('ol.structs.RBush');
*/ */
ol.interaction.Snap = function(opt_options) { ol.interaction.Snap = function(opt_options) {
goog.base(this, { ol.interaction.Pointer.call(this, {
handleEvent: ol.interaction.Snap.handleEvent_, handleEvent: ol.interaction.Snap.handleEvent_,
handleDownEvent: ol.functions.TRUE, handleDownEvent: ol.functions.TRUE,
handleUpEvent: ol.interaction.Snap.handleUpEvent_ handleUpEvent: ol.interaction.Snap.handleUpEvent_
@@ -159,7 +159,7 @@ ol.interaction.Snap = function(opt_options) {
'GeometryCollection': this.writeGeometryCollectionGeometry_ 'GeometryCollection': this.writeGeometryCollectionGeometry_
}; };
}; };
goog.inherits(ol.interaction.Snap, ol.interaction.Pointer); ol.inherits(ol.interaction.Snap, ol.interaction.Pointer);
/** /**
@@ -344,8 +344,7 @@ ol.interaction.Snap.prototype.setMap = function(map) {
keys.length = 0; keys.length = 0;
features.forEach(this.forEachFeatureRemove_, this); features.forEach(this.forEachFeatureRemove_, this);
} }
ol.interaction.Pointer.prototype.setMap.call(this, map);
goog.base(this, 'setMap', map);
if (map) { if (map) {
if (this.features_) { if (this.features_) {

View File

@@ -47,7 +47,7 @@ ol.interaction.TranslateEventType = {
*/ */
ol.interaction.TranslateEvent = function(type, features, coordinate) { ol.interaction.TranslateEvent = function(type, features, coordinate) {
goog.base(this, type); ol.events.Event.call(this, type);
/** /**
* The features being translated. * The features being translated.
@@ -64,7 +64,7 @@ ol.interaction.TranslateEvent = function(type, features, coordinate) {
*/ */
this.coordinate = coordinate; this.coordinate = coordinate;
}; };
goog.inherits(ol.interaction.TranslateEvent, ol.events.Event); ol.inherits(ol.interaction.TranslateEvent, ol.events.Event);
/** /**
@@ -78,7 +78,7 @@ goog.inherits(ol.interaction.TranslateEvent, ol.events.Event);
* @api * @api
*/ */
ol.interaction.Translate = function(options) { ol.interaction.Translate = function(options) {
goog.base(this, { ol.interaction.Pointer.call(this, {
handleDownEvent: ol.interaction.Translate.handleDownEvent_, handleDownEvent: ol.interaction.Translate.handleDownEvent_,
handleDragEvent: ol.interaction.Translate.handleDragEvent_, handleDragEvent: ol.interaction.Translate.handleDragEvent_,
handleMoveEvent: ol.interaction.Translate.handleMoveEvent_, handleMoveEvent: ol.interaction.Translate.handleMoveEvent_,
@@ -144,7 +144,7 @@ ol.interaction.Translate = function(options) {
*/ */
this.lastFeature_ = null; this.lastFeature_ = null;
}; };
goog.inherits(ol.interaction.Translate, ol.interaction.Pointer); ol.inherits(ol.interaction.Translate, ol.interaction.Pointer);
/** /**

View File

@@ -46,7 +46,7 @@ ol.layer.Heatmap = function(opt_options) {
delete baseOptions.blur; delete baseOptions.blur;
delete baseOptions.shadow; delete baseOptions.shadow;
delete baseOptions.weight; delete baseOptions.weight;
goog.base(this, /** @type {olx.layer.VectorOptions} */ (baseOptions)); ol.layer.Vector.call(this, /** @type {olx.layer.VectorOptions} */ (baseOptions));
/** /**
* @private * @private
@@ -134,7 +134,7 @@ ol.layer.Heatmap = function(opt_options) {
ol.events.listen(this, ol.render.EventType.RENDER, this.handleRender_, this); ol.events.listen(this, ol.render.EventType.RENDER, this.handleRender_, this);
}; };
goog.inherits(ol.layer.Heatmap, ol.layer.Vector); ol.inherits(ol.layer.Heatmap, ol.layer.Vector);
/** /**

View File

@@ -19,9 +19,9 @@ goog.require('ol.layer.Layer');
*/ */
ol.layer.Image = function(opt_options) { ol.layer.Image = function(opt_options) {
var options = opt_options ? opt_options : {}; var options = opt_options ? opt_options : {};
goog.base(this, /** @type {olx.layer.LayerOptions} */ (options)); ol.layer.Layer.call(this, /** @type {olx.layer.LayerOptions} */ (options));
}; };
goog.inherits(ol.layer.Image, ol.layer.Layer); ol.inherits(ol.layer.Image, ol.layer.Layer);
/** /**

View File

@@ -37,7 +37,7 @@ ol.layer.Layer = function(options) {
var baseOptions = ol.object.assign({}, options); var baseOptions = ol.object.assign({}, options);
delete baseOptions.source; delete baseOptions.source;
goog.base(this, /** @type {olx.layer.BaseOptions} */ (baseOptions)); ol.layer.Base.call(this, /** @type {olx.layer.BaseOptions} */ (baseOptions));
/** /**
* @private * @private
@@ -68,7 +68,7 @@ ol.layer.Layer = function(options) {
var source = options.source ? options.source : null; var source = options.source ? options.source : null;
this.setSource(source); this.setSource(source);
}; };
goog.inherits(ol.layer.Layer, ol.layer.Base); ol.inherits(ol.layer.Layer, ol.layer.Base);
/** /**

View File

@@ -37,7 +37,7 @@ ol.layer.LayerProperty = {
*/ */
ol.layer.Base = function(options) { ol.layer.Base = function(options) {
goog.base(this); ol.Object.call(this);
/** /**
* @type {Object.<string, *>} * @type {Object.<string, *>}
@@ -56,7 +56,7 @@ ol.layer.Base = function(options) {
this.setProperties(properties); this.setProperties(properties);
}; };
goog.inherits(ol.layer.Base, ol.Object); ol.inherits(ol.layer.Base, ol.Object);
/** /**

View File

@@ -42,7 +42,7 @@ ol.layer.Group = function(opt_options) {
var layers = options.layers; var layers = options.layers;
goog.base(this, baseOptions); ol.layer.Base.call(this, baseOptions);
/** /**
* @private * @private
@@ -75,7 +75,7 @@ ol.layer.Group = function(opt_options) {
this.setLayers(layers); this.setLayers(layers);
}; };
goog.inherits(ol.layer.Group, ol.layer.Base); ol.inherits(ol.layer.Group, ol.layer.Base);
/** /**

View File

@@ -35,13 +35,13 @@ ol.layer.Tile = function(opt_options) {
delete baseOptions.preload; delete baseOptions.preload;
delete baseOptions.useInterimTilesOnError; delete baseOptions.useInterimTilesOnError;
goog.base(this, /** @type {olx.layer.LayerOptions} */ (baseOptions)); ol.layer.Layer.call(this, /** @type {olx.layer.LayerOptions} */ (baseOptions));
this.setPreload(options.preload !== undefined ? options.preload : 0); this.setPreload(options.preload !== undefined ? options.preload : 0);
this.setUseInterimTilesOnError(options.useInterimTilesOnError !== undefined ? this.setUseInterimTilesOnError(options.useInterimTilesOnError !== undefined ?
options.useInterimTilesOnError : true); options.useInterimTilesOnError : true);
}; };
goog.inherits(ol.layer.Tile, ol.layer.Layer); ol.inherits(ol.layer.Tile, ol.layer.Layer);
/** /**

View File

@@ -44,7 +44,7 @@ ol.layer.Vector = function(opt_options) {
delete baseOptions.renderBuffer; delete baseOptions.renderBuffer;
delete baseOptions.updateWhileAnimating; delete baseOptions.updateWhileAnimating;
delete baseOptions.updateWhileInteracting; delete baseOptions.updateWhileInteracting;
goog.base(this, /** @type {olx.layer.LayerOptions} */ (baseOptions)); ol.layer.Layer.call(this, /** @type {olx.layer.LayerOptions} */ (baseOptions));
/** /**
* @type {number} * @type {number}
@@ -84,7 +84,7 @@ ol.layer.Vector = function(opt_options) {
options.updateWhileInteracting : false; options.updateWhileInteracting : false;
}; };
goog.inherits(ol.layer.Vector, ol.layer.Layer); ol.inherits(ol.layer.Vector, ol.layer.Layer);
/** /**

View File

@@ -53,7 +53,7 @@ ol.layer.VectorTile = function(opt_options) {
delete baseOptions.preload; delete baseOptions.preload;
delete baseOptions.useInterimTilesOnError; delete baseOptions.useInterimTilesOnError;
goog.base(this, /** @type {olx.layer.VectorOptions} */ (baseOptions)); ol.layer.Vector.call(this, /** @type {olx.layer.VectorOptions} */ (baseOptions));
this.setPreload(options.preload ? options.preload : 0); this.setPreload(options.preload ? options.preload : 0);
this.setUseInterimTilesOnError(options.useInterimTilesOnError ? this.setUseInterimTilesOnError(options.useInterimTilesOnError ?
@@ -72,7 +72,7 @@ ol.layer.VectorTile = function(opt_options) {
this.renderMode_ = options.renderMode || ol.layer.VectorTileRenderType.HYBRID; this.renderMode_ = options.renderMode || ol.layer.VectorTileRenderType.HYBRID;
}; };
goog.inherits(ol.layer.VectorTile, ol.layer.Vector); ol.inherits(ol.layer.VectorTile, ol.layer.Vector);
/** /**

View File

@@ -155,7 +155,7 @@ ol.MapProperty = {
*/ */
ol.Map = function(options) { ol.Map = function(options) {
goog.base(this); ol.Object.call(this);
var optionsInternal = ol.Map.createOptionsInternal(options); var optionsInternal = ol.Map.createOptionsInternal(options);
@@ -473,7 +473,7 @@ ol.Map = function(options) {
}, this); }, this);
}; };
goog.inherits(ol.Map, ol.Object); ol.inherits(ol.Map, ol.Object);
/** /**
@@ -583,7 +583,7 @@ ol.Map.prototype.disposeInternal = function() {
this.animationDelayKey_ = undefined; this.animationDelayKey_ = undefined;
} }
this.setTarget(null); this.setTarget(null);
goog.base(this, 'disposeInternal'); ol.Object.prototype.disposeInternal.call(this);
}; };

View File

@@ -30,7 +30,7 @@ goog.require('ol.pointer.PointerEventHandler');
ol.MapBrowserEvent = function(type, map, browserEvent, opt_dragging, ol.MapBrowserEvent = function(type, map, browserEvent, opt_dragging,
opt_frameState) { opt_frameState) {
goog.base(this, type, map, opt_frameState); ol.MapEvent.call(this, type, map, opt_frameState);
/** /**
* The original browser event. * The original browser event.
@@ -64,7 +64,7 @@ ol.MapBrowserEvent = function(type, map, browserEvent, opt_dragging,
this.dragging = opt_dragging !== undefined ? opt_dragging : false; this.dragging = opt_dragging !== undefined ? opt_dragging : false;
}; };
goog.inherits(ol.MapBrowserEvent, ol.MapEvent); ol.inherits(ol.MapBrowserEvent, ol.MapEvent);
/** /**
@@ -74,7 +74,7 @@ goog.inherits(ol.MapBrowserEvent, ol.MapEvent);
* @api stable * @api stable
*/ */
ol.MapBrowserEvent.prototype.preventDefault = function() { ol.MapBrowserEvent.prototype.preventDefault = function() {
goog.base(this, 'preventDefault'); ol.MapEvent.prototype.preventDefault.call(this);
this.originalEvent.preventDefault(); this.originalEvent.preventDefault();
}; };
@@ -86,7 +86,7 @@ ol.MapBrowserEvent.prototype.preventDefault = function() {
* @api stable * @api stable
*/ */
ol.MapBrowserEvent.prototype.stopPropagation = function() { ol.MapBrowserEvent.prototype.stopPropagation = function() {
goog.base(this, 'stopPropagation'); ol.MapEvent.prototype.stopPropagation.call(this);
this.originalEvent.stopPropagation(); this.originalEvent.stopPropagation();
}; };
@@ -103,7 +103,7 @@ ol.MapBrowserEvent.prototype.stopPropagation = function() {
ol.MapBrowserPointerEvent = function(type, map, pointerEvent, opt_dragging, ol.MapBrowserPointerEvent = function(type, map, pointerEvent, opt_dragging,
opt_frameState) { opt_frameState) {
goog.base(this, type, map, pointerEvent.originalEvent, opt_dragging, ol.MapBrowserEvent.call(this, type, map, pointerEvent.originalEvent, opt_dragging,
opt_frameState); opt_frameState);
/** /**
@@ -113,7 +113,7 @@ ol.MapBrowserPointerEvent = function(type, map, pointerEvent, opt_dragging,
this.pointerEvent = pointerEvent; this.pointerEvent = pointerEvent;
}; };
goog.inherits(ol.MapBrowserPointerEvent, ol.MapBrowserEvent); ol.inherits(ol.MapBrowserPointerEvent, ol.MapBrowserEvent);
/** /**
@@ -123,7 +123,7 @@ goog.inherits(ol.MapBrowserPointerEvent, ol.MapBrowserEvent);
*/ */
ol.MapBrowserEventHandler = function(map) { ol.MapBrowserEventHandler = function(map) {
goog.base(this); ol.events.EventTarget.call(this);
/** /**
* This is the element that we will listen to the real events on. * This is the element that we will listen to the real events on.
@@ -207,7 +207,7 @@ ol.MapBrowserEventHandler = function(map) {
this.relayEvent_, this); this.relayEvent_, this);
}; };
goog.inherits(ol.MapBrowserEventHandler, ol.events.EventTarget); ol.inherits(ol.MapBrowserEventHandler, ol.events.EventTarget);
/** /**
@@ -421,7 +421,7 @@ ol.MapBrowserEventHandler.prototype.disposeInternal = function() {
this.pointerEventHandler_.dispose(); this.pointerEventHandler_.dispose();
this.pointerEventHandler_ = null; this.pointerEventHandler_ = null;
} }
goog.base(this, 'disposeInternal'); ol.events.EventTarget.prototype.disposeInternal.call(this);
}; };

View File

@@ -40,7 +40,7 @@ ol.MapEventType = {
*/ */
ol.MapEvent = function(type, map, opt_frameState) { ol.MapEvent = function(type, map, opt_frameState) {
goog.base(this, type); ol.events.Event.call(this, type);
/** /**
* The map where the event occurred. * The map where the event occurred.
@@ -57,4 +57,4 @@ ol.MapEvent = function(type, map, opt_frameState) {
this.frameState = opt_frameState !== undefined ? opt_frameState : null; this.frameState = opt_frameState !== undefined ? opt_frameState : null;
}; };
goog.inherits(ol.MapEvent, ol.events.Event); ol.inherits(ol.MapEvent, ol.events.Event);

View File

@@ -33,7 +33,7 @@ ol.ObjectEventType = {
* @constructor * @constructor
*/ */
ol.ObjectEvent = function(type, key, oldValue) { ol.ObjectEvent = function(type, key, oldValue) {
goog.base(this, type); ol.events.Event.call(this, type);
/** /**
* The name of the property whose value is changing. * The name of the property whose value is changing.
@@ -51,7 +51,7 @@ ol.ObjectEvent = function(type, key, oldValue) {
this.oldValue = oldValue; this.oldValue = oldValue;
}; };
goog.inherits(ol.ObjectEvent, ol.events.Event); ol.inherits(ol.ObjectEvent, ol.events.Event);
/** /**
@@ -100,7 +100,7 @@ goog.inherits(ol.ObjectEvent, ol.events.Event);
* @api * @api
*/ */
ol.Object = function(opt_values) { ol.Object = function(opt_values) {
goog.base(this); ol.Observable.call(this);
// Call goog.getUid to ensure that the order of objects' ids is the same as // Call goog.getUid to ensure that the order of objects' ids is the same as
// the order in which they were created. This also helps to ensure that // the order in which they were created. This also helps to ensure that
@@ -118,7 +118,7 @@ ol.Object = function(opt_values) {
this.setProperties(opt_values); this.setProperties(opt_values);
} }
}; };
goog.inherits(ol.Object, ol.Observable); ol.inherits(ol.Object, ol.Observable);
/** /**

View File

@@ -21,7 +21,7 @@ goog.require('ol.events.EventType');
*/ */
ol.Observable = function() { ol.Observable = function() {
goog.base(this); ol.events.EventTarget.call(this);
/** /**
* @private * @private
@@ -30,7 +30,7 @@ ol.Observable = function() {
this.revision_ = 0; this.revision_ = 0;
}; };
goog.inherits(ol.Observable, ol.events.EventTarget); ol.inherits(ol.Observable, ol.events.EventTarget);
/** /**

View File

@@ -261,9 +261,10 @@ ol.WEBGL_EXTENSIONS; // value is set in `ol.has`
* @function * @function
* @api * @api
*/ */
ol.inherits = ol.inherits = function(childCtor, parentCtor) {
goog.inherits; childCtor.prototype = Object.create(parentCtor.prototype);
// note that the newline above is necessary to satisfy the linter childCtor.prototype.constructor = childCtor;
};
/** /**

View File

@@ -68,7 +68,7 @@ ol.OverlayPositioning = {
*/ */
ol.Overlay = function(options) { ol.Overlay = function(options) {
goog.base(this); ol.Object.call(this);
/** /**
* @private * @private
@@ -174,7 +174,7 @@ ol.Overlay = function(options) {
} }
}; };
goog.inherits(ol.Overlay, ol.Object); ol.inherits(ol.Overlay, ol.Object);
/** /**

View File

@@ -46,7 +46,7 @@ ol.pointer.MouseSource = function(dispatcher) {
'mouseover': this.mouseover, 'mouseover': this.mouseover,
'mouseout': this.mouseout 'mouseout': this.mouseout
}; };
goog.base(this, dispatcher, mapping); ol.pointer.EventSource.call(this, dispatcher, mapping);
/** /**
* @const * @const
@@ -60,7 +60,7 @@ ol.pointer.MouseSource = function(dispatcher) {
*/ */
this.lastTouches = []; this.lastTouches = [];
}; };
goog.inherits(ol.pointer.MouseSource, ol.pointer.EventSource); ol.inherits(ol.pointer.MouseSource, ol.pointer.EventSource);
/** /**

View File

@@ -49,7 +49,7 @@ ol.pointer.MsSource = function(dispatcher) {
'MSGotPointerCapture': this.msGotPointerCapture, 'MSGotPointerCapture': this.msGotPointerCapture,
'MSLostPointerCapture': this.msLostPointerCapture 'MSLostPointerCapture': this.msLostPointerCapture
}; };
goog.base(this, dispatcher, mapping); ol.pointer.EventSource.call(this, dispatcher, mapping);
/** /**
* @const * @const
@@ -69,7 +69,7 @@ ol.pointer.MsSource = function(dispatcher) {
'mouse' 'mouse'
]; ];
}; };
goog.inherits(ol.pointer.MsSource, ol.pointer.EventSource); ol.inherits(ol.pointer.MsSource, ol.pointer.EventSource);
/** /**

View File

@@ -49,9 +49,9 @@ ol.pointer.NativeSource = function(dispatcher) {
'gotpointercapture': this.gotPointerCapture, 'gotpointercapture': this.gotPointerCapture,
'lostpointercapture': this.lostPointerCapture 'lostpointercapture': this.lostPointerCapture
}; };
goog.base(this, dispatcher, mapping); ol.pointer.EventSource.call(this, dispatcher, mapping);
}; };
goog.inherits(ol.pointer.NativeSource, ol.pointer.EventSource); ol.inherits(ol.pointer.NativeSource, ol.pointer.EventSource);
/** /**

View File

@@ -49,7 +49,7 @@ goog.require('ol.events.Event');
* initial event properties. * initial event properties.
*/ */
ol.pointer.PointerEvent = function(type, originalEvent, opt_eventDict) { ol.pointer.PointerEvent = function(type, originalEvent, opt_eventDict) {
goog.base(this, type); ol.events.Event.call(this, type);
/** /**
* @const * @const
@@ -192,7 +192,7 @@ ol.pointer.PointerEvent = function(type, originalEvent, opt_eventDict) {
}; };
} }
}; };
goog.inherits(ol.pointer.PointerEvent, ol.events.Event); ol.inherits(ol.pointer.PointerEvent, ol.events.Event);
/** /**

View File

@@ -48,7 +48,7 @@ goog.require('ol.pointer.TouchSource');
* @param {Element|HTMLDocument} element Viewport element. * @param {Element|HTMLDocument} element Viewport element.
*/ */
ol.pointer.PointerEventHandler = function(element) { ol.pointer.PointerEventHandler = function(element) {
goog.base(this); ol.events.EventTarget.call(this);
/** /**
* @const * @const
@@ -77,7 +77,7 @@ ol.pointer.PointerEventHandler = function(element) {
this.registerSources(); this.registerSources();
}; };
goog.inherits(ol.pointer.PointerEventHandler, ol.events.EventTarget); ol.inherits(ol.pointer.PointerEventHandler, ol.events.EventTarget);
/** /**
@@ -398,7 +398,7 @@ ol.pointer.PointerEventHandler.prototype.wrapMouseEvent = function(eventType, ev
*/ */
ol.pointer.PointerEventHandler.prototype.disposeInternal = function() { ol.pointer.PointerEventHandler.prototype.disposeInternal = function() {
this.unregister_(); this.unregister_();
goog.base(this, 'disposeInternal'); ol.events.EventTarget.prototype.disposeInternal.call(this);
}; };

View File

@@ -49,7 +49,7 @@ ol.pointer.TouchSource = function(dispatcher, mouseSource) {
'touchend': this.touchend, 'touchend': this.touchend,
'touchcancel': this.touchcancel 'touchcancel': this.touchcancel
}; };
goog.base(this, dispatcher, mapping); ol.pointer.EventSource.call(this, dispatcher, mapping);
/** /**
* @const * @const
@@ -81,7 +81,7 @@ ol.pointer.TouchSource = function(dispatcher, mouseSource) {
*/ */
this.resetId_ = undefined; this.resetId_ = undefined;
}; };
goog.inherits(ol.pointer.TouchSource, ol.pointer.EventSource); ol.inherits(ol.pointer.TouchSource, ol.pointer.EventSource);
/** /**

View File

@@ -17,7 +17,7 @@ goog.require('ol.proj.Units');
* @private * @private
*/ */
ol.proj.EPSG3857_ = function(code) { ol.proj.EPSG3857_ = function(code) {
goog.base(this, { ol.proj.Projection.call(this, {
code: code, code: code,
units: ol.proj.Units.METERS, units: ol.proj.Units.METERS,
extent: ol.proj.EPSG3857.EXTENT, extent: ol.proj.EPSG3857.EXTENT,
@@ -25,7 +25,7 @@ ol.proj.EPSG3857_ = function(code) {
worldExtent: ol.proj.EPSG3857.WORLD_EXTENT worldExtent: ol.proj.EPSG3857.WORLD_EXTENT
}); });
}; };
goog.inherits(ol.proj.EPSG3857_, ol.proj.Projection); ol.inherits(ol.proj.EPSG3857_, ol.proj.Projection);
/** /**

View File

@@ -21,7 +21,7 @@ goog.require('ol.sphere.WGS84');
* @private * @private
*/ */
ol.proj.EPSG4326_ = function(code, opt_axisOrientation) { ol.proj.EPSG4326_ = function(code, opt_axisOrientation) {
goog.base(this, { ol.proj.Projection.call(this, {
code: code, code: code,
units: ol.proj.Units.DEGREES, units: ol.proj.Units.DEGREES,
extent: ol.proj.EPSG4326.EXTENT, extent: ol.proj.EPSG4326.EXTENT,
@@ -31,7 +31,7 @@ ol.proj.EPSG4326_ = function(code, opt_axisOrientation) {
worldExtent: ol.proj.EPSG4326.EXTENT worldExtent: ol.proj.EPSG4326.EXTENT
}); });
}; };
goog.inherits(ol.proj.EPSG4326_, ol.proj.Projection); ol.inherits(ol.proj.EPSG4326_, ol.proj.Projection);
/** /**

View File

@@ -37,7 +37,7 @@ goog.require('ol.vec.Mat4');
* @struct * @struct
*/ */
ol.render.canvas.Immediate = function(context, pixelRatio, extent, transform, viewRotation) { ol.render.canvas.Immediate = function(context, pixelRatio, extent, transform, viewRotation) {
goog.base(this); ol.render.VectorContext.call(this);
/** /**
* @private * @private
@@ -232,7 +232,7 @@ ol.render.canvas.Immediate = function(context, pixelRatio, extent, transform, vi
this.tmpLocalTransform_ = goog.vec.Mat4.createNumber(); this.tmpLocalTransform_ = goog.vec.Mat4.createNumber();
}; };
goog.inherits(ol.render.canvas.Immediate, ol.render.VectorContext); ol.inherits(ol.render.canvas.Immediate, ol.render.VectorContext);
/** /**

View File

@@ -57,7 +57,7 @@ ol.render.canvas.Instruction = {
* @struct * @struct
*/ */
ol.render.canvas.Replay = function(tolerance, maxExtent, resolution) { ol.render.canvas.Replay = function(tolerance, maxExtent, resolution) {
goog.base(this); ol.render.VectorContext.call(this);
/** /**
* @protected * @protected
@@ -145,7 +145,7 @@ ol.render.canvas.Replay = function(tolerance, maxExtent, resolution) {
*/ */
this.tmpLocalTransformInv_ = goog.vec.Mat4.createNumber(); this.tmpLocalTransformInv_ = goog.vec.Mat4.createNumber();
}; };
goog.inherits(ol.render.canvas.Replay, ol.render.VectorContext); ol.inherits(ol.render.canvas.Replay, ol.render.VectorContext);
/** /**
@@ -678,7 +678,7 @@ ol.render.canvas.Replay.prototype.getBufferedMaxExtent = function() {
* @struct * @struct
*/ */
ol.render.canvas.ImageReplay = function(tolerance, maxExtent, resolution) { ol.render.canvas.ImageReplay = function(tolerance, maxExtent, resolution) {
goog.base(this, tolerance, maxExtent, resolution); ol.render.canvas.Replay.call(this, tolerance, maxExtent, resolution);
/** /**
* @private * @private
@@ -759,7 +759,7 @@ ol.render.canvas.ImageReplay = function(tolerance, maxExtent, resolution) {
this.width_ = undefined; this.width_ = undefined;
}; };
goog.inherits(ol.render.canvas.ImageReplay, ol.render.canvas.Replay); ol.inherits(ol.render.canvas.ImageReplay, ol.render.canvas.Replay);
/** /**
@@ -945,7 +945,7 @@ ol.render.canvas.ImageReplay.prototype.setImageStyle = function(imageStyle) {
*/ */
ol.render.canvas.LineStringReplay = function(tolerance, maxExtent, resolution) { ol.render.canvas.LineStringReplay = function(tolerance, maxExtent, resolution) {
goog.base(this, tolerance, maxExtent, resolution); ol.render.canvas.Replay.call(this, tolerance, maxExtent, resolution);
/** /**
* @private * @private
@@ -980,7 +980,7 @@ ol.render.canvas.LineStringReplay = function(tolerance, maxExtent, resolution) {
}; };
}; };
goog.inherits(ol.render.canvas.LineStringReplay, ol.render.canvas.Replay); ol.inherits(ol.render.canvas.LineStringReplay, ol.render.canvas.Replay);
/** /**
@@ -1179,7 +1179,7 @@ ol.render.canvas.LineStringReplay.prototype.setFillStrokeStyle = function(fillSt
*/ */
ol.render.canvas.PolygonReplay = function(tolerance, maxExtent, resolution) { ol.render.canvas.PolygonReplay = function(tolerance, maxExtent, resolution) {
goog.base(this, tolerance, maxExtent, resolution); ol.render.canvas.Replay.call(this, tolerance, maxExtent, resolution);
/** /**
* @private * @private
@@ -1216,7 +1216,7 @@ ol.render.canvas.PolygonReplay = function(tolerance, maxExtent, resolution) {
}; };
}; };
goog.inherits(ol.render.canvas.PolygonReplay, ol.render.canvas.Replay); ol.inherits(ol.render.canvas.PolygonReplay, ol.render.canvas.Replay);
/** /**
@@ -1534,7 +1534,7 @@ ol.render.canvas.PolygonReplay.prototype.setFillStrokeStyles_ = function() {
*/ */
ol.render.canvas.TextReplay = function(tolerance, maxExtent, resolution) { ol.render.canvas.TextReplay = function(tolerance, maxExtent, resolution) {
goog.base(this, tolerance, maxExtent, resolution); ol.render.canvas.Replay.call(this, tolerance, maxExtent, resolution);
/** /**
* @private * @private
@@ -1603,7 +1603,7 @@ ol.render.canvas.TextReplay = function(tolerance, maxExtent, resolution) {
this.textState_ = null; this.textState_ = null;
}; };
goog.inherits(ol.render.canvas.TextReplay, ol.render.canvas.Replay); ol.inherits(ol.render.canvas.TextReplay, ol.render.canvas.Replay);
/** /**

Some files were not shown because too many files have changed in this diff Show More