1 | ---
|
2 | layout: example.html
|
3 | title: Attributions
|
4 | shortdesc: Example of a attributions visibily change on map resize, to collapse them on small maps.
|
5 | docs: >
|
6 | When the map gets too small because of a resize, the attribution will be collapsed.
|
7 | This is because the <code>collapsible</code> option is set to true if the width
|
8 | of the map gets smaller than 600 pixels.
|
9 | tags: "attributions, openstreetmap"
|
10 | ---
|
11 | <div id="map" class="map"></div>
|