Skip to content

Commit 9f5bc96

Browse files
author
潘卓然ParnDeedlit
committed
2 parents 4cf3ed2 + 442de24 commit 9f5bc96

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

website/public/static/demo/openlayers/example/base/MapControl/E01Navigation.htm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@
117117
function addZoomExtentControl() {
118118
if (map != null) {
119119
var zoomToExtent = new ol.control.ZoomToExtent({
120-
extent: [813079.7791264898, 5929220.284081122, 848966.9639063801, 5936863.986909639],
120+
extent: [13100000, 4290000,
121+
13200000, 5210000],
121122
})
122123
map.addControl(zoomToExtent)
123124
}

website/public/static/demo/openlayers/markdown/base/MapControl/E01Navigation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
```javascript
4040
var zoomToExtent = new ol.control.ZoomToExtent({
41-
extent: [813079.7791264898, 5929220.284081122, 848966.9639063801, 5936863.986909639],
41+
extent: [13100000, 4290000,13200000, 5210000],
4242
})
4343
map.addControl(zoomToExtent)
4444
```

0 commit comments

Comments
 (0)