Use GeoJSON types for geometries

This commit is contained in:
Tom Payne
2013-11-07 12:23:17 +01:00
parent 67cd0597bb
commit f9105c18eb

View File

@@ -15,9 +15,9 @@ goog.require('goog.events.EventType');
* @enum {string}
*/
ol.geom.GeometryType = {
POINT: 'point',
LINE_STRING: 'line_string',
POLYGON: 'polygon'
POINT: 'Point',
LINE_STRING: 'LineString',
POLYGON: 'Polygon'
};