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

View File

@@ -18,6 +18,16 @@ oli.CollectionEvent = function() {};
oli.CollectionEvent.prototype.element;
/** @interface */
oli.DragBoxEvent;
/** @type {ol.Coordinate} */
oli.DragBoxEvent.prototype.coordinate;
/** @interface */
oli.DrawEvent;

View File

@@ -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

View File

@@ -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

View File

@@ -1,4 +1,2 @@
@exportSymbol ol.interaction.DragBox
@exportProperty ol.interaction.DragBox.prototype.getGeometry
@exportProperty ol.DragBoxEvent.prototype.getCoordinate

View File

@@ -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

View File

@@ -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

View File

@@ -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