arcgis javascrip如何调用geoserver发布的mapbox矢量切片?
就是 mapbox里面的style的
glyphs:
"http://" + window.location.host + "/examples/data/mbstyle/ArcTilerWeb/fonts/{fontstack}/{range}.pbf",
version: 8,
sprite:
"http://" + window.location.host +"/examples/data/mbstyle/ArcTilerWeb/sprites/sprite",
sources: {
//composite: {
// url: "mapbox://mapbox.mapbox-terrain-v2",
// type: "vector"
//},
esri: {
type: "vector",
scheme: "tms",
tiles: [
"http://localhost:8080/geoserve ... 0pbf/{z}/{x}/{y}.pbf"
]
}
显示不出来,glyphs: sprite:sources:里面的内容应该怎么写?
glyphs:
"http://" + window.location.host + "/examples/data/mbstyle/ArcTilerWeb/fonts/{fontstack}/{range}.pbf",
version: 8,
sprite:
"http://" + window.location.host +"/examples/data/mbstyle/ArcTilerWeb/sprites/sprite",
sources: {
//composite: {
// url: "mapbox://mapbox.mapbox-terrain-v2",
// type: "vector"
//},
esri: {
type: "vector",
scheme: "tms",
tiles: [
"http://localhost:8080/geoserve ... 0pbf/{z}/{x}/{y}.pbf"
]
}
显示不出来,glyphs: sprite:sources:里面的内容应该怎么写?
2 个回复
许丹石
赞同来自:
Dong11290 - 我的GIS我做主。。。。
赞同来自:
要回复问题请先登录或注册
发起人
我的GIS我做主。。。。
相关问题
问题状态