Exposing ol.geom.GeometryType

This is necessary for using ol.filter.Geometry.
This commit is contained in:
ahocevar
2013-05-31 15:04:55 -06:00
parent 1d7ca27e61
commit 56ac30de91
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.LineString
@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}
*/
ol.geom.GeometryType = {