当前位置:网站首页>Openlayers 5.0 two centering methods
Openlayers 5.0 two centering methods
2022-04-23 19:09:00 【GIS roast lamb leg is delicious】
1.
map.getView().setCenter([data.x,data.y]);// Center to a point
2.
map.getView().fit(webgissource.POLYGONLayerAllshi.getExtent(), map.getSize());// Center to geometry In the field of vision
版权声明
本文为[GIS roast lamb leg is delicious]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231908120661.html
边栏推荐
猜你喜欢
Keysight has chosen what equipment to buy for you
開關電源設計分享及電源設計技巧圖解
Class loading process of JVM
Simplified path (force buckle 71)
FTP、ssh远程访问及控制
剑指 Offer II 116. 省份数量-空间复杂度O(n),时间复杂度O(n)
Sword finger offer II 116 Number of provinces - spatial complexity O (n), time complexity O (n)
MVVM model
7、 DOM (Part 2) - chapter after class exercises and answers
Network protocol: SCTP flow control transmission protocol
随机推荐
MySQL restores or rolls back data through binlog
MVVM model
Using bafayun to control the computer
[record] typeerror: this getOptions is not a function
Sentinel service fusing practice (sentinel integration ribbon + openfeign + fallback)
openlayers draw矩形
2022.04.23(LC_714_买卖股票的最佳时机含手续费)
std::stoi stol stoul stoll stof stod
RPM package management
SSDB基础1
js 计算时间差
Xlslib use
openlayers 5.0 热力图
[today in history] April 23: the first video uploaded on YouTube; Netease cloud music officially launched; The inventor of digital audio player was born
openlayers 5.0 当地图容器大小改变时,重新加载地图
The corresponding permissions required to automatically open the app in the setting interface through accessibility service
Some records used by VS2010
How can programmers quickly develop high-quality code?
c1000k TCP 连接上限测试1
Screen right-click menu in souI