Giter Site home page Giter Site logo

bike-route-map's Introduction

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/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.