ArcGIS JS 3.X借助h337.js打造热力图
/* global h337 */
define([
"dojo/_base/declare",
"dojo/_base/lang",
"dijit/_WidgetBase",
"dojo/dom",
"dojo/query",
"dojo/dom-style",
"dojo/on",
"esri/layers/DynamicMapServiceLayer",
"esri/geometry/screenUtils",
"esri/geometry/Point"
], function(
declare, lang,
_WidgetBase,
dom,
query,
domStyle,
on,
DynamicMapServiceLayer,
screenUtils,
Point
) {
return declare([_WidgetBase, DynamicMapServiceLayer], {
options: {
useLocalMaximum: false,
map: null,
config:{
radius: 40,
debug: false,
visible: true,
gradient: {
0.45: "rgb(000,000,255)",
0.55: "rgb(000,255,255)",
0.65: "rgb(000,255,000)",
0.