Skip to content

ruslanss/jQuery-Store-Locator-Plugin-2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Complete jQuery Store Locator with Google Maps API, Google Distance Matrix API, HTML5 GeoLocation & Google Maps KML file as data source

##Features:

  • Fully client-side application with XML file data source. No server-side scripting or database required.
  • This is a jQuery plugin; hence jQuery reference is required in order for it to work :) It also requires a Google Maps JavaScript API v3 reference for the mapping stuff
  • Takes in a Google Maps KML file as a source of store locations developers.google.com/kml/documentation/mapsSupport
  • Uses HTML5 GeoLocation to determine user's location when applicable
  • Uses Google Geocoding API developers.google.com/maps/documentation/geocoding to work out user's location from supplied address details
  • Uses Google Distance Matrix Service to work out the driving distances to store locations
  • Uses jQuery.Deferred() object api.jquery.com/category/deferred-object to work around the Google Distance Matrix Service's limitation of 25 destinations in one service call, thus making it multiple service calls asynchronously when required
  • Shows user's location on the map (0 marker)
  • Works out and displays nearest N (configurable variable) shops with their details in the list, showing the , from the data source file, driving distance in miles and a link to Google Map with driving directions
  • Shows nearest store locations on the maps with A-Z marker pins
  • Automatically chooses appropriate Map Zoom level to fit all locations on the map

##DEMO SITE: optimax.apphb.com/demo.html

Inspired by original jQuery Store Locator plugin by Bjorn Holine bjornblog.com/web/jquery-store-locator-plugin; this is a github fork of his repo located here: github.com/bjorn2404/jQuery-Store-Locator-Plugin

About

A store locator plugin using Google Maps API version 3

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • JavaScript 83.6%
  • HTML 9.1%
  • CSS 7.3%