Skip to content

Instantly share code, notes, and snippets.

{
"type": "Feature",
"properties": {
"title": "Poststadion Football Complex",
"marker-size": "medium",
"marker-color": "#e5c228",
"marker-symbol": "star-stroked",
"images": [
[
"<img src='images/poststadion.jpg' />",
layout title date categories
post
Getting Started with Maps
2015-09-18 04:00:00 -0700
tech

##Goals

Goals in this session are to:

Keybase proof

I hereby claim:

  • I am langsdlc on github.
  • I am lclfox (https://keybase.io/lclfox) on keybase.
  • I have a public key whose fingerprint is 38CE FEFD CA4F A4F2 BBF1 576B 06B5 59A8 66AB 59A8

To claim this, I am signing this object:

@langsdlc
langsdlc / design doc
Created May 19, 2015 14:53
design doc
function(doc) {
if (doc.properties.tour == "Recycling")
{emit(doc._id, doc)}
}

##Instructions for finding a youtube video for your map

  • Find a video of Berlin in youTube or any other source with a Creative Commons license. For example, St. Nicholas' Church, Berlin, Germany by Igor Skoglund.

  • Click Share. CLick Embed. Copy the embedded url: <iframe width="420" height="315" src="https://www.youtube.com/embed/uKlPfgi8xHw" frameborder="0" allowfullscreen></iframe>

  • Edit the link width to 180 and delete the height variable. You will also want to delete the 's' from 'https:' and add a double quote around your code. Make sure al of your code matches the following format with slashes as well. For example : "<iframe width=\"180\" src=\"http://www.youtube.com/embed/uKlPfgi8xHw\" frameborder=\"0\" allowfullscreen><\/iframe>"

  • Find the Latitude and Longitude of the video you want to use with [Google Maps](https://www.google.com/maps/place/St+Nicholas'+Church,+10178+Berl

1908
vulibrarygis.l367nf49
1920
vulibrarygis.l366jopj
1936
vulibrarygis.l369lc2l
1947
var map = L.mapbox.map('map', 'vulibrarygis.l2jo9l51')
// Construct a bounding box for this map that the user cannot
// move out of
@langsdlc
langsdlc / map
Last active August 29, 2015 14:14
var map = L.mapbox.map('map', 'vulibrarygis.l2ioj2m3')
// Construct a bounding box for this map that the user cannot
// move out of
var southWest = L.latLng(52.4934, 13.45867),
northEast = L.latLng(52.545311, 13.328738),
bounds = L.latLngBounds(southWest, northEast);
@langsdlc
langsdlc / FinalMatchedGDB.csv
Created December 12, 2014 21:32
Final To-From Points for Campus Routing Map
FROM TO Join_Segment Length
0 285 163 43.45394604
0 286 164 64.11628177
1 287 166 13.1127802
1 2 167 66.05961287
2 1 167 66.05961287
2 291 171 15.59436458
2 292 172 11.36599932
3 292 173 27.28104968
3 4 174 16.78449547
@langsdlc
langsdlc / FINALWaypoints.csv
Created December 12, 2014 21:30
Final Campus Routing Waypoints and Tour Points
ID Title X Y
0 Waypoint -86.79911918 36.14389983
1 Waypoint -86.80012748 36.14400393
2 Waypoint -86.80004836 36.14459582
3 Waypoint -86.8004731 36.14463865
4 Waypoint -86.80044811 36.14478856
5 Waypoint -86.80082645 36.14467077
6 Waypoint -86.80074078 36.14539889
7 Waypoint -86.80081217 36.14574867
8 Waypoint -86.80069795 36.14567372