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
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:
53
54
54
55
- 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.
55
56
@@ -86,10 +87,10 @@ You can load the Azure Maps Spatial IO module using one of the following two opt
86
87
87
88
<metacharset="utf-8">
88
89
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. -->
Copy file name to clipboardExpand all lines: articles/azure-maps/spatial-io-add-simple-data-layer.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Add a Simple Data Layer
3
3
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.
5
5
author: sinnypan
6
6
ms.author: sipa
7
7
ms.date: 06/19/2023
@@ -19,7 +19,7 @@ The simple data layer achieves this functionality by wrapping multiple rendering
19
19
20
20
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.
21
21
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.
23
23
24
24
## Use a simple data layer
25
25
@@ -133,7 +133,7 @@ For example, when parsing XML data feeds, you might not know the features' exact
133
133
> - All pointer lock functionality, top navigation functionality, scripts, and forms are disabled. Links can open in a new tab when selected.
134
134
> - Older browsers that don't support the `srcdoc` parameter on iFrames can only render a small amount of content.
135
135
>
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.
137
137
138
138
## Default supported style properties
139
139
@@ -209,7 +209,7 @@ If the feature is a `LineString`, `MultiLineString`, `Polygon`, or `MultiPolygon
209
209
210
210
### Polygon style properties
211
211
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`.
0 commit comments