D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
jmasselink
Full window
Github gist
osm-liberty
Built with
blockbuilder.org
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Klokantech Basic Preview</title> <link rel="stylesheet" type="text/css" href="https://api.mapbox.com/mapbox-gl-js/v0.44.0/mapbox-gl.css" /> <script src="https://api.mapbox.com/mapbox-gl-js/v0.44.0/mapbox-gl.js"></script> <style> body { margin:0; padding:0; } #map { position:absolute; top:0; bottom:0; width:100%; } </style> </head> <body> <div id='map'></div> <script> var map = new mapboxgl.Map({ container: 'map', style: 'osm-liberty.json', attributionControl: true, hash: true }); map.addControl(new mapboxgl.NavigationControl()); </script> </body> </html>
https://api.mapbox.com/mapbox-gl-js/v0.44.0/mapbox-gl.js