前端通过LeafletGeotiff插件渲染tif色斑图
摘要:renderTiffMap(tif) { if (this.tiffLayer) { this.map.removeLayer(this.tiffLayer); this.tiffLayer = null } plotty.addColorScale( "customScale", [ "#A6D5
阅读全文
posted @
2025-03-04 15:49
shihongbo
阅读(2)
推荐(0) 编辑
前端渲染webp为色斑图
摘要:const vertexShaderSource = ` attribute vec2 a_position; varying vec2 v_texCoord; void main(void) { gl_Position = vec4(a_position, 0.0, 1.0); v_texCoor
阅读全文
posted @
2025-03-04 15:48
shihongbo
阅读(1)
推荐(0) 编辑
前端通过leaflet在地图上打点
摘要:// 初始化适宜度图层 initLayer() { let MaskLayer = []; if (this.map) { if (!this.suitableLayer) { this.suitableLayer = L.layerGroup() this.map.addLayer(this.su
阅读全文
posted @
2025-03-04 15:44
shihongbo
阅读(1)
推荐(0) 编辑
前端调用geoserver瓦片图
摘要:setlayer() { let CQL_FILTER = ``; if (this.boundaryLayer == null) { this.boundaryLayer = L.layerGroup(); this.boundaryLayer.addTo(this.map) } this.bou
阅读全文
posted @
2025-03-04 15:43
shihongbo
阅读(2)
推荐(0) 编辑