This article mainly introduces how to write a hotspot graph in javascript. a hotspot graph is displayed in the form of a vertex. by supplementing the surrounding color, the gradient will be adjusted accordingly, if you are interested in hotspot maps, refer to gis. if you use js to write hotspot maps, how can you do this without using the background, as is easier to have corresponding class libraries or even official ones. Besides, using javascript instead of using arcgis to publish the rest service (note: hotspot graphs can be published in the form of services, and arcgis for javascript has corresponding api support) makes it more troublesome at this time, first, what is a hotspot image?
Hotspot diagramIt is displayed in the form of points, through the completion of the surrounding color changes will also adjust the gradient, similar to a certain football sports range that I have found a heapmap can achieve heapmap. js and heapmap-arcgis.js
Because the arcigs for javascript api is written based on dojo, the method for loading a class library is as follows: