Sha256: c272924a8042c20218adb9976df453f5d2b52eb9887098ce0daf6c9d0ccd3403
Contents?: true
Size: 725 Bytes
Versions: 3
Compression:
Stored size: 725 Bytes
Contents
--- layout: tutorial_frame title: 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); L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw', { maxZoom: 18, attribution: 'Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, ' + '<a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, ' + 'Imagery © <a href="http://mapbox.com">Mapbox</a>', id: 'mapbox.light' }).addTo(map); var geojson = L.geoJson(statesData).addTo(map); </script>
Version data entries
3 entries across 3 versions & 1 rubygems