Skip to content

Commit 1519e5a

Browse files
committed
articles-about-the-spatial-io-module
1 parent 525e78a commit 1519e5a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/azure-maps/how-to-use-spatial-io-module.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You can use the robust features in this module to:
2020
- Connect to Open Geospatial Consortium (OGC) services and integrate with Azure Maps Web SDK. You can also overlay Web Map Services (WMS) and Web Map Tile Services (WMTS) as layers on the map. For more information, see [Add a map layer from the Open Geospatial Consortium (OGC)].
2121
- Query data in a Web Feature Service (WFS). For more information, see [Connect to a WFS service].
2222
- Overlay complex data sets that contain style information, which can render automatically. For more information, see [Add a simple data layer].
23-
- Use high-speed XML and delimited file reader and writer classes. For more information, see [Core IO operations].
23+
- Use high-speed Extensible Markup Language (XML) and delimited file reader and writer classes. For more information, see [Core IO operations].
2424

2525
The following video provides an overview of the Spatial IO module in the Azure Maps Web SDK.
2626

@@ -30,7 +30,7 @@ The following video provides an overview of the Spatial IO module in the Azure M
3030
> [!WARNING]
3131
> Only use data and services that are from a source you trust, especially if the data is referenced from another domain. The spatial IO module takes steps to minimize risk, but you should not allow any dangerous data into your application regardless.
3232
33-
## Supported file formats and pre-requisites
33+
## Supported file formats and prerequisites
3434

3535
You can use file formats that include:
3636
- Keyhole Markup Language (KML).
@@ -40,18 +40,18 @@ You can use file formats that include:
4040
- Geography Markup Language (GML).
4141
- Geographic JavaScript Object Notation (GeoJSON).
4242
- Well-Known Text (WKT).
43-
- Comma-Separated Values (CSV) files containing columns that include spatial information.
43+
- Comma-Separated Values (CSV) when columns include spatial information.
4444

4545
Prerequisites include:
4646

47-
- An [Azure Maps account]
48-
- A [subscription key]
47+
- An [Azure Maps account].
48+
- A [subscription key].
4949

5050
## Install the Spatial IO module
5151

5252
You can load the Azure Maps Spatial IO module using one of the following two options:
5353

54-
- You can use the globally hosted Azure Content Delivery Network (CDN) for the Azure Maps Spatial IO module. For this option, you add a reference to the JavaScript in the `<head>` element of the HTML file.
54+
- You can use the globally hosted Azure Content Delivery Network (CDN) for the Azure Maps Spatial IO module. For this option, add a reference to the JavaScript in the `<head>` element of the HTML file.
5555

5656
```html
5757
<script src="https://atlas.microsoft.com/sdk/javascript/spatial/0/atlas-spatial.js"></script>
@@ -136,7 +136,7 @@ You can load the Azure Maps Spatial IO module using one of the following two opt
136136
```
137137

138138
1. Initialize a `datasource`, and add the data source to the map. Initialize a `layer`, and add the data source to the map layer. Then, render both the data source and the layer.
139-
1. Before you scroll down to see the full code in the next step, think about the best places to put the data source and layer code snippets. Wait until the map resources are ready before you programmatically manipulate the map.
139+
1. Before you scroll down to see the full code in the next step, determine the best places to put the data source and layer code snippets. Wait until the map resources are ready before you programmatically manipulate the map.
140140

141141
```javascript
142142
var datasource, layer;
@@ -231,7 +231,7 @@ You can load the Azure Maps Spatial IO module using one of the following two opt
231231
</html>
232232
```
233233

234-
1. Remember to replace `<Your Azure Maps Key>` with your subscription key. Your HTML file should include an image that looks like this.
234+
1. Remember to replace your Azure Maps key with your subscription key. Your HTML file should include an image that looks like this.
235235

236236
:::image type="content" source="./media/how-to-use-spatial-io-module/spatial-data-example.png" lightbox="./media/how-to-use-spatial-io-module/spatial-data-example.png" alt-text="Screenshot showing the Spatial Data sample in a map.":::
237237

0 commit comments

Comments
 (0)