To fit the map to the full screen in Openlayers, you should adjust your css code like this: #map { position: fixed; top: 0; left: 0; ...
確定! 回上一頁