cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jbiundo
New Member

Is there a way to limit a filled map to a single state?

I've created a filled map that shows county level data for a single US state. However, the web link open the map centered on the world, and it's very cumbersome to zoom back in to the state level, especially on a mobile device. Is there a way to limit the map to a single state or at least a specified geographic area? 

 

I was initially trying to build it as a chorpleth map, but I couldn't seem to get the web link to the json file to work. I was trying to use this file: 

https://github.com/deldersveld/topojson/blob/master/countries/us-states/TX-48-texas-counties.json

 

Thanks for any help!

1 ACCEPTED SOLUTION
v-ljerr-msft
Microsoft
Microsoft

Hi @jbiundo,


I was initially trying to build it as a chorpleth map, but I couldn't seem to get the web link to the json file to work. I was trying to use this file: 

https://github.com/deldersveld/topojson/blob/master/countries/us-states/TX-48-texas-counties.json


Using the Shape Map could be good solution in your scenario. 

 

In order to add the TX-48-texas-counties.json file to your Shape Map, you'll need to download the file(here), then add it locally, instead of using the web link. Smiley Happy

 

shapmap.PNG

 

Regards

View solution in original post

3 REPLIES 3
v-ljerr-msft
Microsoft
Microsoft

Hi @jbiundo,


I was initially trying to build it as a chorpleth map, but I couldn't seem to get the web link to the json file to work. I was trying to use this file: 

https://github.com/deldersveld/topojson/blob/master/countries/us-states/TX-48-texas-counties.json


Using the Shape Map could be good solution in your scenario. 

 

In order to add the TX-48-texas-counties.json file to your Shape Map, you'll need to download the file(here), then add it locally, instead of using the web link. Smiley Happy

 

shapmap.PNG

 

Regards

View solution in original post

mow700
Resolver I
Resolver I

Sort of, you can set the Auto Zoom property of the Map Controls section to off.  This allows the author to set the map view, but it doesn't change unless the user interacts with the controls.

 

snip_20171019184759.png

 

 

 

jbiundo
New Member

I've created a filled map with county level data for a single US state. However, the web link opens to the world map, and it's very cumbersome zooming into the state level, especially on a mobile device. Is there a way to limit the map so it only shows a single state or at least a specified geographic area and won't zoom out beyond that? 

 

I was initially trying to create the map as a choropleth but could not get the web link to the json file to work. I was using this path: https://github.com/deldersveld/topojson/blob/master/countries/us-states/TX-48-texas-counties.json

 

Thanks for any help! 

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors