Forum Discussion
Accessing map extent in ArcGIS visual
Hi all,
I am building a dashboard to access road accident data in the UK. Ideally, I would like the user to be able to zoom into an area in an ArcGIS map embedded in the dashboard and see the accidents and summary statistics in that area. The dataset is very large so I would prefer to access the data via an API on an on-demand basis, ie only load the relevant data. The issue is that the API requires the latitude and longitude of the desired map extent as inputs. Is there a way to access the coordinates of the map extent in an ArcGIS map in Power BI?
Thanks,
Greg
- Anonymous2 years ago
HI greggenna,
Unfortunately, current Power BI does not provide a feature to direct extract the current map extent (latitude and longitude) from an ArcGIS visual embedded in a dashboard. This is because the visual itself is interactive element that does not expose its properties through the interface.
For this scenario, you might consider alternative approaches to achieve a similar result. e.g. you can use other visuals like slicers or filters where users can select a specific region, and then use those selections to filter on your table records to switch the data ranges dynamically. (this approach would require some form of mapping between user selections and the corresponding lat/long values)
Regards,
Xiaoxin Sheng
1 Reply
- AnonymousNot applicable
HI greggenna,
Unfortunately, current Power BI does not provide a feature to direct extract the current map extent (latitude and longitude) from an ArcGIS visual embedded in a dashboard. This is because the visual itself is interactive element that does not expose its properties through the interface.
For this scenario, you might consider alternative approaches to achieve a similar result. e.g. you can use other visuals like slicers or filters where users can select a specific region, and then use those selections to filter on your table records to switch the data ranges dynamically. (this approach would require some form of mapping between user selections and the corresponding lat/long values)
Regards,
Xiaoxin Sheng