Skip to content

Instantly share code, notes, and snippets.

View dfrho's full-sized avatar

David Rhodes dfrho

View GitHub Profile
@dfrho
dfrho / getBoroView
Created October 20, 2017 18:49
getting the ideal map view for each boro
var boroView = {};
function getBoroView(boroID) {
switch (boroID) {
case 'mh':
boroView = {
boro: 'Manhattan',
coordinates: [-73.952403, 40.793146],
zoom: 10.89
}