This library enables developers to easily build store locator-type applications using the Google Maps API.
The library provides the following features:
The best way to become acquainted with the library is to see some of the examples:
For detailed documentation on the library, including classes, events and sample usage, please see the reference documentation.
To get started, include the
store-locator.compiled.js
file on your HTML page. A
set of CSS styles are also available,
which provide styling for store details and side panel.
The library's functions are contained under the storeLocator
namespace. The main class is called storeLocator.View
. A
View
has two required parameters, a
google.maps.Map
, and a storeLocator.DataFeed
.
A DataFeed
is an object with the function
getStores
. This function is called each time the map needs an
update. A simple example of a DataFeed
can be found in the
reference.