Domanda

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

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top