当前位置:网站首页>Openlayers 5.0 loading ArcGIS Server slice service
Openlayers 5.0 loading ArcGIS Server slice service
2022-04-23 19:08:00 【GIS roast lamb leg is delicious】
import Map from 'ol/Map.js';
import View from 'ol/View.js';
import Tile from 'ol/layer/Tile.js';
import TileArcGISRest from 'ol/source/TileArcGISRest.js';
var webgissource={}
var view=new View({
center:[106.516,29.56] ,// Center point
zoom: 12,// Current level
minZoom: 5,// Minimum grade
maxZoom: 17,// Maximum level
projection: 'EPSG:4326'// Coordinate system
})
webgissource.VectorBaseMap=new Tile({
visible: true,
source: new TileArcGISRest({
url: 'localhost:6080/arcgis/rest/services/founder/china/MapServer'// Service path
}),
})
var map = new Map({
loadTilesWhileAnimating: true,
target: 'mapDiv',// Containers id
layers:[webgissource.VectorBaseMap],
view: view
});
版权声明
本文为[GIS roast lamb leg is delicious]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231908120989.html
边栏推荐
- c1000k TCP 连接上限测试
- WebView opens H5 video and displays gray background or black triangle button. Problem solved
- One stop service platform for high-level talents and development of comprehensive service platform system for talents
- Download xshell 6 and xftp6 official websites
- 12 examples to consolidate promise Foundation
- Sogou cell thesaurus analysis (only extract words and word frequency)
- [play with lighthouse] Tencent cloud lightweight server builds a full platform video analysis video download website
- ESP32 LVGL8. 1 - arc (arc 19)
- mysql通过binlog恢复或回滚数据
- 12个例子夯实promise基础
猜你喜欢

Raspberry pie 18b20 temperature

ESP32 LVGL8. 1 - arc (arc 19)

Esp32 (UART receiving and sending) - receiving and sending communication of serial port (4)

Keysight has chosen what equipment to buy for you

OpenHarmony开源开发者成长计划,寻找改变世界的开源新生力!

c#:泛型反射

Oracle配置st_geometry

Simple use of navigation in jetpack

Using Visual Studio code to develop Arduino

开关电源设计分享及电源设计技巧图解
随机推荐
2022.04.23(LC_763_划分字母区间)
MySQL statement
Accessing private members using templates
Screen right-click menu in souI
SSDB基础3
Codeforces Round #784 (Div. 4)
The type initializer for ‘Gdip‘ threw an exception
Seata handles distributed transactions
Wechat video extraction and receiving file path
Codeforces Round #784 (Div. 4)
JVM的类加载过程
MVVM model
Transaction processing of SQL Server database
Installation, use and problem summary of binlog2sql tool
Go language GUI framework Fyne Chinese garbled or not displayed
Zlib realizes streaming decompression
ESP32 LVGL8. 1 - msgbox message box (msgbox 28)
Click the input box to pop up the keyboard layout and move up
ESP32 LVGL8. 1 - checkbox (checkbox 23)
Simple use of viewbinding