Geometry type enumeration

This commit is contained in:
Tim Schaub
2013-01-21 17:46:41 -07:00
parent 0fad23970c
commit 6ef2184c83
7 changed files with 74 additions and 0 deletions

View File

@@ -39,3 +39,11 @@ ol.geom.MultiPoint = function(coordinates) {
};
goog.inherits(ol.geom.MultiPoint, ol.geom.GeometryCollection);
/**
* @inheritDoc
*/
ol.geom.MultiPoint.prototype.getType = function() {
return ol.geom.GeometryType.MULTIPOINT;
};