Types for rings and mixed collections

This commit is contained in:
Tim Schaub
2013-01-21 17:56:12 -07:00
parent 6ef2184c83
commit 89bc69ccc1
3 changed files with 21 additions and 3 deletions

View File

@@ -51,8 +51,10 @@ ol.geom.CoordinateArray;
ol.geom.GeometryType = {
POINT: 'point',
LINESTRING: 'linestring',
LINEARRING: 'linearring',
POLYGON: 'polygon',
MULTIPOINT: 'multipoint',
MULTILINESTRING: 'multilinestring',
MULTIPOLYGON: 'multipolygon'
MULTIPOLYGON: 'multipolygon',
GEOMETRYCOLLECTION: 'geometrycollection'
};