更多>
最新下载
24小时阅读排行榜
- 1 如何搭建Golang本地调试环境_Golang本地调试环境配置说明
- 2 Laravel怎么实现验证码(Captcha)功能
- 3 Python类属性与实例属性区别_使用场景讲解【指导】
- 4 如何在虚拟机中搭建mysql_mysql虚拟机环境搭建方法
- 5 c++中#pragma once是什么意思_解析C++中#pragma once的作用与使用方法
- 6 如何使用Golang遍历目录文件_Golang filepath Walk方法说明
- 7 C#怎么实现单例模式 C#设计模式之单例模式详解
- 8 MAUI怎么使用蓝牙功能 MAUI BLE通信教程
- 9 html5怎样用data属性存数据_html5data属性使用与js读取方法【方法】
- 10 如何在mysql中删除数据库_mysql数据库删除操作说明
- 11 C++如何调用Python脚本_C++与Python混合编程环境配置
- 12 如何转移HTML项目到新服务器_迁移部署步骤【指南】
- 13 mysql默认用户安全吗_mysql默认安全风险分析
- 14 Go文件操作常见error有哪些_Go File Error常见类型说明
- 15 如何使用Golang开发URL爬虫工具_抓取网页内容并解析数据
更多>
最新教程
-
- Node.js 教程
- 14098 2025-08-28
-
- CSS3 教程
- 1540611 2025-08-27
-
- Rust 教程
- 21799 2025-08-27
-
- Vue 教程
- 24315 2025-08-22
-
- PostgreSQL 教程
- 21032 2025-08-21
-
- Git 教程
- 8291 2025-08-21
下载首页 / 类库下载 / 其它类库
(function(w){
// the heatmapFactory creates heatmap instances
var heatmapFactory = (function(){
// store object constructor
// a heatmap contains a store
// the store has to know about the heatmap in order to trigger heatmap updates when datapoints get added
var store = function store(hmap){
var _ = {
// data is a two dimensional array
// a datapoint gets saved as data[point-x-value][point-y-value]
// the value at [point-x-value][point-y-value] is the occurrence of the datapoint
data: [],
// tight coupling of the heatmap object
heatmap: hmap
};
// the max occurrence - the heatmaps radial gradient alpha transition is based on it
this.max = 1;
this.get = function(key){
return _[key];
};
this.set = function(key, value){
_[key] = value;
};
}设置热力图展现的详细数据, 实现之后,即可以立刻展现
@param {Json Object } data
{"<b>max</b>" : {Number} 权重的最大值,
<br />"<b>data</b>" : {Array} 坐标详细数据,格式如下 <br/>
{"lng":116.421969,"lat":39.913527,"count":3}, 其中<br/>
lng lat分别为经纬度, count权重值
添加势力图的详细坐标点
@param {Number} lng 经度坐标
@param {Number} lat 经度坐标
@param {Number} count 经度坐标
本站所有资源都是由网友投搞发布,或转载各大下载站,请自行检测软件的完整性!本站所有资源仅供学习与参考,请勿用于商业用途,否则产生的一切后果将由您自己承担!如有侵权请联系我们删除下架,联系方式:admin@php.cn
