mapbox - 具有 MVT 格式的 OpenLayers VectorTile 仅在图块边缘显示部分标记符号
问题描述
我的代码是这样的:
var source = new ol.source.VectorTile({
format:new ol.format.MVT(),
tileGrid:ol.tilegrid.createXYZ({maxZoom:22}),
tilePixelRatio:1,
url:'http://127.0.0.1:8080/xxx.pbf'
});
但是在瓷砖的边缘,标记符号不能完整地显示点,它被边缘切割。有什么解决办法吗?谢谢。
解决方案
推荐阅读
- asp.net-core - 将 .NET Core 2.2 Web 应用程序移动到装有 Windows 10 的新计算机后,它失败了
- python - requests.exceptions.SSLError 在抓取
- regex - 正则表达式重命名组捕获
- core-data - 通过 NavigationLink 传递 FetchedResults
- prometheus - Grafana/Prometheus/VictoriaMetrics 中的集成和时间段
- sql - 使用 CosmosDB 中的条件检索每条记录 (id) 的计数
- angular - TS2540:无法分配给“矩阵”,因为它是只读属性
- android - 以编程方式连接到 Android Q 中的 Wifi
- jquery - 聊天应用程序需要滚动到底部 React/jQuery,无法正常工作
- vue.js - Vue:如果我将字符串作为道具传递,我应该使用“&”还是“&”?