DOC
|
Hi, I found the original Heat Map Widget 1.2 03/03/2018 to be lacking some features. (author: Adri2c) So I started to add some features, then ended up fixing some bugs and the also added an advanced settings widget. data-dojo-attach-point - removed all use of ids, they often result in errors and are most likely are not unique. Instead I use data-dojo-attach-point. HeatMapLayer now also render layers without an url (say a layer with a featureCollection - often loaded from file e.g. GeoLookup). HeatMap widget load layers added after the widget has been initialized. Adds config and setting.js, where it is possible to change: geometry: which geometry can be rendered as heatmap colorStops: setup heatmapslider colors (with colorpicker, drag and drop, etc) The widget can be found here: WAB-Custom-Widgets/HeatMapES5 at master · Eightyplus/WAB-Custom-Widgets · GitHub
... View more
04-20-2018
12:19 AM
|
0
|
0
|
288
|
POST
|
When I debug my code, I'm quite sure you also tried to setup this sample in a environment pre 4.0 (e.g. 3.23). To get this to work, using featureCollection is completly correct. Follow this example instead: Feature collection | ArcGIS API for JavaScript 3.23
... View more
01-24-2018
04:10 AM
|
0
|
0
|
344
|
POST
|
Hi, Maybe this is a bit late, but I got it working by wrapping configuration for the FeatureLayer in a featureCollection object like on this page: FeatureLayer | API Reference | ArcGIS API for JavaScript 3.23 var featureCollection = { layerDefinition : { fields : fields , source : graphics, objectIdField : "ObjectID" , renderer : absRenderer, spatialReference : { wkid : 4326 }, geometryType : "point" , popupTemplate : pTemplate }, featureSet : null }; lyr = new FeatureLayer( featureCollection );
... View more
01-23-2018
11:58 AM
|
0
|
0
|
344
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|