@@ -17,24 +17,24 @@ Tap the button on the toolbar to add feature layers, from different sources, to
1717## How it works
1818
19191 . Create a ` Map ` instance with a topographic basemap style.
20- 2 . Load a feature layer with a feature table.
21- i. Create a ` ServiceFeatureTable ` instance from a URL.
22- ii. Create a ` FeatureLayer ` instance with the feature table.
23- 3 . Load a feature layer with a portal item.
24- i. Create a ` FeatureLayer ` instance with a portal item.
25- 4 . Load a feature layer with a geodatabase.
26- i. Instantiate and load a ` Geodatabase ` using the file name.
27- ii. Get the feature table from the geodatabase with the feature table's name by using the ` getGeodatabaseFeatureTable(tableName:) ` geodatabase method.
28- iii. Create a ` FeatureLayer ` instance from the feature table.
29- 5 . Load a feature layer with a GeoPackage.
30- i. Instantiate and load a GeoPackage using its file name.
31- ii. Get the first ` GeoPackageFeatureTable ` from the ` geoPackageFeatureTables ` array.
32- iii. Create a ` FeatureLayer ` instance from the feature table.
33- 6 . Load a feature layer with a shapefile.
34- i. Create a ` ShapefileFeatureTable ` instance using the shapefile name.
35- ii. Create a ` FeatureLayer ` instance from the feature table.
36- 7 . Add the feature layer to the map's operational layers.
37- 8 . Create a ` MapView ` instance with the map.
20+ 2 . Load a feature layer with a feature table.
21+ i. Create a ` ServiceFeatureTable ` instance from a URL.
22+ ii. Create a ` FeatureLayer ` instance with the feature table.
23+ 3 . Load a feature layer with a portal item.
24+ i. Create a ` FeatureLayer ` instance with a portal item.
25+ 4 . Load a feature layer with a geodatabase.
26+ i. Instantiate and load a ` Geodatabase ` using the file name.
27+ ii. Get the feature table from the geodatabase with the feature table's name by using the ` getGeodatabaseFeatureTable(tableName:) ` geodatabase method.
28+ iii. Create a ` FeatureLayer ` instance from the feature table.
29+ 5 . Load a feature layer with a GeoPackage.
30+ i. Instantiate and load a GeoPackage using its file name.
31+ ii. Get the first ` GeoPackageFeatureTable ` from the ` geoPackageFeatureTables ` array.
32+ iii. Create a ` FeatureLayer ` instance from the feature table.
33+ 6 . Load a feature layer with a shapefile.
34+ i. Create a ` ShapefileFeatureTable ` instance using the shapefile name.
35+ ii. Create a ` FeatureLayer ` instance from the feature table.
36+ 7 . Add the feature layer to the map's operational layers.
37+ 8 . Create a ` MapView ` instance with the map.
3838
3939## Relevant API
4040
0 commit comments