mobile-friendly bicycle map tool with open-source code, designed for cycling groups to customize and host on their own sites
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images
routes
src
COGAP2015.html
ECG2014.html
LICENSE
README.md
cheshire2016.html
favicon.ico
florida2017.html
fysm2016.html
glastonbury.html
index.html
morrisville2017.html
newbritain.html
oberlin2012.html
pedal2medal.html
portland2014.html
quebec2015.html
seattle2014.html
style.css
trinity.html
westhartford.html
westhartford2015.html
willimantic2016.html

README.md

bikemapcode

Mobile-friendly web maps created with open-source Leaflet templates.

  • Show multiple color-coded routes (uploaded as GPX files)
  • Allow users to find their location on desktops or smartphones
  • Display geotagged Flickr photos from your journeys
  • Host your map on a free GitHub Pages site or your own website

Distributed as-is with no warranty under an MIT license. Feedback and code contributions welcome on GitHub or email to jack.dougherty@trincoll.edu

Demos

Direct link

Simplified with a link shortener for easy print distribution

Web map embedded in a WordPress.org site

Web map embedded in a Weebly site

Sample short links for bike events

Sample links to bike tours with photos

What the tool does NOT do:

  • It does not provide routing directions to bike from point A to B
  • It does not work without internet access.

Code credits and open-source licenses

To Do

var HartGISBike = L.esri.featureLayer({
	url: 'http://gis1.hartford.gov/arcgis/rest/services/OpenData_Community/MapServer/9',
	style: function () {
		return { color: "#70ca49", opacity: 0.7, weight: 5};
	}
});
controlLayers.addOverlay(HartGISBike, 'City of Hartford bike lanes');

//esri-leaflet popup
TrinGISPrimaryRoutes.bindPopup(function (feature) {
   	return L.Util.template('<p>Primary Route<br>FID: {FID}</p>', feature.properties);
});