腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(30)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
VectorGrid
在传单中的编码效率
我在一个GeoJSON文件中使用
VectorGrid
有大约7000个多边形,使用一个层很好,但是我需要将这个层分割成10个LayerGroups (10个区域有自己的多边形)。L.layerGroup(); var clearHighlight = function () {
vectorGrid
.resetFeatureStylevar
vectorGrid
= L.
vectorGrid
.slicer(
浏览 1
修改于2020-10-10
得票数 0
回答已采纳
1
回答
传单
vectorGrid
.slicer误差
_makeFeatureParts is not a function at e (leaflet.js:5)_createLayer (
vectorgrid
.js:1039) at <anonymous>_makeFeatureParts: function这是我为矢量网格使用的脚本
浏览 4
修改于2017-06-29
得票数 0
回答已采纳
1
回答
带点击事件的传单
Vectorgrid
问题
我正在使用Vue3 + Vite,并试图使leaflet.
vectorgrid
与我的地图一起工作。我快到了,我可以使用以下代码正确显示topojson文件: return response.json(); var
vectorGrid
= L.
vectorGrid
.slicer( json, { rendererFactory: L.canvas.tile
浏览 7
修改于2022-09-24
得票数 0
1
回答
使用JSZip提取多个KML文件用于传单
VectorGrid
该映射使用KML文件生成一个geoJSON对象,以传递给
VectorGrid
的切片器函数。为了提高性能,文件作为一个KMZ,并使用JSZip库进行解压缩。var
vectorGrid
; JSZip.loadAsync{ 'f
浏览 0
提问于2018-03-14
得票数 0
回答已采纳
1
回答
如果使用
VectorGrid
,传单Leaflet.markercluster的交互性不起作用
我试图为单击和鼠标事件使用传单
VectorGrid
选项: rendererFactorymaxZoom: 22, interactive: true
vectorGrid
.on("mouseover", functio
浏览 5
修改于2021-04-11
得票数 1
回答已采纳
2
回答
Leaflet -等同于L.GridLayer和L.
VectorGrid
.Slicer的eachLayer()
我使用Leaflet.
VectorGrid
(L.
VectorGrid
.Slicer)来包装世界各地的一些GeoJSON,并且我想将每个功能添加到一个或多个图层组中。L.
vectorGrid
.slicer(usData, { sliced: properties => someFunction(properties
浏览 94
提问于2019-11-20
得票数 0
回答已采纳
1
回答
将
vectorGrid
与ngx-leaflet配合使用时的地图滚动性能问题
我正在使用Leaflet +
VectorGrid
+ ngx-leaflet在一个Angular应用程序中显示地图上的矢量瓦片。然而,当显示太多的点时,滚动就会变得非常迟缓和不可能。当使用Leaflet +
Vectorgrid
时,同样的场景效果很好(plunker),所以我相信当使用ngx-leaflet时,会有一些鼠标事件被垃圾邮件处理。我如何才能改善这种情况?
浏览 19
提问于2019-01-28
得票数 0
1
回答
使用L.
vectorGrid
.protobuf绘制多个多边形时出现问题
我使用L.
vectorGrid
.protobuf来表示多个多边形,但是客户端渲染绘制了一条连接多边形的线。它应该只绘制多边形 我已经在
vectorgrid
选项中更改过样式,但没有成功。 ?
浏览 69
提问于2019-10-10
得票数 0
1
回答
使用Leaflet.
Vectorgrid
的点弹出窗口,未定义的错误“lat”
$.getJSON("/xyz/test/points.geojson", function(json) { var newPoints = L.
vectorGrid
.slicer
浏览 15
提问于2019-09-24
得票数 1
2
回答
将多个第三方库导入Angular2项目中的同一个命名空间
我用npm安装它们npm install leaflet.
vectorgrid
npm install @types/leaflet但是Leaflet.
VectorGrid
没有@类型定义,所以我添加转到我的typings.d.ts文件中。如果我试着:import * as L
浏览 4
提问于2016-10-20
得票数 3
回答已采纳
1
回答
如何按照webpack的顺序导入模块?
pbf库将提供一个全局变量Pbf,而Leaflet.
VectorGrid
的作者只是假定存在全局Pbf。因此,我需要按顺序导入这两个库:require('node_modules/leaflet.
vectorgrid
/dist/Leaflet.
VectorGrid
.js');结果表明,在webpack生成的app.bundle.js中,无论导入顺序如何,pbf库的代码都放在Leaflet.
VectorGrid
代码的后面。
浏览 3
修改于2016-06-25
得票数 1
回答已采纳
1
回答
地图更新后程序崩溃
color; console.log("removedthe previous layer");
浏览 2
修改于2017-04-28
得票数 0
回答已采纳
1
回答
如何为Leaflet中的磁贴请求添加自定义Authorization Header
我正在使用Leaflet.
VectorGrid
插件加载pbf矢量瓦片到一个小叶地图上。我检索向量tiles的API需要传递一个authorization头。对于插件中的引用向量层构造函数: var vectorTileOptions = {}; var pbfLayer = L.
vectorGrid
.protobuf
浏览 108
提问于2020-08-27
得票数 1
回答已采纳
1
回答
react中的Leaflet插件-leaflet
我想使用Leaflet.
VectorGrid
插件,我有一个问题。有没有在react-leaflet中创建自定义组件的例子?
浏览 17
提问于2020-06-02
得票数 2
回答已采纳
2
回答
小叶栅层的造型
2, }, var mapLayer = L.
vectorGrid
.protobuf
浏览 6
提问于2020-04-15
得票数 0
回答已采纳
1
回答
在角图上提供geoJSON数据
到目前为止,我尝试的是通过创建leaflet.
vectorgrid
中提到的leaflet.
vectorgrid
.d.ts来实现。这是一个文件: namespace
vectorGrid
{ export
浏览 1
提问于2019-10-14
得票数 0
回答已采纳
1
回答
过滤javascript中不存在的txt字符串的一部分
我正在用这个代码做其他过滤...$.getJSON("..data/polygons.geojson", function(json) { maxZoom: 20, rendererFactory: L.svg.tile'<i>' + properties.Date
浏览 49
修改于2018-10-05
得票数 1
1
回答
在Leaflet的矢量图层上获取弹出窗口中目标的FeatureId
true, return feat.properties.routes}; var TilesPbfLayer = L.
vectorGrid
.protobuf
浏览 40
修改于2019-07-25
得票数 0
1
回答
Nuxt3生成TypeError:无法读取null属性(读取'isCE')
import 'leaflet.markercluster';import 'leaflet-sidebar'; "leaflet-sidebar": "^0.2.4", "leaflet.markercluster": "
浏览 18
修改于2022-09-28
得票数 0
1
回答
向量层属性不会在函数调用中加载
fillOpacity: 1, fillColor: getColor(val) } layer = L.
vectorGrid
.protobuf
浏览 3
提问于2020-09-03
得票数 0
回答已采纳
第 2 页
领券