Skip to content

Commit fb7ef74

Browse files
authored
Merge pull request #3795 from MicrosoftDocs/iawilt-pin-cards
PMR - add card info
2 parents 5313de4 + 831fea4 commit fb7ef74

File tree

4 files changed

+27
-0
lines changed

4 files changed

+27
-0
lines changed

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,33 @@ Coho Winery (sample) | -116.97751 | 32.87466 | |
133133

134134

135135

136+
137+
### Add informational cards to pins
138+
139+
You can add informational cards to each pin on the map.
140+
141+
When a user selects the pin (either by hovering over it or selecting it directly), a small card will pop-up with information taken from the dataset you bound to the component, as described in the section [Use the map component with data from Excel](#use-the-map-component-with-data-from-excel).
142+
143+
Any column you add to the table in the data source (for example, the Excel table) will be available as a field to show on the card.
144+
145+
**To add informational cards to pins:**
146+
147+
1. First, insert the map component and bind a dataset to it as described in [Use the map component with data from Excel](#use-the-map-component-with-data-from-excel).
148+
149+
2. In the **Properties** pane, select **Show info cards** and choose whether they should appear when a user hovers over the pin, or if the user has to select the pin.
150+
151+
:::image type="content" source="media/geospatial/map-info-card-type.png" alt-text="Screenshot of the properties pane showing the drop-down selection menu to show the cards on hover or on click.":::
152+
153+
3. In the **Properties** pane, next to **Fields**, select **Edit**.
154+
155+
4. Select **Add field**, and then select each of the fields you want to show in the card. Select **Add**.
156+
157+
:::image type="content" source="media/geospatial/map-choose-fields.png" alt-text="Screenshot showing the field selection options.":::
158+
159+
5. Each pin will now show the fields associated with that pin in an informational card.
160+
161+
:::image type="content" source="media/geospatial/map-info-card-example.png" alt-text="Screenshot of the map component with an info card on top of a pin, showing information such as Name, Occupancy, and Phone.":::
162+
136163
### Properties
137164

138165
The following properties can be defined and configured in the component's **Properties** pane.
Loading
Loading
Loading

0 commit comments

Comments
 (0)