随笔 - 223  文章 - 0 评论 - 6 阅读 - 39万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

随笔分类 -  openlayers

openlayers 添加热力图
摘要:导入包 import {Vector as VectorLayer, Heatmap as HeatmapLayer} from 'ol/layer'; import { Vector as VectorSource } from 'ol/source'; import Feature from " 阅读全文
posted @ 2022-10-27 10:36 浅唱年华1920 阅读(371) 评论(0) 推荐(0) 编辑
openlayers 添加行政区域 geojson
摘要:先地图初始化然后再添加图层 import {Vector as VectorLayer} from 'ol/layer'; import { Vector as VectorSource } from 'ol/source'; import { GeoJSON } from 'ol/format'; 阅读全文
posted @ 2022-10-27 10:19 浅唱年华1920 阅读(343) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示