Skip to content

Commit 564d46f

Browse files
authored
Update README.md
1 parent d7953a7 commit 564d46f

File tree

1 file changed

+7
-7
lines changed
  • src/main/java/com/esri/samples/localserver/local_server_dynamic_workspace_shapefile

1 file changed

+7
-7
lines changed

src/main/java/com/esri/samples/localserver/local_server_dynamic_workspace_shapefile/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@
1818
<li>Create and run a local server.
1919
<ul><li><code>LocalServer.INSTANCE</code> creates a local server</li></ul>
2020
<ul><li><code>Server.startAsync()</code> starts the server asynchronously</li></ul>
21-
<li>Create a <code>LocalMapService</code> instance using an empty .MPK file (the sample uses one that is created for you). Don't start it yet.</li>
22-
<li>Create a <code>ShapefileWorkspace</code> with id 'shp_wkspc' and absolute path to location of were shapefile is being stored.</li>
21+
<li>Create a LocalMapService instance using an empty .MPK file (the sample uses one that is created for you). Don't start it yet.</li>
22+
<li>Create a ShapefileWorkspace with id 'shp_wkspc' and absolute path to location of were shapefile is being stored.</li>
2323
<li>Create a <code>TableSublayerSource</code> using <code>shapefileWorkspace.getId()</code> and name of shapefile with extension, example `mjrroads.shp`.</li>
24-
<li>Add <code>ShapefileWorkspace</code> to <code>LocalMapService.setDynamicWorkspaces()</code>.</li>
25-
<li>Start the <code>LocalMapService</code>
24+
<li>Add ShapefileWorkspace to <code>LocalMapService.setDynamicWorkspaces()</code>.</li>
25+
<li>Start the LocalMapService
2626
<ul><li><code>localMapService.startAsync()</code></li></ul>
2727
<ul><li><code>localMapService.addStatusChangedListener()</code> fires whenever the status of the local server has changed.</li></ul></li>
2828
<ul><li>Wait for server to be in the <code>LocalServerStatus.STARTED</code> state.</li></ul>
2929
<li>Create a <code>ArcGISMapImageLayer</code> using <code>localMapService.getUrl()</code></li>
30-
<li>Add the ArcGISMapImageSublayer to it's list of sublayers. The ArcGISMapImageSublayer points to the shapefile file on disk.
31-
<li>Once <code>ArcGISMapImageLayer</code> is done loading, set <code>ArcGISMapImageSublayer</code> to <code>ArcGISMapImageLayer.getSublayers()</code>. The ArcGISMapImageSublayer points to the shapefile file on disk.</li>
30+
<li>Add the <code>ArcGISMapImageSublayer</code> to it's list of sublayers. The ArcGISMapImageSublayer points to the shapefile file on disk.
31+
<li>Once ArcGISMapImageLayer is done loading, set ArcGISMapImageSublayer to <code>ArcGISMapImageLayer.getSublayers()</code>. The ArcGISMapImageSublayer points to the shapefile file on disk.</li>
3232
</ol>
3333

3434
<h2>Features</h2>
@@ -39,4 +39,4 @@
3939
<li>LocalServer</li>
4040
<li>ShapefileWorkspace</li>
4141
<li>TableSublayerSource</li>
42-
</ul>
42+
</ul>

0 commit comments

Comments
 (0)