Skip to content

Commit e854c46

Browse files
author
Iaan D'Souza-Wiltshire
committed
fixes
1 parent d610275 commit e854c46

File tree

2 files changed

+16
-17
lines changed

2 files changed

+16
-17
lines changed

powerapps-docs/maker/canvas-apps/geospatial-component-map.md

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
2-
title:
3-
description:
2+
title: Insert interactive maps into apps
3+
description: Insert maps, and add customized pins, in PowerApps.
44
author: iaanw
55
manager: shellha
66
ms.service: powerapps
77
ms.topic: conceptual
88
ms.custom: canvas
99
ms.reviewer: tapanm
10-
ms.date: 7/7/2020
10+
ms.date: 11/10/2020
1111
ms.author: iawilt
1212
search.audienceType:
1313
- maker
@@ -60,16 +60,17 @@ Column description | Maps to property | Required
6060
-- | -- | --
6161
Label for the pin | ItemsLabels | Required
6262
Longitude of the pin | ItemsLongitudes | Required
63-
Latitude of the pin | ItemsLattitudes | Required
63+
Latitude of the pin | ItemsLatitudes | Required
6464
Color of the pin | ItemsColors | Optional
6565
Icon for the pin | ItemsIcons | Optional
6666

67-
You can also use a string to denote the address in ItemsAddresses, in which case ItemsLongitudes and ItemsLatitudes won't work.
67+
6868

6969
The color field accepts any CSS string, as defined in [Color enumeration and ColorFade, ColorValue, and RGBA functions in Power Apps](./functions/function-colors).
7070

7171
You can use the icons described in the [List of image templates](/azure/azure-maps/how-to-use-image-templates-web-sdk#list-of-image-templates) topic as your icon.
7272

73+
7374
The following is an example of an Excel table with the required columns:
7475

7576

@@ -97,11 +98,11 @@ Coho Winery (sample) | -116.97751 | 32.87466 | |
9798

9899
1. Select one of the cells, and then on the Home tab in the ribbon, select **Format as Table** and choose any style, and then **OK**.
99100

100-
![](./media/geospatial/convert-table.png)
101+
![Screenshot highlighting the format as table option in Excel](./media/geospatial/convert-table.png)
101102

102103
1. Select the table, and then go to the **Table Design** tab on the ribbon. Enter a name for the table under **Table Name:**, for example *TestData*.
103104

104-
![](./media/geospatial/table-name.png)
105+
![Screenshot highlighting the table name in Excel](./media/geospatial/table-name.png)
105106

106107
1. Save the workbook.
107108

@@ -114,7 +115,7 @@ Coho Winery (sample) | -116.97751 | 32.87466 | |
114115

115116
1. Locate the Excel workbook and then select **Open**. Select the table that contains the information, **TestData**, and then **Connect**.
116117

117-
![](./media/geospatial/select-table.png)
118+
![Screenshot of the table selection panel](./media/geospatial/select-table.png)
118119

119120
1. On the **Properties** pane, go to the **Advanced** tab, and select **More options**.
120121

@@ -128,12 +129,8 @@ Coho Winery (sample) | -116.97751 | 32.87466 | |
128129

129130
1. The map component will now show each row in the table as a pin, labeled with its *Name* as defined in the Excel table, and using the provided icons and colors. If an icon or color isn't provided, then the component will use the default icon and color.
130131

131-
![](./media/geospatial/map-expanded.png)
132-
133-
![A screenshot of the map component with custom icons and different colors ](./media/geospatial/geospatial-custom-pins-display.png)
132+
![A screenshot of the map component with custom icons and different colors ](./media/geospatial/pins-map.png)
134133

135-
>[!TIP]
136-
>You can assign the same custom icon to all pins. For the **ItemsIcons** field in the Advanced Properties pane, enter the icon you want to use. For example, set **ItemsIcons** to *MarkerSquare*.
137134

138135

139136

@@ -161,10 +158,12 @@ Some properties are only available on the **Advanced** tab in the **Properties**
161158
| Pin color | The color of the pins. | Color picker | Properties |
162159
| Maximum map pins | Maximum number of pins displayed on the map. | Integer | Properties |
163160
| ItemsLabels | A column in Items with the strings you want to use as labels for the pins. | TableName.ColumnName | Advanced |
164-
| ItemsAddresses | A column in Items with the strings that represent the ___location of the pins. Doesn't work with **ItemsLongitudes** or **ItemsLatitudes**. | TableName.ColumnName | Advanced |
165-
| ItemsLongitudes | Name of the column in the table in your data source with floating-point numbers that represent the longitude position of the pins. Doesn't work with **ItemsAddresses**. | TableName.ColumnName | Advanced |
166-
| ItemsLatitudes | Name of the column in the table in your data source with floating-point numbers that represent the latitude position of the pins. Doesn't work with **ItemsAddresses**. | TableName.ColumnName | Advanced |
167-
| Items_Items | Name of the table in your data source that contains all the records that you want to plot in the map by using pins. Each row must have an entry for the label, longitude, and latitude for each row. | TableName | Advanced |
161+
| ItemsAddresses | A column in Items with the strings that represent the ___location of the pins. | TableName.ColumnName | Advanced |
162+
| ItemsLongitudes | Name of the column in the table in your data source with floating-point numbers that represent the longitude position of the pins. | TableName.ColumnName | Advanced |
163+
| ItemsLatitudes | Name of the column in the table in your data source with floating-point numbers that represent the latitude position of the pins. | TableName.ColumnName | Advanced |
164+
| ItemsColors | Color of the pins | [Any CSS color string](./functions/function-colors) | Advanced |
165+
| ItemsIcons | Icon of the pins | [Icons defined in Azure image templates](/azure/azure-maps/how-to-use-image-templates-web-sdk#list-of-image-templates) | Advanced |
166+
| Items | Name of the table in your data source that contains all the records that you want to plot in the map by using pins. Each row must have an entry for the label, longitude, and latitude for each row. | TableName | Advanced |
168167

169168
### Additional properties
170169

212 KB
Loading

0 commit comments

Comments
 (0)