Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ebrelsford
ebrelsford / osm-summer-mapathon.md
Last active August 6, 2017 18:36
OSM Summer Mapathon: Bus Stops

OSM Summer Mapathon: Bus Stops

Quickstart

  1. Create an OpenStreetMap account if you don't have one. Go to openstreetmap.org, click Sign Up, and follow the instructions.
  2. Log in to your OpenStreetMap account at openstreetmap.org.
  3. Move the map to an area you would like to edit, then click Edit at the top of the page.
  4. You can follow the walkthrough now or do it later through the Help menu.
  5. We'll use points for bus stops. To draw one, click the Point button and click on the map to add the point.
  6. On the left of the page, search for "bus stop" and click on Bus Stop when it appears.
  7. Still on the left of the page, you should see a form where you can add information about the bus stop. Fill in Name and set Bench and Shelter to Yes if those are present at the bus stop.
@ebrelsford
ebrelsford / index.html
Created March 30, 2017 14:27
Dropdown with Carto.js
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
<!--
Load Carto's code so we can pull in our Carto maps.
-->
<link rel="stylesheet" href="https://cartodb-libs.global.ssl.fastly.net/cartodb.js/v3/3.15/themes/css/cartodb.css" />
@ebrelsford
ebrelsford / index.html
Last active April 20, 2017 15:47
Popups with Carto.js v3 with embedded content
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
<!--
Load Carto's code so we can pull in our Carto maps.
-->
@ebrelsford
ebrelsford / index.html
Created March 30, 2017 03:49
Popups with Carto.js v3, template in HTML
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
<!--
Load Carto's code so we can pull in our Carto maps.
-->
<link rel="stylesheet" href="https://cartodb-libs.global.ssl.fastly.net/cartodb.js/v3/3.15/themes/css/cartodb.css" />