1 of 1 people found this helpful
Do you have the map background washed out 100%? If that's the case, Mapbox wouldn't be any different than the Tableau background maps.
Mapbox will let you style the maps any way that you want. Here is an example using the Regional sample on a Mapbox high contrast map.
However, if the background is washed, you are going to get the same holes you get with the Tableau background.
Here is a low-tech hack if all you want to see is the county polyons instead of the holes when your background is washed out/filtered.
Turn on the Tableau light background. Uncheck all the map Layers. Turn on a data layer. I chose the population data layer by county and a gray color scheme. The gray stuff doesn't give you any tooltips, but you at least keep the county polygons in the map.
1 of 1 people found this helpful
For the past two or three weeks, I have been working on using Mapbox to plot county lines and county names. This sounds very much like what you are attempting. The learning curve is pretty steep. After much effort, I have been successful, and am now working on a document to help others like you. If you can wait long enough for me to finish that document (perhaps a week or so), I think it will make your life a lot easier.
I do have washout set to 100%, in the spirit of having a simple, clean viz. And to show HI and AK I use separate sheets and float them to the bottom left of the map. This makes 100% washout critical; otherwise, you have some very inelegant boxes around HI and AK because you can't get their backgrounds to blend in with the Mexican geography.
> The gray stuff doesn't give you any tooltips, but you at least keep the county polygons in the map.
You keep some county polygons, but some vanish (e.g., most of Oregon is missing due to the low population density in those adjacent counties). Much of the midwest would vanish, too, if you didn't have data for that area.
Great to hear. I look forward to it.
I might suggest integrating this feature out of the box on the Tableau idea list. I have to assume it's a widespread problem. The problem exists even for a simple US state map (no counties at all). If you want to show a US state map but have data only for some states (or you have data for all states, but want to allow the user to filter on some variable), it shouldn't require a complicated hack to preserve the state boundaries when data for a given state doesn't exist or is filtered out.
I am continuing to work on the document about using Mapbox. I apologize for the delay.
However, in doing so, and in testing various options and usage, I am having doubts that this will solve the problem you are encountering. If there is no data to plot, Mapbox backgrounds also vanish the same way the default background does. I created an idea which you may want to vote-up: Allow option for background map to remain on maps with no data
I completed my Mapbox documents and published them. It is a three part series, beginning with Creating a Tableau map with Satellite image background - Part 1.
However, as I indicated in the last message, I don't know if it will solve your problem.
Great work on this tutorial. It's true that it doesn't solve the original problem, but I do hope it helps others with some tricky mapping needs.