当前位置:网站首页>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
边栏推荐
- The corresponding permissions required to automatically open the app in the setting interface through accessibility service
- 8266 obtain 18b20 temperature
- Use of content provider
- Tencent cloud GPU best practices - remote development training using jupyter pycharm
- 开关电源设计分享及电源设计技巧图解
- Download xshell 6 and xftp6 official websites
- Oracle configuration st_ geometry
- One stop service platform for high-level talents and development of comprehensive service platform system for talents
- 12个例子夯实promise基础
- mysql_linux版本的下载及安装详解
猜你喜欢
Android Development: the client obtains the latest value in the database in real time and displays it on the interface
SQL常用的命令
Some records used by VS2010
Wechat video extraction and receiving file path
The fifth bullet of MySQL learning -- detailed explanation of transaction and its operation characteristics
On the forced conversion of C language pointer
mysql_linux版本的下載及安裝詳解
I just want to leave a note for myself
剑指 Offer II 116. 省份数量-空间复杂度O(n),时间复杂度O(n)
Redis optimization series (III) solve common problems after master-slave configuration
随机推荐
Openharmony open source developer growth plan, looking for new open source forces that change the world!
Feature selection feature_ selection--SelectKBest
The type initializer for ‘Gdip‘ threw an exception
Wechat applet part of the mobile phone Preview PDF did not respond
MySQL学习第五弹——事务及其操作特性详解
On the forced conversion of C language pointer
All table queries and comment description queries of SQL Server
Screenshot using projectmediamanager
中金财富怎么样?在上边开户安全吗
Nacos cluster construction and MySQL persistence configuration
openlayers 5.0 离散聚合点
剑指 Offer II 116. 省份数量-空间复杂度O(n),时间复杂度O(n)
SSDB foundation 3
RPM package management
開關電源設計分享及電源設計技巧圖解
Installation, use and problem summary of binlog2sql tool
[记录]TypeError: this.getOptions is not a function
c1000k TCP 连接上限测试
浅谈c语言指针的强制转换
Go language GUI framework Fyne Chinese garbled or not displayed