You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-maps/how-to-use-spatial-io-module.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ You can use the robust features in this module to:
20
20
- 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)].
21
21
- Query data in a Web Feature Service (WFS). For more information, see [Connect to a WFS service].
22
22
- 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].
24
24
25
25
The following video provides an overview of the Spatial IO module in the Azure Maps Web SDK.
26
26
@@ -30,7 +30,7 @@ The following video provides an overview of the Spatial IO module in the Azure M
30
30
> [!WARNING]
31
31
> 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.
32
32
33
-
## Supported file formats and pre-requisites
33
+
## Supported file formats and prerequisites
34
34
35
35
You can use file formats that include:
36
36
- Keyhole Markup Language (KML).
@@ -40,18 +40,18 @@ You can use file formats that include:
- Comma-Separated Values (CSV) files containing columns that include spatial information.
43
+
- Comma-Separated Values (CSV) when columns include spatial information.
44
44
45
45
Prerequisites include:
46
46
47
-
- An [Azure Maps account]
48
-
- A [subscription key]
47
+
- An [Azure Maps account].
48
+
- A [subscription key].
49
49
50
50
## Install the Spatial IO module
51
51
52
52
You can load the Azure Maps Spatial IO module using one of the following two options:
53
53
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.
@@ -136,7 +136,7 @@ You can load the Azure Maps Spatial IO module using one of the following two opt
136
136
```
137
137
138
138
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.
140
140
141
141
```javascript
142
142
var datasource, layer;
@@ -231,7 +231,7 @@ You can load the Azure Maps Spatial IO module using one of the following two opt
231
231
</html>
232
232
```
233
233
234
-
1. Remember to replace `<YourAzureMapsKey>` 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.
235
235
236
236
:::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.":::
0 commit comments