Hi, I have a problem with new widget from Esri Japan. This is widget for Clustering (arcgis-webappbuilder-widgets-themes/widgets/Clustering at master · EsriJapan/arcgis-webappbuilder-wi... ). When I configure it in WAB (color, layer etc.), list box for select requied layer is empty. I don't know where is a problem. Thanks for advice.
Solved! Go to Solution.
Ladislav,
When you create a WebMap on AGOL you can add layers from the web. You will get a dialog where you can specify a url to your map service. If you enter a url like:
http://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer
Then an ArcGISDynamicMapservice layer will be added as the map service has multiple sub layers
- Census block points
- Census block group
- Detailed Counties
- States
But if you add this url:
http://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer/0
Then a FeatureLayer will be added and this is what the clustering widget is needing.
In edit widget is the same problem. Again no layers for check-in editable.
Ladislav,
Seems like the widget is developed to only support FeatureLayers in the webmap and not DynamicMapService layers.
Robert,
can you more describe you answer? I'm novice in this topic and i need create (or use created) widget with this functionality.
Ladislav,
When you create a WebMap on AGOL you can add layers from the web. You will get a dialog where you can specify a url to your map service. If you enter a url like:
http://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer
Then an ArcGISDynamicMapservice layer will be added as the map service has multiple sub layers
- Census block points
- Census block group
- Detailed Counties
- States
But if you add this url:
http://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer/0
Then a FeatureLayer will be added and this is what the clustering widget is needing.
Thanks!
Now, I can choose my layer in WAB, but when I open app clustering doesn't work. However, it's maybe for another discussion.
Glad that helped. Don't forget to mark this thread as answered. To do this you have to open the thread (you can not see the correct answer link from inside your inbox) and then you will see the green star with correct answer link. Just click that link on the thread that answered your question.