|
| 1 | +--- |
| 2 | +title: Contextual on-object interaction with Azure Maps Power BI visuals (preview) |
| 3 | +titleSuffix: Azure Maps |
| 4 | +description: How to format elements by selecting the element directly on the map to bring up the available formatting options. |
| 5 | +author: eriklindeman |
| 6 | +ms.author: eriklind |
| 7 | +ms.date: 03/13/2023 |
| 8 | +ms.topic: how-to |
| 9 | +ms.service: azure-maps |
| 10 | +services: azure-maps |
| 11 | +--- |
| 12 | + |
| 13 | +# Contextual on-object interaction with Azure Maps Power BI Visual (preview) |
| 14 | + |
| 15 | +The Azure Maps Power BI Visual now features on-object interaction, an |
| 16 | +intuitive and efficient way to update the formatting of any element on the map. |
| 17 | +With on-object interaction, you can interact with the Azure Maps Power BI |
| 18 | +Visual like you interact with other Microsoft products or web applications. |
| 19 | + |
| 20 | +## Setting the Preview features option |
| 21 | + |
| 22 | +To use on-object interaction in your Power BI Visual, you must first select the **on-object interaction** setting in Power BI options, as shown in the following screenshot. |
| 23 | + |
| 24 | +:::image type="content" source="./media/power-bi-visual/on-object-interaction/on-object-interaction-setting.png" alt-text="A screenshot showing on-object interaction setting in Power BI." lightbox="./media/power-bi-visual/on-object-interaction/on-object-interaction-setting.png"::: |
| 25 | + |
| 26 | +## using on-object interaction in your Power BI Visual |
| 27 | + |
| 28 | +on-object interaction can be used to edit chart titles, legends, bubble |
| 29 | +layers, Map style and Map controls. |
| 30 | + |
| 31 | +### Formatting objects on the map |
| 32 | + |
| 33 | +A context sensitive menu appears when you right-click an object in the map, |
| 34 | +with formatting options for that object, which eliminates the need to search for |
| 35 | +the correct setting in the **Format** pane. |
| 36 | + |
| 37 | +To exit edit mode, select the **Esc** key or select anywhere on |
| 38 | +the canvas outside of the Azure Maps Visual. |
| 39 | + |
| 40 | +:::image type="content" source="./media/power-bi-visual/on-object-interaction/format-menu.png" alt-text="A screenshot showing the format option in a context menu in Power BI." lightbox="./media/power-bi-visual/on-object-interaction/format-menu.png"::: |
| 41 | + |
| 42 | +### Edit a chart tile or legend |
| 43 | + |
| 44 | +To edit chart tile or legend, you can right-click on the text to edit |
| 45 | +title or font style/size. |
| 46 | + |
| 47 | +:::image type="content" source="./media/power-bi-visual/on-object-interaction/legend-title.png" alt-text="A screenshot showing in-place formatting of a chart or legend title in Power BI." lightbox="./media/power-bi-visual/on-object-interaction/legend-title.png"::: |
| 48 | + |
| 49 | +### The format pane |
| 50 | + |
| 51 | +While you're using on-object interaction, the format pane is expanded, and the corresponding card appears to enable a review of the completed settings. |
| 52 | + |
| 53 | +:::image type="content" source="./media/power-bi-visual/on-object-interaction/format-pane-expanded.png" alt-text="A screenshot showing in-place formatting of a chart or legend title with the format pane expanded in Power BI." lightbox="./media/power-bi-visual/on-object-interaction/format-pane-expanded.png"::: |
| 54 | + |
| 55 | +You may also use on-object interaction on the bubble layer. By selecting |
| 56 | +bubbles, you can set bubble layer's position or its formatting such as |
| 57 | +size or color. |
| 58 | + |
| 59 | +:::image type="content" source="./media/power-bi-visual/on-object-interaction/bubble-layer.png" alt-text="A screenshot showing in-place formatting in the bubble layer." lightbox="./media/power-bi-visual/on-object-interaction/bubble-layer.png"::: |
| 60 | + |
| 61 | +### Select Map styles |
| 62 | + |
| 63 | +You can also select the map background to bring up a context menu showing all available map styles such as road, satellite, hybrid etc. |
| 64 | + |
| 65 | +:::image type="content" source="./media/power-bi-visual/on-object-interaction/map-style-menu.png" alt-text="A screenshot showing the map style popup menu."::: |
| 66 | + |
| 67 | +On-object interaction applies to the Map control as well. |
| 68 | + |
| 69 | +:::image type="content" source="./media/power-bi-visual/on-object-interaction/map-control.png" alt-text="A screenshot showing the map control."::: |
| 70 | + |
| 71 | +The on-object interaction feature available in Azure Maps Visual is a |
| 72 | +user-friendly and innovative method for adjusting map settings. |
| 73 | +Additionally, other Power BI Visuals also offer on-object interaction |
| 74 | +capabilities, providing users with efficient tools to personalize their |
| 75 | +Power BI reports. |
| 76 | + |
| 77 | +## Next steps |
| 78 | + |
| 79 | +Change how your data is displayed on the map: |
| 80 | + |
| 81 | +> [!div class="nextstepaction"] |
| 82 | +> [Add a bubble layer](power-bi-visual-add-bubble-layer.md) |
0 commit comments