Ensure example opens at correct zoom

wrapX: false not needed for consistency with OL5
This commit is contained in:
mike-000
2020-03-05 17:41:33 +00:00
committed by GitHub
parent 203f557883
commit 9d0b139432

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({