Skip to content

Commit ba2eff7

Browse files
committed
Reorganized settings to alphabetical and added HTML elements section
1 parent 0b0b910 commit ba2eff7

File tree

3 files changed

+149
-145
lines changed

3 files changed

+149
-145
lines changed

dist/assets/js/plugins/storeLocator/jquery.storelocator.js

Lines changed: 74 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -19,105 +19,107 @@
1919

2020
// Create the defaults once. DO NOT change these settings in this file - settings should be overridden in the plugin call
2121
var defaults = {
22-
'mapID' : 'bh-sl-map',
23-
'locationList' : 'bh-sl-loc-list',
24-
'formContainer' : 'bh-sl-form-container',
25-
'formID' : 'bh-sl-user-location',
26-
'addressID' : 'bh-sl-address',
27-
'regionID' : 'bh-sl-region',
22+
'altDistanceNoResult' : false,
23+
'autoComplete' : false,
24+
'autoCompleteDisableListener': false,
25+
'autoCompleteOptions' : {},
26+
'autoGeocode' : false,
27+
'bounceMarker' : true,
28+
'catMarkers' : null,
29+
'dataLocation' : 'data/locations.json',
30+
'dataRaw' : null,
31+
'dataType' : 'json',
32+
'debug' : false,
33+
'defaultLat' : null,
34+
'defaultLng' : null,
35+
'defaultLoc' : false,
36+
'disableAlphaMarkers' : false,
37+
'distanceAlert' : 60,
38+
'dragSearch' : false,
39+
'exclusiveFiltering' : false,
40+
'exclusiveTax' : null,
41+
'featuredLocations' : false,
42+
'fullMapStart' : false,
43+
'fullMapStartBlank' : false,
44+
'fullMapStartListLimit' : false,
45+
'geocodeID' : null,
46+
'infoBubble' : null,
47+
'inlineDirections' : false,
48+
'lengthUnit' : 'm',
49+
'listColor1' : '#ffffff',
50+
'listColor2' : '#eeeeee',
51+
'loading' : false,
52+
'locationsPerPage' : 10,
2853
'mapSettings' : {
2954
mapTypeId: google.maps.MapTypeId.ROADMAP,
3055
zoom : 12
3156
},
57+
'markerCluster' : null,
3258
'markerImg' : null,
3359
'markerDim' : null,
34-
'catMarkers' : null,
60+
'maxDistance' : false,
61+
'modal' : false,
62+
'nameAttribute' : 'name',
63+
'nameSearch' : false,
64+
'noForm' : false,
65+
'openNearest' : false,
66+
'originMarker' : false,
67+
'originMarkerDim' : null,
68+
'originMarkerImg' : null,
69+
'pagination' : false,
70+
'querystringParams' : false,
3571
'selectedMarkerImg' : null,
3672
'selectedMarkerImgDim' : null,
37-
'disableAlphaMarkers' : false,
38-
'lengthUnit' : 'm',
73+
'sessionStorage' : false,
74+
'slideMap' : true,
3975
'storeLimit' : 26,
40-
'distanceAlert' : 60,
41-
'dataType' : 'json',
42-
'dataLocation' : 'data/locations.json',
43-
'dataRaw' : null,
76+
'taxonomyFilters' : null,
77+
'visibleMarkersList' : false,
4478
'xmlElement' : 'marker',
45-
'listColor1' : '#ffffff',
46-
'listColor2' : '#eeeeee',
47-
'originMarker' : false,
48-
'originMarkerImg' : null,
49-
'originMarkerDim' : null,
50-
'bounceMarker' : true,
51-
'slideMap' : true,
52-
'modal' : false,
53-
'overlay' : 'bh-sl-overlay',
54-
'modalWindow' : 'bh-sl-modal-window',
55-
'modalContent' : 'bh-sl-modal-content',
79+
// HTML elements
80+
'addressID' : 'bh-sl-address',
5681
'closeIcon' : 'bh-sl-close-icon',
57-
'defaultLoc' : false,
58-
'defaultLat' : null,
59-
'defaultLng' : null,
60-
'autoComplete' : false,
61-
'autoCompleteOptions' : {},
62-
'autoCompleteDisableListener': false,
63-
'autoGeocode' : false,
64-
'geocodeID' : null,
65-
'maxDistance' : false,
66-
'maxDistanceID' : 'bh-sl-maxdistance',
67-
'fullMapStart' : false,
68-
'fullMapStartBlank' : false,
69-
'fullMapStartListLimit' : false,
70-
'noForm' : false,
71-
'loading' : false,
82+
'formContainer' : 'bh-sl-form-container',
83+
'formID' : 'bh-sl-user-location',
7284
'loadingContainer' : 'bh-sl-loading',
73-
'featuredLocations' : false,
74-
'pagination' : false,
75-
'locationsPerPage' : 10,
76-
'inlineDirections' : false,
77-
'nameSearch' : false,
85+
'locationList' : 'bh-sl-loc-list',
86+
'mapID' : 'bh-sl-map',
87+
'maxDistanceID' : 'bh-sl-maxdistance',
88+
'modalContent' : 'bh-sl-modal-content',
89+
'modalWindow' : 'bh-sl-modal-window',
90+
'overlay' : 'bh-sl-overlay',
91+
'regionID' : 'bh-sl-region',
7892
'searchID' : 'bh-sl-search',
79-
'nameAttribute' : 'name',
80-
'visibleMarkersList' : false,
81-
'dragSearch' : false,
82-
'openNearest' : false,
93+
'taxonomyFiltersContainer' : 'bh-sl-filters-container',
94+
// Templates
8395
'infowindowTemplatePath' : 'assets/js/plugins/storeLocator/templates/infowindow-description.html',
8496
'listTemplatePath' : 'assets/js/plugins/storeLocator/templates/location-list-description.html',
8597
'KMLinfowindowTemplatePath' : 'assets/js/plugins/storeLocator/templates/kml-infowindow-description.html',
8698
'KMLlistTemplatePath' : 'assets/js/plugins/storeLocator/templates/kml-location-list-description.html',
8799
'listTemplateID' : null,
88100
'infowindowTemplateID' : null,
89-
'taxonomyFilters' : null,
90-
'taxonomyFiltersContainer' : 'bh-sl-filters-container',
91-
'exclusiveFiltering' : false,
92-
'exclusiveTax' : null,
93-
'querystringParams' : false,
94-
'altDistanceNoResult' : false,
95-
'debug' : false,
96-
'sessionStorage' : false,
97-
'markerCluster' : null,
98-
'infoBubble' : null,
99101
// Callbacks
100102
'callbackAutoGeoSuccess' : null,
101-
'callbackNotify' : null,
102-
'callbackRegion' : null,
103+
'callbackBeforeSend' : null,
104+
'callbackCloseDirections' : null,
105+
'callbackCreateMarker' : null,
106+
'callbackDirectionsRequest' : null,
107+
'callbackFilters' : null,
103108
'callbackFormVals' : null,
104109
'callbackGeocodeRestrictions': null,
105-
'callbackBeforeSend' : null,
106-
'callbackSuccess' : null,
110+
'callbackJsonp' : null,
111+
'callbackListClick' : null,
112+
'callbackMapSet' : null,
113+
'callbackMarkerClick' : null,
114+
'callbackModalClose' : null,
107115
'callbackModalOpen' : null,
108116
'callbackModalReady' : null,
109-
'callbackModalClose' : null,
110117
'callbackNearestLoc' : null,
111-
'callbackJsonp' : null,
112-
'callbackCreateMarker' : null,
113-
'callbackPageChange' : null,
114-
'callbackDirectionsRequest' : null,
115-
'callbackCloseDirections' : null,
116118
'callbackNoResults' : null,
117-
'callbackListClick' : null,
118-
'callbackMarkerClick' : null,
119-
'callbackFilters' : null,
120-
'callbackMapSet' : null,
119+
'callbackNotify' : null,
120+
'callbackPageChange' : null,
121+
'callbackRegion' : null,
122+
'callbackSuccess' : null,
121123
// Language options
122124
'addressErrorAlert' : 'Unable to find address',
123125
'autoGeocodeErrorAlert' : 'Automatic location detection failed. Please fill in your address or zip code.',

0 commit comments

Comments
 (0)