Merge pull request #754 from ahocevar/geom-doc

Exposing ol.geom.GeometryType
This commit is contained in:
ahocevar
2013-05-31 14:05:22 -07:00
3 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
@exportSymbol ol.geom.GeometryType
@exportSymbol ol.geom.Point @exportSymbol ol.geom.Point
@exportSymbol ol.geom.LineString @exportSymbol ol.geom.LineString
@exportSymbol ol.geom.Polygon @exportSymbol ol.geom.Polygon

3
src/ol/geom.jsdoc Normal file
View File

@@ -0,0 +1,3 @@
/**
* @namespace ol.geom
*/

View File

@@ -57,6 +57,8 @@ ol.geom.Geometry.prototype.getType = goog.abstractMethod;
/** /**
* Geometry types.
*
* @enum {string} * @enum {string}
*/ */
ol.geom.GeometryType = { ol.geom.GeometryType = {