Merge pull request #754 from ahocevar/geom-doc
Exposing ol.geom.GeometryType
This commit is contained in:
@@ -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
3
src/ol/geom.jsdoc
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
/**
|
||||||
|
* @namespace ol.geom
|
||||||
|
*/
|
||||||
@@ -57,6 +57,8 @@ ol.geom.Geometry.prototype.getType = goog.abstractMethod;
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Geometry types.
|
||||||
|
*
|
||||||
* @enum {string}
|
* @enum {string}
|
||||||
*/
|
*/
|
||||||
ol.geom.GeometryType = {
|
ol.geom.GeometryType = {
|
||||||
|
|||||||
Reference in New Issue
Block a user