Feature Layer Editing example withou AGSWebMap

1078
2
09-28-2016 12:08 AM
AntonioFiume
New Contributor III

Dear All,

in the main portal il possible to download the Feature Layer Editing example.

This example use AGSWebMap class and delegate so use a JSON configuration file for layers and basemap.

Is possible to convert the example without use AGSWebMap CLass?

For example creating a object AGSTiledMapServiceLayer to add the map to sel.mapView and other all objects?

My request is to avoid the JSON file and use only swift code.

This is the URL about configuration in arcgis example https://www.arcgis.com/sharing/rest/content/items/b31153c71c6c429a8b24c1751a50d3ad/data 

Thanks and Regards.

Tony

0 Kudos
2 Replies
DiveshGoyal
Esri Regular Contributor

Yes, it is possible to accomplish what the sample does without using a webmap and instead adding layers programmatically to the mapview. The sample uses the webmap to simplify that part and reduce the code, but the functionality is not limited to just using webmaps.

AntonioFiume
New Contributor III

really thanks for the reply

0 Kudos