Вопрос

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