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-input-address.md
+36Lines changed: 36 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,42 @@ With an app open for editing in [Power Apps Studio](https://create.powerapps.com
48
48
49
49
You can modify the component by using a number of properties.
50
50
51
+
### Set a default search radius
52
+
53
+
By default, the component will search around the user's ___location (providing the user has consented for the app to access their ___location). However, you can refine the default search area to help narrow or change initial results when users input an address.
54
+
55
+
1. On the **Properties** pane, set the **Search within radius** switch to **On**.
56
+
57
+
1. Enter a longitude, latitude, and radius (in meters).
58
+
59
+
The component will start searching at the latitude and longitude, out to the distance specified in the radius field.
60
+
61
+
### Use the map component with the input address component
62
+
63
+
You can save addresses that a user inputs into the address component as a data collection. You can then retrieve these addresses and display them in the map component.
64
+
65
+
1. App the map component and the input address component to your app.
66
+
2. On the **Insert** menu, select **Button** and move it into your app.
67
+
3. Go to the **Advanced** tab on the **Properties** pane. Under **OnSelect**, enter the following:
Copy file name to clipboardExpand all lines: powerapps-docs/maker/canvas-apps/geospatial-component-map.md
+71Lines changed: 71 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,77 @@ With an app open for editing in the [Power Apps studio](https://create.powerapps
50
50
51
51
You can modify the component by using a number of properties.
52
52
53
+
### Use the map component with data from Excel
54
+
55
+
You can load a table that contains existing data from an Excel workbook into the map component. The component will then plot each row in your table as a map pin.
56
+
57
+
Your workbook needs to contain a named table with the following columns that should then be mapped to the associated property in the component's **Advanced** pane.
58
+
59
+
Column description | Maps to property
60
+
-- | --
61
+
Label for the pin | ItemsLabels
62
+
Longitude of the pin | ItemsLongitudes
63
+
Latitude of the pin | ItemsLattitudes
64
+
65
+
You can also use a string to denote the address, in which case ItemsLongitudes and ItemsLatitudes won't work.
66
+
67
+
68
+
The following is an example of an Excel table with the required columns:
69
+
70
+

71
+
72
+
You can copy the following sample data to test this functionality:
73
+
74
+
Name | Longitude | Latitude
75
+
-- | -- | --
76
+
Fourth Coffee (sample) | -98.29277 | 26.2774
77
+
Litware, Inc. (sample) | -96.85572 | 32.55253
78
+
Adventure Works (sample) | -96.99952 | 32.72058
79
+
Fabrikam, Inc. (sample) | -118.30746 | 34.86543
80
+
Blue Yonder Airlines (sample) | -118.66184 | 34.17553
81
+
City Power & Light (sample) | -113.46184 | 37.15363
0 commit comments