abetusk/bostontraintrack — pull request #9 by Friss (2014-07-07 15:45:28+00:00)
Title: Center map on boston then update to user location if they allow it.

@abetusk this will center the map on Boston then if the user allows access to location it will center on that location. (Once a user allows access it will not prompt anymore.)

It can also be done is to wait for a geolocate or geolocate fail event before centering the map but this slows loading time of first time viewers that haven't allowed access to location while speeding up centering on those that have.