Skip to content

reyemtm/leaflet-store-locator

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

leaflet-store-locator

A responsive store locator based on the Mapbox JS example, tweaked to use Leaflet 1.0, Google Carto basemaps and custom icons. The sidebar uses a simple jQuery filter function (thanks jsfiddle). The nearest store function uses TurfJS, based loosely on this example, also from Mapbox. The production version uses surge.sh for deployment.

Demo

Stores are loaded via a stores.csv file in the assets/data/ folder. The search is done on the entire sidebar list, so this may not be the best option for extremely large data sets.

About

A responsive open source store locator built with Leaflet and Bootstrap and based on the original Mapbox JS example.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published