2

I am using tilemill to generate mbtiles. Does anybody know how to make mbtiles background transparent?

prab
  • 290
  • 1
  • 12

1 Answers1

7

Your default style will have a rule like

Map {
  background-color:#f00;
}

This gives the map a background color. Delete that rule, and the map will not have a background color, and will thus be transparent behind your features.

tmcw
  • 11,536
  • 3
  • 36
  • 45
  • I did this, but then some land also gets transparent (for example the Sahara). Is there is a selector for all land? I am not able to find one. My aim is to only have the water transparent. – Christoph May 13 '15 at 09:03