13 lines
531 B
HTML
13 lines
531 B
HTML
---
|
|
layout: example.html
|
|
title: Semi-Transparent Layer
|
|
shortdesc: Example of a map with a semi-transparent layer.
|
|
docs: >
|
|
This example will display a tiled MaxBox layer semi-transparently over an OSM background. The OSM layer is changed to black and white by using a CSS filter.
|
|
tags: "transparent, osm, tilejson, css"
|
|
cloak:
|
|
- key: pk.eyJ1IjoiYWhvY2V2YXIiLCJhIjoiY2t0cGdwMHVnMGdlbzMxbDhwazBic2xrNSJ9.WbcTL9uj8JPAsnT9mgb7oQ
|
|
value: Your Mapbox access token from https://mapbox.com/ here
|
|
---
|
|
<div id="map" class="map"></div>
|