Files
leaflet/docs/examples/accessibility/example.md
Florian Bischof 20654cd159 Replace Mapbox with OpenStreetMap (#7818)
* Replace Mapbox with OpenStreetMap

Replace Mapbox with OpenStreetMap

* Revert Gemfile

* Replace blanks with tabs

* Fix lint

* Replace Mapbox with OSM

* Add OSM Tile Usage Policy link

* typo: productive→production

Co-authored-by: Iván Sánchez Ortega <ivan@sanchezortega.es>
2022-05-27 11:33:15 +03:00

470 B

layout, title
layout title
tutorial_frame Accessible markers
<script> var map = L.map('map').setView([50.4501, 30.5234], 4); var tiles = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 19, attribution: '© OpenStreetMap' }).addTo(map); var marker = L.marker([50.4501, 30.5234], {alt: 'Kyiv'}).addTo(map) .bindPopup('Kyiv, Ukraine is the birthplace of Leaflet!'); </script>