Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
Employee

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
Employee
Employee

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

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.