transparentmapboxtilemillmbtiles

How to make mbtiles background transparent?


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


Solution

  • 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.