/bike-route-map

Mapping curated bike routes in LA!!!

Primary LanguageJavaScript

bike-route-map

Mapping curated bike routes in LA - Nina & Amy create a map! Amy is the cyclist learning tech. Nina is the techie learning to ride. We both love maps and created this project as a way for each of us to share our knowledge with the other. We want this to turn into a useful resource that helps more people ride their bikes in Los Angeles.

Log

5/8/17 - Updated README with more information. In considering how to load new data and display it on the map, I think we may want to load it directly into Mapbox as a dataset (after converting gpx to geojson using: https://mapbox.github.io/togeojson/).

4/15/17 - Added popups to the route polylines. Currently it's hardcoded to display the route name straight from the XML.

4/9/17 - Added mouseover/mouseout events to gpx.js. Set default and hover values for weight and opacity.

4/5/17 - Found where the default blue polyline color was defined in gpx.js. Passed in a polyline_options object to make a red line.

4/3/17 - Created basic full page web map. Mapped a sample GPX route from Amy's morning ride. Need to figure out how to customize route color and how to smooth the line generated by the GPX.

Instructions

Fork this repository. Then turn on GitHub Pages in your repository settings. Copy the URL that GitHub gives you - https://<YOUR-NAME-HERE>.github.io/bike-route-map and paste it in the description on your repository's main page. This will point to your repo and show changes you've made without affecting the original repo!

Needs

UI/Visual designer. The map styling can be customized. The line overlays and the category filtering can also be customized.

Resources Used

jQuery https://jquery.com/

Mapbox Studio https://www.mapbox.com/mapbox-studio/

Mapbox.js https://github.com/mapbox/mapbox.js/

Leaflet-GPX https://github.com/mpetazzoni/leaflet-gpx

Leaflet.ExtraMarkers https://github.com/coryasilva/Leaflet.ExtraMarkers

FontAwesome http://fontawesome.io/