diff --git a/examples/geojson.js b/examples/geojson.js index 7e4cc090a5..9567b33ab8 100644 --- a/examples/geojson.js +++ b/examples/geojson.js @@ -31,6 +31,13 @@ var geoJSONSource = new ol.source.GeoJSON( 'type': 'LineString', 'coordinates': [[-1e7, 1e7], [1e7, -1e7]] } + }, + { + 'type': 'Feature', + 'geometry': { + 'type': 'Polygon', + 'coordinates': [[[-5e6, -5e6], [0, 5e6], [5e6, -5e6]]] + } } ] }