esri / heatmap-layer-js Goto Github PK
View Code? Open in Web Editor NEWThis is a custom DynamicMapServiceLayer for Heatmap.js to work with the ArcGIS Javascript API.
Home Page: http://esri.github.io/heatmap-layer-js/
License: Apache License 2.0
This is a custom DynamicMapServiceLayer for Heatmap.js to work with the ArcGIS Javascript API.
Home Page: http://esri.github.io/heatmap-layer-js/
License: Apache License 2.0
The different licensing information within this repository requires some work.
The README.md and the license.txt suggest that all content of this repository is licensed under the Apache v2 license. The README.md also states Access and Use Constraints The library is dual-licensed under the MIT and the Beerware license, feel free to use it in your projects.
but this beerware license is not explained or linked anywhere within the repo. The MIT-LICENSE.txt file details the MIT license.
So, in total this code is licensed under the following licenses, contradicting the Readme.md text:
Hello, guys
Your product is very good and useful. I've spend little time on investigation, so thank you for a clear example.
I use your lib in my web project, to show heat on an arcgis map. It'd worked fine, but after a year of usage I faced with next error:
Error: Script terminated by timeout at:
heatmapFactory</store.prototype.setDataSet@http://ibm-b48fla5k7p2:8393/ui/mapTab/modules/heatmap.js:93:1
.storeHeatmapData@http://ibm-b48fla5k7p2:8393/ui/modules/HeatmapLayer.js:111:13
.convertHeatmapData@http://ibm-b48fla5k7p2:8393/ui/modules/HeatmapLayer.js:145:13
.parseHeatmapData@http://ibm-b48fla5k7p2:8393/ui/modules/HeatmapLayer.js:211:17
.getImageUrl@http://ibm-b48fla5k7p2:8393/ui/modules/HeatmapLayer.js:251:13
.cache["esri/layers/DynamicMapServiceLayer"]/</d<._onExtentChangeHandler@http://js.arcgis.com/3.8/init.js:746:443
.cache["dojo/_base/lang"]/</g.hitch/<@http://js.arcgis.com/3.8/init.js:172:461
n/</h@http://js.arcgis.com/3.8/init.js:238:314
.cache["esri/_coremap"]/</p<._fireEvent@http://js.arcgis.com/3.8/init.js:378:412
.cache["esri/_coremap"]/</p<._fireExtChg@http://js.arcgis.com/3.8/init.js:379:308
.cache["esri/_coremap"]/</p<.__zoomEnd@http://js.arcgis.com/3.8/init.js:368:5
.cache["esri/_coremap"]/</p<._zoomEndHandler@http://js.arcgis.com/3.8/init.js:359:1
.cache["dojo/_base/lang"]/</g.hitch/<@http://js.arcgis.com/3.8/init.js:173:14
.cache["dojo/_base/fx"]/</<._fire@http://js.arcgis.com/3.8/init.js:44:448
.cache["dojo/_base/fx"]/</<._cycle@http://js.arcgis.com/3.8/init.js:48:308
.cache["dojo/_base/lang"]/</g.hitch/<@http://js.arcgis.com/3.8/init.js:172:461
n/</h@http://js.arcgis.com/3.8/init.js:238:314
.cache["dojo/_base/lang"]/</g.hitch/<@http://js.arcgis.com/3.8/init.js:172:461
This error occured after I've updated my FF to 32.0.3 version. But script works without errors on the previous version of FF.
Could the heatmap libs conflict with new version of FF?
I'm looking forward to your reply. Thanks!
Uncaught Error: declare HeatmapLayer: mixin #0 is unknown. Did you use dojo.require to pull it in?
I found if I modified heatmap-arcgis.js and added required "esri/layers/DynamicMapServiceLayer" that I no longer got the error.
I didn't seem to have any issue with ie or firefox just in chrome.
Let me know if you need more information on it.
Thanks
Jim
in the demo : http://esri.github.io/heatmap-layer-js/
The result is not rander in canvas element,but rander be a img element
such as
<img id="map_heatLayer_1463388826775" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgA.. />
my browser is chrome 49.0.2623.87,it's support canvas.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.