1

I've tried to put a transparent background, but then, the seas are transparent too, and i don't want that. I just want transparent land, and blue seas ...

0

1 . download shape of oceans there (mercator) http://openstreetmapdata.com/data/water-polygons

2 . adjust project.yaml

- id: "oceans"
    name: "oceans"
    class: ""
    geometry: "polygon"
    <<: *extents
    Datasource:
      file: "data/water-polygons-split-3857/water_polygons.shp"
      type: "shape"
    advanced: {}

3 . adjust shapefile.mms

#oceans {
  [zoom >= 0][zoom < 20]{
    polygon-fill: @water-color;
  }
}

4 . generatetiles

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.