Select to view content in your preferred language

Load ArcGIS JSON data on Mapview

647
1
03-16-2022 04:53 AM
Monu
by
New Contributor

I have json file with basemap and all operational_layers, unable to load on arcGIS mapview.

 

Monu_1-1647431478419.png

 

0 Kudos
1 Reply
Nicholas-Furness
Esri Regular Contributor

The Map View is used to display an ArcGISMap. It is not itself a map. See this introductory documentation.

But since this is a web map that is hosted, just open the web map by creating a portal item that refers to the item you got the JSON from. There's no need to retrieve and work with that JSON yourself.

See this tutorial: https://developers.arcgis.com/android/maps-2d/tutorials/display-a-web-map/

If you really need to open the JSON, create an ArcGISMap from the JSON. Display that in the map view.

0 Kudos