Skip to content

Instantly share code, notes, and snippets.

View stevage's full-sized avatar
💭
🐘

Steve Bennett stevage

💭
🐘
View GitHub Profile
@stevage
stevage / style.json
Created August 4, 2017 07:21 — forked from anonymous/style.json
OCZen
{
"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 / style.json
Created August 4, 2017 06:16 — forked from anonymous/style.json
OCZen
{
"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 March 31, 2016 00:56 — forked from djtfmartin/index.html
LeafletJS and ALA occurrence layer
<!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 December 22, 2015 10:49 — 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.)
#!/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