Files
leaflet/docs/examples/choropleth/example-basic.md
Vladimir Agafonkin 80279dd98b Lint examples (#7827)
* lint examples

* examples lint fixes

* more lint fixes

* fixes

* final fixes
2021-11-29 16:31:54 +02:00

745 B

layout, title
layout title
tutorial_frame Choropleth Tutorial
<script type="text/javascript" src="us-states.js"></script> <script type="text/javascript"> var map = L.map('map').setView([37.8, -96], 4); var tiles = L.tileLayer('https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw', { maxZoom: 18, attribution: 'Map data © OpenStreetMap contributors, ' + 'Imagery © Mapbox', id: 'mapbox/light-v9', tileSize: 512, zoomOffset: -1 }).addTo(map); /* global statesData */ var geojson = L.geoJson(statesData).addTo(map); </script>