Skip to content

Commit 258afe8

Browse files
committed
articles-about-the-spatial-io-module
1 parent 53a9957 commit 258afe8

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ The following video provides an overview of the Spatial IO module in the Azure M
3333
## Supported file formats and prerequisites
3434

3535
You can use file formats that include:
36-
- Keyhole Markup Language (KML).
36+
37+
- Keyhole Markup Language (KML).
3738
- Compressed KML (KMZ).
3839
- GPS Exchange Format (GPX).
39-
- Geographic RSS (GeoRSS).
40+
- Geographic Really Simple Syndication (GeoRSS).
4041
- Geography Markup Language (GML).
4142
- Geographic JavaScript Object Notation (GeoJSON).
4243
- Well-Known Text (WKT).
@@ -49,7 +50,7 @@ Prerequisites include:
4950

5051
## Install the Spatial IO module
5152

52-
You can load the Azure Maps Spatial IO module using one of the following two options:
53+
You can load the Azure Maps Spatial IO module by using one of the following two options:
5354

5455
- 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.
5556

@@ -86,10 +87,10 @@ You can load the Azure Maps Spatial IO module using one of the following two opt
8687

8788
<meta charset="utf-8">
8889

89-
<!-- Ensures that Internet Explorer and Edge use the latest version and don't emulate an older version. -->
90+
<!-- Ensure that Internet Explorer and Edge use the latest version and don't emulate an older version. -->
9091
<meta http-equiv="x-ua-compatible" content="IE=Edge">
9192

92-
<!-- Ensures the web page looks good on all screen sizes. -->
93+
<!-- Ensure that the web page looks good on all screen sizes. -->
9394
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
9495

9596
<!-- Add references to the Azure Maps Map control JavaScript and CSS files. -->
@@ -167,10 +168,10 @@ You can load the Azure Maps Spatial IO module using one of the following two opt
167168

168169
<meta charset="utf-8">
169170

170-
<!-- Ensures that Internet Explorer and Edge use the latest version and don't emulate an older version. -->
171+
<!-- Ensure that Internet Explorer and Edge use the latest version and don't emulate an older version. -->
171172
<meta http-equiv="x-ua-compatible" content="IE=Edge">
172173

173-
<!-- Ensures the web page looks good on all screen sizes. -->
174+
<!-- Ensure that the web page looks good on all screen sizes. -->
174175
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
175176

176177
<!-- Add references to the Azure Maps map control JavaScript and CSS files. -->

articles/azure-maps/spatial-io-add-simple-data-layer.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Add a Simple Data Layer
33
titleSuffix: Microsoft Azure Maps
4-
description: Learn how to add a simple data layer using the Spatial IO module provided by the Azure Maps Web SDK.
4+
description: Learn how to add a simple data layer by using the Spatial IO module provided by the Azure Maps Web SDK.
55
author: sinnypan
66
ms.author: sipa
77
ms.date: 06/19/2023
@@ -19,7 +19,7 @@ The simple data layer achieves this functionality by wrapping multiple rendering
1919

2020
The `SimpleDataLayer` class also provides a built-in popup feature with a popup template (which can be disabled if not needed). The popup appears when a feature is selected. This layer also supports clustered data. When a cluster is selected, the map zooms in to the cluster and expands it into individual points and subclusters.
2121

22-
The `SimpleDataLayer` class is intended to be used on large data sets that contain features that have many applied geometry types and styles. When used, this class adds an overhead of six layers containing style expressions. Therefore, if you only need to render a few geometry types and styles on a feature, it might be more efficient to use a core rendering layer.
22+
The `SimpleDataLayer` class is intended to be used on large data sets that include features with many applied geometry types and styles. When used, this class adds an overhead of six layers containing style expressions. Therefore, if you only need to render a few geometry types and styles on a feature, it might be more efficient to use a core rendering layer.
2323

2424
## Use a simple data layer
2525

@@ -133,7 +133,7 @@ For example, when parsing XML data feeds, you might not know the features' exact
133133
> - All pointer lock functionality, top navigation functionality, scripts, and forms are disabled. Links can open in a new tab when selected.
134134
> - Older browsers that don't support the `srcdoc` parameter on iFrames can only render a small amount of content.
135135
>
136-
> If you trust the data loaded into the pop-ups, and want the popup scripts to be able to access your application, you can disable this feature. Just set the `sandboxContent` option in the popup template to false.
136+
> If you trust the data loaded into the popups, and want the popup scripts to be able to access your application, you can disable this feature. Just set the `sandboxContent` option in the popup template to false.
137137
138138
## Default supported style properties
139139

@@ -209,7 +209,7 @@ If the feature is a `LineString`, `MultiLineString`, `Polygon`, or `MultiPolygon
209209

210210
### Polygon style properties
211211

212-
If the feature is a `Polygon` or a `MultiPolygon`, and the feature either doesn't have a `height` property or the `height` property is zero, the feature is rendered with a `PolygonLayer`.
212+
If the feature is a `Polygon` or a `MultiPolygon`, and the feature either doesn't have a `height` property, or if the `height` property is zero, the feature is rendered with a `PolygonLayer`.
213213

214214
| Layer option | Supported property names | Default value |
215215
|--------------|----------------------------|---------------|

0 commit comments

Comments
 (0)