当前位置:网站首页>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
边栏推荐
- 开关电源设计分享及电源设计技巧图解
- Class loading process of JVM
- ESP32 LVGL8. 1 - roller rolling (roller 24)
- Simplified path (force buckle 71)
- 【历史上的今天】4 月 23 日:YouTube 上传第一个视频;网易云音乐正式上线;数字音频播放器的发明者出生
- ESP32 LVGL8. 1 - textarea text area (textarea 26)
- ESP32 LVGL8. 1 - calendar (calendar 25)
- 从技术体系到商业洞察,中小研发团队架构实践之收尾篇
- Accessing private members using templates
- 2022.04.23(LC_763_划分字母区间)
猜你喜欢
Network protocol: SCTP flow control transmission protocol
Getting started with vcpkg
The fifth bullet of MySQL learning -- detailed explanation of transaction and its operation characteristics
Practice of Druid SQL and security in meituan review
ESP32 LVGL8. 1 - roller rolling (roller 24)
Android Development: the client obtains the latest value in the database in real time and displays it on the interface
Wechat applet part of the mobile phone Preview PDF did not respond
ESP32 LVGL8. 1 - checkbox (checkbox 23)
arcMap 发布切片服务
[advanced level 11 of C language -- character and string functions and their simulation implementation (2)]
随机推荐
Dynamically add and delete layouts
Esp01s with Arduino development environment
网络协议之:sctp流控制传输协议
ArcMap连接 arcgis server
[报告] Microsoft :Application of deep learning methods in speech enhancement
On the forced conversion of C language pointer
Esp32 (UART 485 communication) - 485 communication of serial port (3)
Click the input box to pop up the keyboard layout and move up
How about CICC wealth? Is it safe to open an account up there
Android Development: the client obtains the latest value in the database in real time and displays it on the interface
js上传文件时控制文件类型和大小
FTP、ssh远程访问及控制
c1000k TCP 连接上限测试
Recyclerview control list item layout match_ Fundamental principle of parent attribute invalidation
Installation, use and problem summary of binlog2sql tool
Solutions such as unknown or garbled code or certificate problem prompt in Charles's mobile phone packet capture, actual measurement.
Sentinel service fusing practice (sentinel integration ribbon + openfeign + fallback)
Some records used by VS2010
Using Visual Studio code to develop Arduino
Introduction to micro build low code zero Foundation (lesson 3)