This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function loadDependencies(deps, callback) { | |
var dep = deps.shift(); | |
if (dep['script'] && typeof(window[dep['lib']]) != dep['loadType'] || 'function') { | |
var depScript = document.createElement('script'); | |
depScript.type = 'text/javascript'; | |
depScript.src = dep['script']; | |
(document.getElementsByTagName('head')[0]).appendChild(depScript); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
requires: | |
- mapnik 3.x and its python bindings (https://github.com/mapnik/mapnik) | |
- mercantile==0.9.0 (https://github.com/mapbox/mercantile) | |
""" | |
import os | |
import mapnik | |
import mercantile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.css"/> | |
<style> | |
#mapid{ | |
height: 480px; | |
} | |
#download { | |
position:absolute; |
NewerOlder