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?


1 Answer 1


The documentation is incorrect and will be fixed. You can use UniqueValueRenderer just fine with GeoJSONLayer. No need to convert the GeoJSON.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.