当前位置:网站首页>Openlayers 5.0 thermal diagram
Openlayers 5.0 thermal diagram
2022-04-23 19:09:00 【GIS roast lamb leg is delicious】
import Vector from 'ol/source/Vector.js'
import { Heatmap as HeatmapLayer } from 'ol/layer.js'
import Feature from 'ol/Feature.js'
import Point from 'ol/geom/Point.js'
var webgissource={};
webgissource.heatmapsource=new Vector()
webgissource.heatmapvector = new HeatmapLayer({
// Vector data source
source: webgissource.heatmapsource,
blur: parseInt(50, 10), // Fuzzy size
opacity: 1,
radius: parseInt(30, 10) // Hot spot radius
})
map.addLayer(webgissource.heatmapvector);
static heatmaplayer(data){
//data data format {x:107.4,y108.5} for Loop execution heatmaplayer()
var points=new Point([data.x,data.y]);
var iconFeature = new Feature({
geometry:points,
attributions:{
feature:data,
type:'rlt'
}
})
webgissource.heatmapvector.getSource().addFeature(iconFeature)
}
版权声明
本文为[GIS roast lamb leg is delicious]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231908120907.html
边栏推荐
- SQL Server database in clause and exists clause conversion
- On the forced conversion of C language pointer
- Accessing private members using templates
- Nacos cluster construction and MySQL persistence configuration
- Using bafayun to control the computer
- Oracle配置st_geometry
- Nacos as service registry
- Installation, use and problem summary of binlog2sql tool
- ArcMap连接 arcgis server
- Using Visual Studio code to develop Arduino
猜你喜欢
ESP32 LVGL8. 1 - roller rolling (roller 24)
OpenHarmony开源开发者成长计划,寻找改变世界的开源新生力!
Esp32 (UART ecoh) - serial port echo worm learning (2)
Wechat video extraction and receiving file path
Esp32 drive encoder -- siq-02fvs3 (vscade + IDF)
该买什么设备,Keysight 给你挑好了
SQL常用的命令
arcMap 发布切片服务
I just want to leave a note for myself
Partage de la conception de l'alimentation électrique de commutation et illustration des compétences en conception de l'alimentation électrique
随机推荐
Switching power supply design sharing and power supply design skills diagram
MySQL statement
简化路径(力扣71)
在渤海期货办理开户安全吗。
I just want to leave a note for myself
From technical system to business insight, the closing chapter of the practice of small and medium-sized R & D team structure
Keysight has chosen what equipment to buy for you
Using Visual Studio code to develop Arduino
ESP32 LVGL8. 1 - calendar (calendar 25)
12 examples to consolidate promise Foundation
Methods of nested recycleview to solve sliding conflict and incomplete item display
openlayers draw矩形
SSDB基础3
Xlslib use
Druid SQL和Security在美团点评的实践
Accessing private members using templates
Zlib realizes streaming decompression
mysql_ Download and installation of Linux version
Use of content provider
从技术体系到商业洞察,中小研发团队架构实践之收尾篇