Ensure example opens at correct zoom
wrapX: false not needed for consistency with OL5
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user