~Outline can be found on the repo wiki~
Let's travel back to 1990s...
http://tile.openstreetmap.org/17/27306/49738.png
tile server zoom level x/y of tile in the grid
image format of the tile
Basemaps are available from many sources:
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-104.987825,
39.7414659
]
},
"properties": {
"name": "Modworks Coworking",
"address": "110 16th St #1300, Denver, CO 80202",
"site": "http://www.modworks.com/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-104.986191,
39.7589209
]
},
"properties": {
"name": "Green Spaces",
"address": "1368 26th St, Denver, CO 80205",
"site": "http://www.greenspaces.com/"
}
}
}
var map = L.map('map', { center: [12.99766, -84.90838], zoom: 5 });
var map = new L.Map('map_canvas', { center: [0,0], zoom: 2 });
mapbox.js
L.mapbox.accessToken = 'Access Token';
var map = L.mapbox.map('map', 'mapbox.streets').setView([40, -74.50], 9);
npmap.js
var NPMap = { center: { lat: 39.37, lng: -105.7}, div: 'map'};
Custom Stack:
www.github.com/nationalparkserviceFor example, We use Zapier to sync Fulcrum app with Slack
Then, we grabbed neighborhood polygons and transportation points from Denver gov and added those to CartoDB.
UPDATE
denver_neighborhoods
SET
busstops_count = (SELECT count(*)
FROM
busstops
WHERE
ST_Intersects(busstops.the_geom,denver_neighborhoods.the_geom))
UPDATE
denver_neighborhoods_with_counts
SET
total_count =(bcycle_count+breweries_count+lightrail_count+busstops_count)
Color for co-working labels
<h2> style="color:#ECBE13">{{name}}</h2>
Color for neighborhood labels
<h2> style="color: #738C79;">{{nbhd_name}}</h2>