Skip to content

mobile-friendly bicycle map tool with open-source code, designed for cycling groups to customize and host on their own sites

License

Notifications You must be signed in to change notification settings

ilyankou/bikemapcode

 
 

Repository files navigation

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);
});

About

mobile-friendly bicycle map tool with open-source code, designed for cycling groups to customize and host on their own sites

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 72.3%
  • JavaScript 25.7%
  • CSS 2.0%