Ensure example opens at correct zoom
wrapX: false not needed for consistency with OL5
This commit is contained in:
1 parent
203f557883
commit
9d0b139432
1 file changed
+1
-2
@@ -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