Ensure example opens at correct zoom

wrapX: false not needed for consistency with OL5
This commit is contained in:
mike-000 authored and GitHub committed 2020-03-05 17:41:33 +00:00
1 parent 203f557883
commit 9d0b139432
1 file changed
+1 -2
+1 -2
View File
@@ -140,8 +140,7 @@ const geojsonObject = {
};
const source = new VectorSource({
features: (new GeoJSON()).readFeatures(geojsonObject),
wrapX: false
features: (new GeoJSON()).readFeatures(geojsonObject)
});
const layer = new VectorLayer({