Skip to content

Commit 465b83e

Browse files
authored
Merge pull request #112330 from stevemunk/power-bi-visual-add-reference-layer-1
Grammar and end links in article Add a reference layer
2 parents 2dcc20a + 3188e89 commit 465b83e

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed
Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,41 @@
11
---
22
title: Add a reference layer to Azure Maps Power BI visual
3-
titleSuffix: Microsoft Azure Maps
4-
description: In this article, you will learn how to use the reference layer in Azure Maps Power BI visual.
3+
titleSuffix: Microsoft Azure Maps Power BI visual
4+
description: This article describes how to use the reference layer in Azure Maps Power BI visual.
55
author: deniseatmicrosoft
66
ms.author: limingchen
7-
ms.date: 11/29/2021
7+
ms.date: 07/17/2023
88
ms.topic: how-to
99
ms.service: azure-maps
1010
services: azure-maps
1111
---
1212

1313
# Add a reference layer
1414

15-
The reference layer feature lets a secondary spatial dataset be uploaded to the visual and overlaid on the map to provide addition context. This dataset is hosted by Power BI and must be a [GeoJSON file](https://wikipedia.org/wiki/GeoJSON) with a `.json` or `.geojson` file extension.
15+
The reference layer feature lets a secondary spatial dataset be uploaded to the visual and overlaid on the map to provide addition context. Power BI hosts this dataset as a [GeoJSON file] with a `.json` or `.geojson` file extension.
1616

1717
To add a **GeoJSON** file as a reference layer, go to the **Format** pane, expand the **Reference layer** section, and press the **+ Add local file** button.
1818

1919
After a GeoJSON file is added to the reference layer, the name of the file will appear in place of the **+ Add local file** button with an **X** beside it. Press the **X** button to remove the data from the visual and delete the GeoJSON file from Power BI.
2020

21-
The following map is displays [2016 census tracts for Colorado](https://github.com/Azure-Samples/AzureMapsCodeSamples/tree/master/Static/data/geojson), colored by population.
22-
23-
> [!div class="mx-imgBorder"]
24-
> ![A map displaying 2016 census tracts for Colorado, colored by population as a reference layer](media/power-bi-visual/reference-layer-CO-census-tract.png)
21+
The following map displays [2016 census tracts for Colorado], colored by population.
2522

2623
:::image type="content" source="./media/power-bi-visual/reference-layer-CO-census-tract.png" alt-text="A map displaying 2016 census tracts for Colorado, colored by population as a reference layer.":::
2724

2825
The following are all settings in the **Format** pane that are available in the **Reference layer** section.
2926

3027
| Setting | Description |
3128
|----------------------|---------------|
32-
| Reference layer data | The data GeoJSON file to upload to the visual as an additional layer within the map. The **+ Add local file** button opens a file dialog the user can use to select a GeoJSON file that has a `.json` or `.geojson` file extension. |
29+
| Reference layer data | The data GeoJSON file to upload to the visual as another layer within the map. The **+ Add local file** button opens a file dialog the user can use to select a GeoJSON file that has a `.json` or `.geojson` file extension. |
3330

3431
> [!NOTE]
3532
> In this preview of the Azure Maps Power BI visual, the reference layer will only load the first 5,000 shape features to the map. This limit will be increased in a future update.
3633
3734
## Styling data in a reference layer
3835

39-
Properties can be added to each feature within the GeoJSON file to customize how it is styled on the map. This feature uses the simple data layer feature in the Azure Maps Web SDK. For more information, see this document on [supported style properties](spatial-io-add-simple-data-layer.md#default-supported-style-properties). Custom icon images are not supported within the Azure Maps Power BI visual as a security precaution.
36+
Properties can be added to each feature within the GeoJSON file to customize how it's styled on the map. 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.
4037

41-
The following is an example of a GeoJSON point feature that sets its displayed color to red.
38+
The following json is an example of a GeoJSON point feature that sets its displayed color to red.
4239

4340
```json
4441
{
@@ -58,7 +55,13 @@ The following is an example of a GeoJSON point feature that sets its displayed c
5855
Add more context to the map:
5956

6057
> [!div class="nextstepaction"]
61-
> [Add a tile layer](power-bi-visual-add-tile-layer.md)
58+
> [Add a tile layer]
6259
6360
> [!div class="nextstepaction"]
64-
> [Show real-time traffic](power-bi-visual-show-real-time-traffic.md)
61+
> [Show real-time traffic]
62+
63+
[GeoJSON file]: https://wikipedia.org/wiki/GeoJSON
64+
[2016 census tracts for Colorado]: https://github.com/Azure-Samples/AzureMapsCodeSamples/tree/master/Static/data/geojson
65+
[supported style properties]: spatial-io-add-simple-data-layer.md#default-supported-style-properties
66+
[Add a tile layer]: power-bi-visual-add-tile-layer.md
67+
[Show real-time traffic]: power-bi-visual-show-real-time-traffic.md

0 commit comments

Comments
 (0)