I am creating an interactive map using ArcGIS and React.
Presently, I am creating a GeoJSONLayer
. However, I'm now trying to use a UniqueValueRenderer
for some of the layers. From the docs, it appears the UniqueValueRenderer
does not work with GeoJSON layers.
Is it possible to convert GeoJSON (or shapefile) data into a FeatureLayer and, if so, how do you do it?
fromJSON
methods