Skip to content

Instantly share code, notes, and snippets.

Steve Bennett stevage

View GitHub Profile
View style.json
{
"version": 8,
"name": "OCZen",
"metadata": {},
"sources": {
"tilezen": {
"type": "vector",
"tiles": [
"https://vector.mapzen.com/osm/all/{z}/{x}/{y}.mvt?api_key=vector-tiles-LM25tq4"
]
View style.json
{
"version": 8,
"name": "OCZen",
"metadata": {},
"sources": {
"tilezen": {
"type": "vector",
"tiles": [
"https://vector.mapzen.com/osm/all/{z}/{x}/{y}.mvt?api_key=vector-tiles-LM25tq4"
]
@stevage
stevage / index.html
Last active Mar 31, 2016 — forked from djtfmartin/index.html
LeafletJS and ALA occurrence layer
View index.html
<!DOCTYPE html>
<html>
<head>
<title>LeafletJS and ALA occurrence layer</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.css" />
<body>
<div id="map" style="height: 800px"></div>
<script src="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.js"></script></head>
@stevage
stevage / install-tilemill-latest.sh
Last active Dec 22, 2015 — forked from springmeyer/install-tilemill-latest.sh
Updated version to function more like proper bash scripts. (The 'sudo su postgres' stuff didn't work properly.)
View install-tilemill-latest.sh
#!/bin/bash
# First, clear out any old mapnik or node.js installs that might conflict
sudo apt-get purge libmapnik libmapnik-dev mapnik-utils nodejs
# Also clear out any old ppa's that might conflict
sudo rm /etc/apt/sources.list.d/*mapnik*
sudo rm /etc/apt/sources.list.d/*developmentseed*
sudo rm /etc/apt/sources.list.d/*chris-lea*
# add new ppa's
You can’t perform that action at this time.