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

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top