Skip to content

Instantly share code, notes, and snippets.

@Tysonpower
Created November 7, 2022 22:20
Show Gist options
  • Save Tysonpower/d094c18bf951b46b33234f70f2f910b8 to your computer and use it in GitHub Desktop.
Save Tysonpower/d094c18bf951b46b33234f70f2f910b8 to your computer and use it in GitHub Desktop.
mapbox style example watercolor
{
'version': 8,
'sources': {
'raster-tiles': {
'type': 'raster',
'tiles': [
'https://stamen-tiles.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.jpg'
],
'tileSize': 256,
'attribution':
'Map tiles by <a target="_top" rel="noopener" href="http://stamen.com">Stamen Design</a>, under <a target="_top" rel="noopener" href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a target="_top" rel="noopener" href="http://openstreetmap.org">OpenStreetMap</a>, under <a target="_top" rel="noopener" href="http://creativecommons.org/licenses/by-sa/3.0">CC BY SA</a>'
}
},
'layers': [
{
'id': 'simple-tiles',
'type': 'raster',
'source': 'raster-tiles',
'minzoom': 0,
'maxzoom': 22
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment