Skip to content

Instantly share code, notes, and snippets.

@frankrowe
Last active November 8, 2017 17:01
Show Gist options
  • Save frankrowe/5fdac4abc7f812978e2565899bd11eaa to your computer and use it in GitHub Desktop.
Save frankrowe/5fdac4abc7f812978e2565899bd11eaa to your computer and use it in GitHub Desktop.
{
"version": 8,
"sources": {
"osm": {
"type": "vector",
"tiles": ["https://chopper.boundlessgeo.io/tiles/{z}/{x}/{y}"]
}
},
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "#41afa5"
}
}, {
"id": "water",
"type": "fill",
"source": "osm",
"source-layer": "water",
"filter": ["==", "$type", "Polygon"],
"paint": {
"fill-color": "#3887be"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment