Skip to content

Commit 51fa5a6

Browse files
committed
Updated readme, clarified options, added Bower file
1 parent fdd81e4 commit 51fa5a6

File tree

3 files changed

+34
-3
lines changed

3 files changed

+34
-3
lines changed

bower.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "jquery-storelocator-plugin",
3+
"version": "2.0.8",
4+
"description": "This jQuery plugin takes advantage of Google Maps API version 3 to create an easy to implement store locator. No back-end programming is required, you just need to feed it KML, XML, or JSON data with all the location information.",
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/bjorn2404/jQuery-Store-Locator-Plugin.git"
8+
},
9+
"keywords": ["jquery-plugin","locator","store", "location","locations","maps","map","stores","find","finder"],
10+
"authors": [
11+
"Bjorn Holine <bjorn2404@gmail.com> (http://www.bjornblog.com)"
12+
],
13+
"license": "MIT",
14+
"dependencies": {
15+
"jquery": ">=1.7",
16+
"handlebars": ">=1.0"
17+
},
18+
"devDependencies": {
19+
"grunt-contrib-jshint": "~0.6.0",
20+
"grunt-contrib-qunit": "~0.2.0",
21+
"grunt-contrib-concat": "~0.3.0",
22+
"grunt-contrib-uglify": "~0.2.0",
23+
"grunt-contrib-watch": "~0.4.0",
24+
"grunt-contrib-clean": "~0.4.0",
25+
"grunt-contrib-less": "~0.11.0",
26+
"grunt": "~0.4.4",
27+
"grunt-banner": "~0.2.2",
28+
"grunt-contrib-cssmin": "~0.9.0"
29+
}
30+
}

options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
| formID | 'bh-sl-user-location' | ID of the input form. |
77
| addressID | 'bh-sl-address' | ID of the address input form field. |
88
| regionID | 'bh-sl-region' | ID of the region select form field for country region biasing. |
9-
| mapSettings | { zoom : 12, mapTypeId: google.maps.MapTypeId.ROADMAP } | Google maps settings object. Add all settings including zoom and map type if overriding. Set zoom to 0 to center and zoom automatically. |
9+
| mapSettings | { zoom : 12, mapTypeId: google.maps.MapTypeId.ROADMAP } | Google maps settings object. Add all settings including zoom and map type if overriding. Set zoom to 0 to automatically center and zoom to show all display markers on the map |
1010
| markerImg | null | Replacement marker image used for all locations |
1111
| markerDim | null | Replacement marker dimensions object - ex value: { height: 20, width: 20 } |
1212
| catMarkers | null | Multiple replacement marker images based on categories object. Value should be array with image path followed by dimensions - ex value: catMarkers : {'Restaurant' : ['img/red-marker.svg', 32, 32]}

readme.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,17 @@ for even faster loading.
2929

3030
### Version 2.0.8
3131

32+
* Changed infowindow and location list templates so that the comma is added if the city is available.
3233
* Fixed issue with inline directions where "null" was prepended to the destination address.
34+
* Fixed close directions bug where close icon couldn't be clicked more than two times.
35+
* Fixed bug where form wasn't overriding query string parameters.
3336
* Updated processForm method to accept max distance query string parameter.
3437
* Updated processForm method to use existing origin data if it's present and matches to avoid unnecessary geocode
3538
requests.
36-
* Changed infowindow and location list templates so that the comma is added if the city is available.
3739
* Updated max distance check to less than or equal to the selected distance vs. just less than.
3840
* Updated regionID description in options.md for clarity.
3941
* Updated formEventHandler method to prevent ASP.net form submission on keydown instead of keyup.
4042
* Updated mapSettings description in options.md to highlight that zoom can be set to 0 for automatic centering and zooming.
41-
* Fixed close directions bug where close icon couldn't be clicked more than two times.
4243

4344
### Version 2.0.7
4445

0 commit comments

Comments
 (0)