|
POST
|
For a point layer there should be a separate button to define a cluster view of the layer - it's not part of the symbology config screen you mentioned that lets you choose a heatmap view. For a polygon/polyline, you should be able to see the clustering setting under that symbology config window. If you're just learning on custom widgets, I would start with the basics before jumping to showing a cluster layer - https://www.esri.com/arcgis-blog/products/apps/uncategorized/creating-a-custom-widget-for-web-appbuilder-for-arcgis-using-the-report-class/ https://developers.arcgis.com/web-appbuilder/sample-code/create-custom-in-panel-widget.htm https://www.esri.com/about/newsroom/arcwatch/add-custom-widgets-to-web-appbuilder-for-arcgis-developer-edition/ The widget will need to be hosted on an IIS server at some point if you're publishing it to users so that's also something to be aware of and see if you can even do that (host it on an IIS server). Once you create a widget and add it, you can add a button and then see if you can add a new layer to the map with a button click, which then you'll be able play-around and applying different symbologies or renderers to that layer.
... View more
01-07-2021
03:23 AM
|
0
|
2
|
2765
|
|
POST
|
I don't really understand what you're trying to achieve. If it's just to display a layer as clusters, you don't need a widget or WAB, you just configure the layer to be shown as cluster layer through a webmap at Portal and consume that layer as you do through WAB. If you would like to build a new custom widget that will display a layer/data as clusters that's quite an effort and you need to learn how to create custom widgets first and there are many guides to this that can help you, but it sounds like you just want to configure a layer with cluster symbology through a webmap on Portal.
... View more
01-07-2021
03:06 AM
|
0
|
1
|
2768
|
|
POST
|
My answer was a "quick-fire" with no real understanding of the workflow or context to your problem - just to give you a possible direction to come-up with a solution. I don't have enough understanding to any of the workflows you have to make sense of this, sorry.
... View more
01-07-2021
02:53 AM
|
0
|
0
|
1705
|
|
POST
|
Both links refers to the javascript API version 4.x. WebApp Builder is based on version 3.x of the API. So referring to what presented in the links, the answer is no. You can however, use the available cluster options available for version 3 of the API as explained here - https://developers.arcgis.com/javascript/3/jssamples/layers_point_clustering.html And of-course the functionality can be wrapped as part of a widget in the Dev' edition.
... View more
01-07-2021
02:47 AM
|
0
|
3
|
2771
|
|
POST
|
Based on my experience and what you've shown, it might be that the json file is too large to be processed. Test it with a small string first to understand if it works at.
... View more
01-07-2021
02:16 AM
|
0
|
2
|
1711
|
|
POST
|
Try creating a new empty application and choose that theme. This error might suggest you had some previous widgets defined that are unable to be moved to the new theme
... View more
01-06-2021
02:18 PM
|
0
|
0
|
1149
|
|
POST
|
In your code, you create a Point, wrap it as a graphic and then add it into a graphic layer. When creating a graphic you create a symbol definition to determine how the graphic looks like. Renderers are a more advanced way to define how a group of symbols assigned to graphics/features based on different rules. There are different type of renderers such as scale-based/unique values/classes and more. Instead of using a simple marker symbol that represents a single marker symbol, you should apply a renderer, which acts in a similar way to a marker symbol but with more advanced functionality, as described in the documentation for renderers. Since you're using version 4.x of the API, I don't know if renderers can work on a graphic layer - it did work for version 3.x as described here: https://developers.arcgis.com/javascript/3/jshelp/inside_renderers.html This link explain exactly all you need to know about markers and renderers. The concepts remain the same for both versions. It could be that in version 4.x you cannot use renderers on graphics but I haven't tested it and it should be very easy to test - you just create a renderer and apply it as the symbol, as shown in the examples at the link above. In case it doesn't work for graphics, you can convert the graphics to a feature layer of points and apply the renderer. The documentation is filled with examples on how to define a unique value renderer - https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-UniqueValueRenderer.html There's also a sandbox example for a renderer (defined on a feature layer and not a graphic layer) - https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=visualization-location-types Basically, a renderer is a collection of symbols based on some pre-defined rules.
... View more
01-06-2021
06:18 AM
|
1
|
0
|
3549
|
|
POST
|
Hi Abdul, You need to use a uniqueValue renderer as explained here: https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-UniqueValueRenderer.html
... View more
01-06-2021
01:16 AM
|
1
|
0
|
3559
|
|
POST
|
WebAppBuilder is map-centric, opposed to the Experience Builder. Linking two different map objects sounds like a lot of work and I'm not sure if even possible with WAB, although there are some templates that allows a similar behaviour to some extent. ExperienceBuilder is designed just for that - it might be possible to customize this behaviour on the developer edition of the EB (which sounds much less effort than working out sync in WAB).
... View more
01-06-2021
12:25 AM
|
0
|
0
|
1015
|
|
POST
|
there is a FullScreen widget available and also a community based fullscreen widget (and another one which I have customized and uploaded as well), but fullscreen in Apple products is not possible. I think it can work only on iPads but generally speaking, Apple restricted such option. A workaround for that could be a button that opens the map in a new tab, expended to the whole screen.
... View more
01-06-2021
12:18 AM
|
0
|
0
|
1834
|
|
IDEA
|
The legend widget cannot be resized if it's on a side-panel, but on a floating panel, the resize option is built-in. just add it to one of the floating widgets. Shay
... View more
01-06-2021
12:16 AM
|
0
|
0
|
810
|
|
POST
|
There's a splash screen widget/option in WAB, which I believe you're aware of.. to allow such behaviour before the application even loaded, you need to locate the piece of code where the app loads and inject some good amount of code into there (build a div, stretch it, make it transparent, add a message, etc..). It is possible but will take some time to locate the right location when the app starts (blue/grey screen). You can then publish an event listener (see dojo publish & subscribe) and trigger it with a widget when the app is fully loaded.. it's a lot of effort if you don't have previous experience with this type of workflows and on top of all, the maintenance would be really bad since this code is injected and requires manual maintenance when it comes to version updates and such. Shay
... View more
01-06-2021
12:09 AM
|
0
|
0
|
2316
|
|
POST
|
Hello, The link you added refers to the Javascript API version 4.x. WAB is based on a different technology - Javascript API version 3.x. There's already a Basemap toggle widget for the WAB and it's part of it as explained here: https://doc.arcgis.com/en/web-appbuilder/create-apps/widget-basemap.htm If you'd like to build a new Basemap widget using the javascript API (which would be practically the same so I'm not sure why would you want that), the right link to create that code would be: https://developers.arcgis.com/javascript/3/jssamples/widget_basemap.html Shay.
... View more
01-05-2021
11:59 PM
|
0
|
1
|
1721
|
|
POST
|
Have you opened the console/dev tools to see any error messages?
... View more
01-05-2021
11:54 PM
|
0
|
1
|
1155
|
|
POST
|
Sounds like you want a dropdown list of all the values from an existing table as an input to choose from.. I don't (and don't think) the geoprocessing widget can do that, but you can definitely do it with some code to read the table and populate an input field.
... View more
01-05-2021
11:53 PM
|
0
|
0
|
686
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-17-2023 06:13 AM | |
| 1 | 11-29-2021 06:30 PM | |
| 1 | 11-29-2021 10:52 PM | |
| 1 | 12-01-2021 03:17 PM | |
| 1 | 11-29-2021 06:15 PM |