Skip to content

Instantly share code, notes, and snippets.

@brightrain
Last active November 4, 2016 03:59

Revisions

  1. brightrain revised this gist Nov 4, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion index.html
    Original file line number Diff line number Diff line change
    @@ -21,7 +21,7 @@
    var map = L.Mapzen.map('map', {
    center: [37.7749, -122.4194],
    zoom: 13,
    scene: L.Mapzen.BasemapStyles.Cinnabar
    scene: L.Mapzen.BasemapStyles.Tron
    });

    </script>
  2. brightrain created this gist Nov 4, 2016.
    29 changes: 29 additions & 0 deletions index.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,29 @@
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <title>One Minute Map</title>
    <meta charset="utf-8">
    <link rel="stylesheet" href="https://mapzen.com/js/mapzen.css">
    <script src="https://mapzen.com/js/mapzen.min.js"></script>
    <style>
    #map {
    height: 100%;
    width: 100%;
    position: absolute;
    }
    html,body{margin: 0; padding: 0}
    </style>
    </head>
    <body>
    <div id="map"></div>
    <script>

    var map = L.Mapzen.map('map', {
    center: [37.7749, -122.4194],
    zoom: 13,
    scene: L.Mapzen.BasemapStyles.Cinnabar
    });

    </script>
    </body>
    </html>