Allow instanceof checks for geometries

This commit is contained in:
Tim Schaub
2013-02-19 23:21:05 -07:00
parent 083404bd58
commit 0015e466dc
11 changed files with 30 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ goog.provide('ol.geom.GeometryType');
/**
* @interface
* @constructor
*/
ol.geom.Geometry = function() {};
@@ -30,7 +30,7 @@ ol.geom.Geometry.prototype.getBounds = goog.abstractMethod;
* Get the geometry type.
* @return {ol.geom.GeometryType} The geometry type.
*/
ol.geom.Geometry.prototype.getType = function() {};
ol.geom.Geometry.prototype.getType = goog.abstractMethod;
/**