If you're using a storelocator plugin version that's less than version 2.0.0 the following options are available:
Property | Default | Description |
mapDiv | map | The div where the actual Google Map is displayed. |
listDiv | loc-list | The div container around the location list. |
formContainerDiv | form-container | The div container around the form. |
formID | user-location | The ID of the input form. |
inputID | address | The ID of the input field. |
zoomLevel | 12 | The zoom level of the Google Map. Set to 0 to have the map automatically center and zoom to show all display markers on the map. |
pinColor | fe7569 | The hex color of the makers (don't use # if you override). |
pinTextColor | 000000 | The text hex color of the markers (don't use # if you override). |
lengthUnit | m | The unit of length. Default is m for miles, change to km for kilometers. |
storeLimit | 26 | The number of closest locations displayed at one time. Set to -1 for unlimited. |
distanceAlert | 60 | Displays an alert if there are no locations with 60 miles of the user's location. Set to -1 to disable. |
dataType | xml | The format of the data source. Accepted values include kml, xml, json, and jsonp. |
dataLocation | locations.xml | The path to the location data - XML is default but JSON is also an option. |
listColor1 | ffffff | The hex background color of the odd list elements (don't use # if you override). |
listColor2 | eeeeee | The hex background color of the even list elements (don't use # if you override). |
originMarker | false | Display a marker at the origin. |
originpinColor | blue | Sets the color of the origin marker. |
bounceMarker | true | Bounces the maker when a list element is clicked. |
slideMap | true | First hides the map container and then uses jQuery's slideDown method to reveal the map. |
modalWindow | false | Shows the map container within a modal window. Set slideMap to false and this option to true to use. |
overlayDiv | overlay | The div that fills 100% of the window and fills with a transparent background image when the modal window option is used |
modalWindowDiv | modal-window | The div container of the actual modal window |
modalContentDiv | modal-content | The div container around the content of the modal window |
modalCloseIconDiv | close-icon | The div that displays the close icon to close the modal window |
defaultLoc | false | If true, the map will load with a default location immediately. Set slideMap to false if you want to use this. |
defaultLat | If using defaultLoc, set this to the default location latitude. | |
defaultLng | If using defaultLoc, set this to the default location longitude | |
autoGeocode | false | Set to true if you want to use the HTML5 geolocation API (good for mobile devices) |
maxDistance | false | Set to true if you want to give users an option to limit the distance from their location to the markers. |
maxDistanceID | maxdistance | The ID of the select element for the maximum distance options. |
fullMapStart | false | Set to true if you want to immediately show a map of all locations. The map will center and zoom automatically. |
noForm | false | Set to true if you aren't able to use form tags (ASP.net WebForms). |
loading | false | Set to true to display a loading animated gif next to the submit button. Note, that if you don't have a lot of location data, it may not even be shown because of the quickness. |
loadingDiv | loading-map | The div that displays the loading animated gif. |
featuredLocations | false | Set to true to enable featuring locations at the top of the location list (no matter the distance). Add featured="true" to featured locations in your XML or JSON locations data |
infowindowTemplatePath | templates/infowindow-description.html | The path to the default infowindow template. |
listTemplatePath | templates/location-list-description.html | The path to the default list template. |
KMLinfowindowTemplatePath | templates/kml-infowindow-description.html | The path to the KML infowindow template - used if dataType is set to kml. |
KMLlistTemplatePath | templates/kml-location-list-description.html | The path to the KML list template - used if dataType is set to kml. |
callbackBeforeSend | null | Callback |
callbackComplete | null | Callback |
callbackSuccess | null | Callback |
callbackModalOpen | null | Callback |
callbackModalClose | null | Callback |
geocodeErrorAlert | Geocode was not successful for the following reason: | Language setting |
blankInputAlert | The input box was blank. | Language setting |
addressErrorAlert | Unable to find address | Language setting |
autoGeocodeErrorAlert | Automatic location detection failed. Please fill in your address or zip code. | Language setting |
distanceErrorAlert | Unfortunately, our closest location is more than | Language setting |
mileLang | mile | Language setting |
milesLang | miles | Language setting |
kilometerLang | kilometer | Language setting |
kilometersLang | kilometers | Language setting |