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({
|
const source = new VectorSource({
|
||||||
features: (new GeoJSON()).readFeatures(geojsonObject),
|
features: (new GeoJSON()).readFeatures(geojsonObject)
|
||||||
wrapX: false
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const layer = new VectorLayer({
|
const layer = new VectorLayer({
|
||||||
|
|||||||
Reference in New Issue
Block a user