prab
prab

Reputation: 280

How to make mbtiles background transparent?

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

Upvotes: 2

Views: 2451

Answers (1)

tmcw
tmcw

Reputation: 11882

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.

Upvotes: 7

Related Questions