Geometry type enumeration
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user