当前位置:网站首页>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
边栏推荐
- redis优化系列(三)解决主从配置后的常见问题
- Solutions such as unknown or garbled code or certificate problem prompt in Charles's mobile phone packet capture, actual measurement.
- Class loading process of JVM
- On the forced conversion of C language pointer
- SSDB foundation 3
- 2022.04.23(LC_763_划分字母区间)
- Druid SQL和Security在美团点评的实践
- 该买什么设备,Keysight 给你挑好了
- Go language GUI framework Fyne Chinese garbled or not displayed
- 简化路径(力扣71)
猜你喜欢
arcMap 发布切片服务
Simplified path (force buckle 71)
[advanced level 11 of C language -- character and string functions and their simulation implementation (2)]
Sword finger offer II 116 Number of provinces - spatial complexity O (n), time complexity O (n)
[报告] Microsoft :Application of deep learning methods in speech enhancement
2022.04.23 (lc_763_divided into letter interval)
Esp32 (UART 485 communication) - 485 communication of serial port (3)
One of the reasons why the WebView web page cannot be opened (and some WebView problem records encountered by myself)
微搭低代码零基础入门课(第三课)
12 examples to consolidate promise Foundation
随机推荐
坐标转换WGS-84 转 GCJ-02 和 GCJ-02转WGS-84
Sogou cell thesaurus analysis (only extract words and word frequency)
中金财富怎么样?在上边开户安全吗
One stop service platform for high-level talents and development of comprehensive service platform system for talents
Eight bit binary multiplier VHDL
openlayers 5.0 离散聚合点
Raspberry pie uses root operation, and the graphical interface uses its own file manager
浅谈c语言指针的强制转换
Advanced transfer learning
Accessing private members using templates
openlayers 5.0 加载arcgis server 切片服务
Customize the non slidable viewpage and how to use it
为何PostgreSQL即将超越SQL Server?
Disable Ctrl + Alt + Del
WebView saves the last browsing location
C1000k TCP connection upper limit test
Nacos as service registry
C: generic reflection
Minesweeping II of souI instance
该买什么设备,Keysight 给你挑好了