当前位置:网站首页>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
边栏推荐
- Modify the font size of hint in editext
- Actual combat of Nacos as service configuration center
- arcMap 发布切片服务
- Coolweather is revised and connected to the wind weather interface to realize the broken line diagram of temperature
- Codeforces Round #784 (Div. 4)
- Using Visual Studio code to develop Arduino
- SSDB基础2
- Druid SQL和Security在美团点评的实践
- C1000k TCP connection upper limit test 1
- SQL Server database in clause and exists clause conversion
猜你喜欢
Keysight has chosen what equipment to buy for you
Druid SQL和Security在美团点评的实践
12个例子夯实promise基础
Simplified path (force buckle 71)
The difference between ordinary inner class and static inner class
ESP32 LVGL8. 1 - msgbox message box (msgbox 28)
【历史上的今天】4 月 23 日:YouTube 上传第一个视频;网易云音乐正式上线;数字音频播放器的发明者出生
Raspberry pie 18b20 temperature
从技术体系到商业洞察,中小研发团队架构实践之收尾篇
Simple use of navigation in jetpack
随机推荐
Scrollto and scrollby
MySQL Téléchargement et installation de la version Linux
On the forced conversion of C language pointer
Practice of Druid SQL and security in meituan review
binlog2sql 工具安装使用及问题汇总
Go language GUI framework Fyne Chinese garbled or not displayed
[advanced level 11 of C language -- character and string functions and their simulation implementation (2)]
Switching power supply design sharing and power supply design skills diagram
SSDB基础2
Wechat applet part of the mobile phone Preview PDF did not respond
Use of content provider
SSDB foundation 2
剑指 Offer II 116. 省份数量-空间复杂度O(n),时间复杂度O(n)
Network protocol: SCTP flow control transmission protocol
Oracle configuration st_ geometry
Practice of Druid SQL and security in meituan review
I just want to leave a note for myself
Codeforces Round #784 (Div. 4)
Client interns of a large factory share their experience face to face
WebView opens H5 video and displays gray background or black triangle button. Problem solved