Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Leaflet Hash</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox.js/v2.1.5/mapbox.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/v2.1.5/mapbox.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
@lxbarth
lxbarth / 0_reuse_code.js
Last active August 29, 2015 14:17
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console

Hola tod@s -

State of the Map US es el evento más grande internacional en el mundo OpenStreetMap. Este año promete de ser muy interesante con el evento teniendo lugar en las Naciones Unidas (Junio 6 - 8). Hay un programa de becas especificamente diseñado para hacerlo más facil de atender para asistentes internacionales.

http://stateofthemap.us/

Ojo, hay algunas fechas topes importantes muy cercanas:

Hey everyone -

State of the Map US is the biggest annual international gathering of OpenStreetMap users. This year is shaping up to be a great event hosted at the United Nations, taking place from June 6 - 8. I'm going to be there myself and hope to see you there.

Heads up, there are a couple of important dates coming up fast:

Hey everyone -

State of the Map US is the biggest annual international gathering of OpenStreetMap users. This year is shaping up to be a great event hosted at the United Nations, taking place from June 6 - 8. I'm planning on going myself and I wanted to give you a heads up of a couple of important upcoming dates:

Hope to see you there -

<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>A simple map</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox.js/v2.1.5/mapbox.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/v2.1.5/mapbox.css' rel='stylesheet' />
<script src='https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-hash/v0.2.1/leaflet-hash.js'></script>
<script src='https://api.tiles.mapbox.com/mapbox.js/plugins/turf/v1.4.0/turf.min.js'></script>
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>A simple map</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox.js/v2.1.5/mapbox.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/v2.1.5/mapbox.css' rel='stylesheet' />
<script src='https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-hash/v0.2.1/leaflet-hash.js'></script>
<script src='https://api.tiles.mapbox.com/mapbox.js/plugins/turf/v1.4.0/turf.min.js'></script>
@lxbarth
lxbarth / busstops.js
Last active August 29, 2015 14:16
Bangalore bus stops
var busstops = {
"type": "FeatureCollection",
"generator": "overpass-turbo",
"copyright": "The data included in this document is from www.openstreetmap.org. The data is made available under ODbL.",
"timestamp": "2015-02-28T10:16:02Z",
"features": [
{
"type": "Feature",
"id": "node/247991562",
"properties": {