Merge pull request #1787 from twpayne/exports-clean-up
Exports clean-up
This commit is contained in:
@@ -18,6 +18,16 @@ oli.CollectionEvent = function() {};
|
||||
oli.CollectionEvent.prototype.element;
|
||||
|
||||
|
||||
|
||||
/** @interface */
|
||||
oli.DragBoxEvent;
|
||||
|
||||
|
||||
/** @type {ol.Coordinate} */
|
||||
oli.DragBoxEvent.prototype.coordinate;
|
||||
|
||||
|
||||
|
||||
/** @interface */
|
||||
oli.DrawEvent;
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
@exportProperty ol.FeatureOverlay.prototype.getFeatures
|
||||
@exportProperty ol.FeatureOverlay.prototype.getStyle
|
||||
@exportProperty ol.FeatureOverlay.prototype.getStyleFunction
|
||||
@exportProperty ol.FeatureOverlay.prototype.removeFeature
|
||||
@exportProperty ol.FeatureOverlay.prototype.setFeatures
|
||||
@exportProperty ol.FeatureOverlay.prototype.setMap
|
||||
@exportProperty ol.FeatureOverlay.prototype.setStyle
|
||||
@exportProperty ol.FeatureOverlay.prototype.removeFeature
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@exportSymbol ol.format.KML
|
||||
@exportProperty ol.format.KML.prototype.readName
|
||||
@exportProperty ol.format.KML.prototype.readFeature
|
||||
@exportProperty ol.format.KML.prototype.readFeatures
|
||||
@exportProperty ol.format.KML.prototype.readGeometry
|
||||
@exportProperty ol.format.KML.prototype.readName
|
||||
@exportProperty ol.format.KML.prototype.readProjection
|
||||
|
||||
@@ -1,4 +1,2 @@
|
||||
@exportSymbol ol.interaction.DragBox
|
||||
@exportProperty ol.interaction.DragBox.prototype.getGeometry
|
||||
|
||||
@exportProperty ol.DragBoxEvent.prototype.getCoordinate
|
||||
|
||||
@@ -44,30 +44,22 @@ ol.DragBoxEventType = {
|
||||
* @param {ol.Coordinate} coordinate The event coordinate.
|
||||
* @extends {goog.events.Event}
|
||||
* @constructor
|
||||
* @implements {oli.DragBoxEvent}
|
||||
*/
|
||||
ol.DragBoxEvent = function(type, coordinate) {
|
||||
goog.base(this, type);
|
||||
|
||||
/**
|
||||
* The coordinate of the drag event.
|
||||
* @const
|
||||
* @type {ol.Coordinate}
|
||||
* @private
|
||||
*/
|
||||
this.coordinate_ = coordinate;
|
||||
this.coordinate = coordinate;
|
||||
|
||||
};
|
||||
goog.inherits(ol.DragBoxEvent, goog.events.Event);
|
||||
|
||||
|
||||
/**
|
||||
* Get the name of the property associated with this event.
|
||||
* @return {ol.Coordinate} Event coordinate.
|
||||
*/
|
||||
ol.DragBoxEvent.prototype.getCoordinate = function() {
|
||||
return this.coordinate_;
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
@exportProperty ol.render.canvas.Immediate.prototype.drawAsync
|
||||
@exportProperty ol.render.canvas.Immediate.prototype.drawCircleGeometry
|
||||
@exportProperty ol.render.canvas.Immediate.prototype.drawFeature
|
||||
@exportProperty ol.render.canvas.Immediate.prototype.drawPointGeometry
|
||||
@exportProperty ol.render.canvas.Immediate.prototype.drawLineStringGeometry
|
||||
@exportProperty ol.render.canvas.Immediate.prototype.drawPolygonGeometry
|
||||
@exportProperty ol.render.canvas.Immediate.prototype.drawMultiPointGeometry
|
||||
@exportProperty ol.render.canvas.Immediate.prototype.drawMultiLineStringGeometry
|
||||
@exportProperty ol.render.canvas.Immediate.prototype.drawMultiPointGeometry
|
||||
@exportProperty ol.render.canvas.Immediate.prototype.drawMultiPointGeometry
|
||||
@exportProperty ol.render.canvas.Immediate.prototype.drawPointGeometry
|
||||
@exportProperty ol.render.canvas.Immediate.prototype.drawPolygonGeometry
|
||||
@exportProperty ol.render.canvas.Immediate.prototype.setFillStrokeStyle
|
||||
@exportProperty ol.render.canvas.Immediate.prototype.setImageStyle
|
||||
@exportProperty ol.render.canvas.Immediate.prototype.setTextStyle
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
@exportSymbol ol.source.Vector
|
||||
@exportProperty ol.source.Vector.prototype.addFeature
|
||||
@exportProperty ol.source.Vector.prototype.addFeatures
|
||||
@exportProperty ol.source.Vector.prototype.getClosestFeatureToCoordinate
|
||||
@exportProperty ol.source.Vector.prototype.getExtent
|
||||
@exportProperty ol.source.Vector.prototype.forEachFeature
|
||||
@exportProperty ol.source.Vector.prototype.forEachFeatureInExtent
|
||||
@exportProperty ol.source.Vector.prototype.getAllFeatures
|
||||
@exportProperty ol.source.Vector.prototype.getAllFeaturesAtCoordinate
|
||||
@exportProperty ol.source.Vector.prototype.getClosestFeatureToCoordinate
|
||||
@exportProperty ol.source.Vector.prototype.getExtent
|
||||
@exportProperty ol.source.Vector.prototype.removeFeature
|
||||
|
||||
Reference in New Issue
Block a user