POST
|
Hi - I've noticed that the Coordinate Widget uses localStorage to save its state - however, for some reason it uses the current path as part of the `key`. This is causing a problem for us because the url in our app changes very often, as a result, the widget is creating tons of records in localStorage very quickly. Is this behavior configurable? Is it possible to either make it use a fixed key, or store the state in `sessionStorage` instead? (at least the records will be cleared after the session ends). Thanks!
... View more
12-14-2020
09:04 AM
|
0
|
2
|
81
|
POST
|
Thanks - the code seems to work if we force a GeoJSON layer into `layerInfo` - is there a better workaround?
... View more
11-19-2020
09:11 AM
|
1
|
2
|
224
|
POST
|
Hi - we are trying to use the Editor widget (JS API 4.17) in our web app however it seems it automatically enables editing for all editable FeatureLayers and GeoJSON Layers. We want to disable add/edit for all the GeoJSON Layers - according to the documentation we could do that by providing `layerInfos` with the right flags - however, `layerInfos.layer` seems to only allow `FeatureLayer` (in TS typings and as described in the documentation) but not other types. Force casting GeoJSONLayer type to "FeatureLayer" seems to work but it definitely isn't ideal - I'm wondering if this is an issue with the documentation & TS typings, or if there is a better way to do this? Thanks!
... View more
11-18-2020
12:37 PM
|
1
|
4
|
263
|
Online Status |
Offline
|
Date Last Visited |
a week ago
|