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: powerapps-docs/maker/canvas-apps/geospatial-component-map.md
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,6 @@ For example, if you had a table collection named **Locations** with **Name**, **
53
53
| Litware, Inc. (sample) | -96.85572 | 32.55253 |
54
54
| Adventure Works (sample) | -96.99952 | 32.72058 |
55
55
56
-
57
56
To display these as labeled pins on the map:
58
57
59
58
1. Set the **Items** property to Locations
@@ -67,6 +66,11 @@ To display these as labeled pins on the map:
67
66
68
67
You can see how to do [display pins from an Excel sheet](geospatial-map-excel.md) or [build an app](how-to/mobile-apps-address-map.md) that uses the address input control to populate pins on the map control as additional examples.
69
68
69
+
>[!NOTE]
70
+
> Each map control can display up to 5000 pins from latitude or longitude and 50 pins from addresses. The pin limit is lower for addresses as the map needs to geocode these addresses into latitude or longitude to display them. We recommend not using addresses where possible. You can [save geocoded addresses back to your data source](geospatial-map-excel.md#save-geocoded-addresses-from-map-control-to-data-source).
71
+
>
72
+
> When both latitude or longitude and an address is given for a single pin, the map control will prioritize using the latitude or longitude to avoid geocoding the address.
73
+
70
74
## Properties
71
75
72
76
Change a map's behavior and appearance using properties. Some properties are only available on the **Advanced** tab.
@@ -123,7 +127,7 @@ The map control has six different types of properties:
123
127
124
128
| Property | Description | Type | Tab |
125
129
| - | - | - | - |
126
-
| Locations(Items) | Identifies a [data source](./geospatial-map-excel.md) (**Items**) in the form of a table from which to get locations to show on the map. The table lists sets of longitudes and latitudes, or physical addresses, to display as pins. The table can be a collection or from a data source like Excel Online. Each row must have an entry for label, longitude, and latitude, or a physical address, and optionally the pin color and icon. | Not applicable | Properties; Advanced: **Items**|
130
+
| Locations(Items) | Identifies a [data source](./geospatial-map-excel.md) (**Items**) in the form of a table from which to get locations to show on the map. The table lists sets of longitudes and latitudes, or physical addresses, to display as pins. Using latitude or longitude is recommended as addresses need to be geocoded and so have a more restrictive pin limit. The table can be a collection or from a data source like Excel Online. Each row must have an entry for label, longitude, and latitude, or a physical address, and optionally the pin color and icon. | Not applicable | Properties; Advanced: **Items**|
127
131
| ItemsLabels | Identifies the column in **Items** that contains the labels for the pins. | ColumnName | Advanced |
128
132
| ItemsLatitudes | Identifies the column in **Items** that contains the latitude position of the pins. | ColumnName | Advanced |
129
133
| ItemsLongitudes | Identifies the column in **Items** that contains the longitude position of the pins. | ColumnName | Advanced |

100
100
101
101
>[!NOTE]
102
-
> Each map control has a pin limitation of 5000 pins where it prioritizes latitude and longitude columns over the address column. Within the 5000 pin limitation, up to 50 addresses can be geocoded for each map control. Therefore, for pins with both latitude / longitude and an address bound, the map control will prioritize using the latitude / longitude to avoid geocoding the address.
102
+
> Each map control can display up to 5000 pins from latitude or longitude and 50 pins from addresses. The pin limit is lower for addresses as the map needs to geocode these addresses into latitude or longitude to display them. We recommend not using addresses where possible. You can [save geocoded addresses back to your data source](geospatial-map-excel.md#save-geocoded-addresses-from-map-control-to-data-source).
103
+
>
104
+
> When both latitude or longitude and an address is given for a single pin, the map control will prioritize using the latitude or longitude to avoid geocoding the address.
103
105
104
106
## Save geocoded addresses from map control to data source
0 commit comments