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/power-bi-visual-add-reference-layer.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ Reference layers enable the enhancement of spatial visualizations by overlaying
17
17
-[GeoJSON files] with a `.json` or `.geojson` extension
18
18
-[WKT] (Well-Known Text) files with a `.wkt` extension
19
19
-[KML] (Keyhole Markup Language) files with a `.kml` extension
20
+
-[SHP] (Shapefile) files with a `.shp` extension
20
21
21
22
## Add a spatial dataset as a reference layer
22
23
@@ -29,7 +30,7 @@ To upload a spatial dataset as a reference layer:
29
30
1. Navigate to the **Format** pane.
30
31
1. Expand the **Reference Layer** section.
31
32
1. Select **File Upload** from the **Type** drop-down list.
32
-
1. Select **Browse**. The file selection dialog opens, allowing you to choose a file with a `.json`, `.geojson`, `.wkt`or `.kml` extension.
33
+
1. Select **Browse**. The file selection dialog opens, allowing you to choose a file with a `.json`, `.geojson`, `.wkt`, `.kml`or `.shp` extension.
33
34
34
35
:::image type="content" source="./media/power-bi-visual/reference-layer-upload.png" alt-text="Screenshot showing the reference layers section when uploading a file control.":::
35
36
@@ -42,7 +43,7 @@ To use a hosted spatial dataset as a reference layer:
42
43
1. Navigate to the **Format** pane.
43
44
1. Expand the **Reference Layer** section.
44
45
1. Select **URL** from the **Type** drop-down list.
45
-
1. Select **Enter a URL** and enter a valid URL pointing to your hosted file. Hosted files must be a valid spatial datasets with a `.json`, `.geojson`, `.wkt`or `.kml` extension.
46
+
1. Select **Enter a URL** and enter a valid URL pointing to your hosted file. Hosted files must be a valid spatial dataset with a `.json`, `.geojson`, `.wkt`, `.kml`or `.shp` extension.
46
47
47
48
:::image type="content" source="./media/power-bi-visual/reference-layer-hosted.png" alt-text="Screenshot showing the reference layers section when hosting a file control.":::
48
49
@@ -58,13 +59,13 @@ The following are all settings in the **Format** pane that are available in the
58
59
59
60
| Setting | Description |
60
61
|----------------------|---------------|
61
-
| Reference layer data | The data file to upload to the visual as another layer within the map. Selecting **Browse** shows a list of files with a `.json`, `.geojson`, `.wkt`or `.kml` file extension that can be opened. |
62
+
| Reference layer data | The data file to upload to the visual as another layer within the map. Selecting **Browse** shows a list of files with a `.json`, `.geojson`, `.wkt`, `.kml`or `.shp` file extension that can be opened. |
62
63
63
64
## Styling data in a reference layer
64
65
65
66
Properties can be added to each feature within the GeoJSON file to customize styling. This feature uses the simple data layer feature in the Azure Maps Web SDK. For more information, see this document on [supported style properties]. Custom icon images aren't supported within the Azure Maps Power BI visual as a security precaution.
66
67
67
-
The following are examples showing how to set a point features `color` property to red.
68
+
The following are examples showing how to set a point features `color` property to `red`.
0 commit comments