Skip to content

Commit c8d9fe7

Browse files
committed
fix typo and formatting
1 parent b9fff86 commit c8d9fe7

File tree

1 file changed

+7
-6
lines changed
  • src/main/java/com/esri/samples/featurelayers/feature_collection_layer

1 file changed

+7
-6
lines changed

src/main/java/com/esri/samples/featurelayers/feature_collection_layer/README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,16 @@
1010

1111
<ol>
1212
<li>Create a feature collection layer using a new feature collection, <code>new FeatureCollectionLayer(featureCollection)</code></li>
13-
<li>The layer is then added to the map, <code>ArcGISap.getOperationalLayers().add(featureCollectionLayer)</code>.</li>
14-
<li>A feature collection table is then created for the <code>GeometryType</code>s <code>Point</code> <code>Polyline</code> <code>Polygon</code>, <code>new FeatureCollectionTable(fields, geometryType, spatialRefernce)</code></li>
15-
<ol>
16-
<li><code>Field</code>s is a list of the feature's attributes, which this one defines it's name.</li>
17-
</ol>
13+
<li>The layer is then added to the map, <code>ArcGISMap.getOperationalLayers().add(featureCollectionLayer)</code>.</li>
14+
<li>A feature collection table is then created for the <code>GeometryType</code>s <code>Point</code> <code>Polyline</code> <code>Polygon</code>, <code>new FeatureCollectionTable(fields, geometryType, spatialRefernce)</code>
15+
<ol>
16+
<li><code>Field</code>s is a list of the feature's attributes, which this one defines it's name.</li>
17+
</ol>
18+
</li>
1819
<li>A <code>SimpleRenderer</code> is then assigned to each table which will render any <code>Feature</code>s from that table using the <code>Symbol</code> that was set.</li>
1920
<li>The table is then added to the feature collection, <code>FeatureCollection.getTables().add(featureCollectionTable)</code>.</li>
2021
<li>To create a feature from the feature collection table use the createFeature method passing an attribute and geometry for that feature, <code>FeatureCollectionTable.createFeature(attributes, geometry)</code>.</li>
21-
<li>Add new feature to the table, <code>FeatureCollectionTable.addFeatureAsync(feature)</code>.</li>
22+
<li>Add new feature to the table, <code>FeatureCollectionTable.addFeatureAsync(feature)</code>.</li>
2223
</ol>
2324

2425
<h2>Features</h2>

0 commit comments

Comments
 (0)