Merge pull request #1787 from twpayne/exports-clean-up

Exports clean-up
This commit is contained in:
Tom Payne
2014-03-03 09:38:38 +01:00
7 changed files with 21 additions and 20 deletions
+10
View File
@@ -18,6 +18,16 @@ oli.CollectionEvent = function() {};
oli.CollectionEvent.prototype.element; oli.CollectionEvent.prototype.element;
/** @interface */
oli.DragBoxEvent;
/** @type {ol.Coordinate} */
oli.DragBoxEvent.prototype.coordinate;
/** @interface */ /** @interface */
oli.DrawEvent; oli.DrawEvent;
+1 -1
View File
@@ -3,7 +3,7 @@
@exportProperty ol.FeatureOverlay.prototype.getFeatures @exportProperty ol.FeatureOverlay.prototype.getFeatures
@exportProperty ol.FeatureOverlay.prototype.getStyle @exportProperty ol.FeatureOverlay.prototype.getStyle
@exportProperty ol.FeatureOverlay.prototype.getStyleFunction @exportProperty ol.FeatureOverlay.prototype.getStyleFunction
@exportProperty ol.FeatureOverlay.prototype.removeFeature
@exportProperty ol.FeatureOverlay.prototype.setFeatures @exportProperty ol.FeatureOverlay.prototype.setFeatures
@exportProperty ol.FeatureOverlay.prototype.setMap @exportProperty ol.FeatureOverlay.prototype.setMap
@exportProperty ol.FeatureOverlay.prototype.setStyle @exportProperty ol.FeatureOverlay.prototype.setStyle
@exportProperty ol.FeatureOverlay.prototype.removeFeature
+1 -1
View File
@@ -1,6 +1,6 @@
@exportSymbol ol.format.KML @exportSymbol ol.format.KML
@exportProperty ol.format.KML.prototype.readName
@exportProperty ol.format.KML.prototype.readFeature @exportProperty ol.format.KML.prototype.readFeature
@exportProperty ol.format.KML.prototype.readFeatures @exportProperty ol.format.KML.prototype.readFeatures
@exportProperty ol.format.KML.prototype.readGeometry @exportProperty ol.format.KML.prototype.readGeometry
@exportProperty ol.format.KML.prototype.readName
@exportProperty ol.format.KML.prototype.readProjection @exportProperty ol.format.KML.prototype.readProjection
@@ -1,4 +1,2 @@
@exportSymbol ol.interaction.DragBox @exportSymbol ol.interaction.DragBox
@exportProperty ol.interaction.DragBox.prototype.getGeometry @exportProperty ol.interaction.DragBox.prototype.getGeometry
@exportProperty ol.DragBoxEvent.prototype.getCoordinate
+3 -11
View File
@@ -44,30 +44,22 @@ ol.DragBoxEventType = {
* @param {ol.Coordinate} coordinate The event coordinate. * @param {ol.Coordinate} coordinate The event coordinate.
* @extends {goog.events.Event} * @extends {goog.events.Event}
* @constructor * @constructor
* @implements {oli.DragBoxEvent}
*/ */
ol.DragBoxEvent = function(type, coordinate) { ol.DragBoxEvent = function(type, coordinate) {
goog.base(this, type); goog.base(this, type);
/** /**
* The coordinate of the drag event. * The coordinate of the drag event.
* @const
* @type {ol.Coordinate} * @type {ol.Coordinate}
* @private
*/ */
this.coordinate_ = coordinate; this.coordinate = coordinate;
}; };
goog.inherits(ol.DragBoxEvent, goog.events.Event); 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 * @constructor
+4 -3
View File
@@ -1,11 +1,12 @@
@exportProperty ol.render.canvas.Immediate.prototype.drawAsync @exportProperty ol.render.canvas.Immediate.prototype.drawAsync
@exportProperty ol.render.canvas.Immediate.prototype.drawCircleGeometry @exportProperty ol.render.canvas.Immediate.prototype.drawCircleGeometry
@exportProperty ol.render.canvas.Immediate.prototype.drawFeature @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.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.drawMultiLineStringGeometry
@exportProperty ol.render.canvas.Immediate.prototype.drawMultiPointGeometry @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.setFillStrokeStyle
@exportProperty ol.render.canvas.Immediate.prototype.setImageStyle @exportProperty ol.render.canvas.Immediate.prototype.setImageStyle
@exportProperty ol.render.canvas.Immediate.prototype.setTextStyle
+2 -2
View File
@@ -1,10 +1,10 @@
@exportSymbol ol.source.Vector @exportSymbol ol.source.Vector
@exportProperty ol.source.Vector.prototype.addFeature @exportProperty ol.source.Vector.prototype.addFeature
@exportProperty ol.source.Vector.prototype.addFeatures @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.forEachFeature
@exportProperty ol.source.Vector.prototype.forEachFeatureInExtent @exportProperty ol.source.Vector.prototype.forEachFeatureInExtent
@exportProperty ol.source.Vector.prototype.getAllFeatures @exportProperty ol.source.Vector.prototype.getAllFeatures
@exportProperty ol.source.Vector.prototype.getAllFeaturesAtCoordinate @exportProperty ol.source.Vector.prototype.getAllFeaturesAtCoordinate
@exportProperty ol.source.Vector.prototype.getClosestFeatureToCoordinate
@exportProperty ol.source.Vector.prototype.getExtent
@exportProperty ol.source.Vector.prototype.removeFeature @exportProperty ol.source.Vector.prototype.removeFeature