当前位置:网站首页>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
边栏推荐
- 中金财富怎么样?在上边开户安全吗
- js获取本机ip地址
- Redis common interview questions
- Tencent cloud GPU best practices - remote development training using jupyter pycharm
- Esp32 drive encoder -- siq-02fvs3 (vscade + IDF)
- MVVM model
- : app: transformclasseswithrobustfordevrease meituan hot repair compilation error record
- SSDB基础3
- ESP32 LVGL8. 1 - msgbox message box (msgbox 28)
- From technical system to business insight, the closing chapter of the practice of small and medium-sized R & D team structure
猜你喜欢
Getting started with vcpkg
Network protocol: SCTP flow control transmission protocol
[today in history] April 23: the first video uploaded on YouTube; Netease cloud music officially launched; The inventor of digital audio player was born
The difference between ordinary inner class and static inner class
From technical system to business insight, the closing chapter of the practice of small and medium-sized R & D team structure
Esp32 (UART ecoh) - serial port echo worm learning (2)
Oracle配置st_geometry
MySQL Téléchargement et installation de la version Linux
【C语言进阶11——字符和字符串函数及其模拟实现(2))】
Esp32 (UART receiving and sending) - receiving and sending communication of serial port (4)
随机推荐
WebView opens H5 video and displays gray background or black triangle button. Problem solved
binlog2sql 工具安装使用及问题汇总
Xlslib use
All table queries and comment description queries of SQL Server
Feature selection feature_ selection--SelectKBest
Go 语言 GUI 框架 fyne 中文乱码或者不显示的问题
7、 DOM (Part 2) - chapter after class exercises and answers
From technical system to business insight, the closing chapter of the practice of small and medium-sized R & D team structure
Raspberry pie uses root operation, and the graphical interface uses its own file manager
MVVM model
2022.04.23 (lc_763_divided into letter interval)
[记录]TypeError: this.getOptions is not a function
One stop service platform for high-level talents and development of comprehensive service platform system for talents
网络协议之:sctp流控制传输协议
js 计算时间差
Tencent cloud GPU best practices - remote development training using jupyter pycharm
Wechat applet part of the mobile phone Preview PDF did not respond
Keysight has chosen what equipment to buy for you
Actual combat of Nacos as service configuration center
ESP32 LVGL8. 1 - textarea text area (textarea 26)