TransWikia.com

Converting GeoJSON (or shapefile) data to FeatureLayer

Geographic Information Systems Asked on November 14, 2021

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?

One Answer

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

Answered by Bjorn Svensson on November 14, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP