Forum Discussion
Generating Lat/Lon Points on Map
Hi,
I have a request from a stakeholder to be able to draw a box on a map and have the lat/lon points show up as tooltips on the corners. Does anyone know of anything that can do this? Is there a cusotm visual perhaps?
5 Replies
- AtcerpNew Member
To draw a box on a map visual in Power BI and have the latitude and longitude points show up as tooltips on the corners, you can use the built-in "Area" selection tool in Power BI. Here's how to do this:
Open your Power BI report and select the map visual that you want to use.
In the Visualizations pane, click the "Area" selection tool. This will allow you to draw a box on the map.
Click and drag on the map to draw a box around the area you want to highlight.
Once the box is drawn, you should see the latitude and longitude points for the corners of the box in the tooltips.
You can customize the appearance of the box and the tooltips by using the formatting options in the Visualizations pane.
Cheers!
- kewaynes
Helper IV
Hi Atcerp. Thanks for the reply. Would you mind sharing screenshots? I'm having trouble finding the "Area" selection tool.
- amitchandak
Super User
kewaynes , check if tooltop page can help
Power BI Tooltip Page: How to pass selective values to the tooltip page: https://www.youtube.com/watch?v=lEq7YtkxeLU
- v-yueyunzh-msft
Community Support
Hi , kewaynes
According to your description, do you mean you want to add a box to show the filtered loctaion's Lat and Lon?
If this , you can add a "Mul-ti row card" visual and put two measures on this visual:
Lat value = SELECTEDVALUE('Table 1'[Lat])Lon value = SELECTEDVALUE('Table 1'[Lon])Then we can group two visuals and make the card visual above the map visual , like this:
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
- kewaynes
Helper IV
Hi Aniya,
Thanks for the response. What I'm looking to do is to be able to hover over any part of the map and see the lat/lon for that position.