Skip to content

Commit 213a076

Browse files
committed
Fixed issue with autoGeocode and originMarker, updated readme and versions
1 parent 684c803 commit 213a076

File tree

7 files changed

+14
-15
lines changed

7 files changed

+14
-15
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jquery-storelocator-plugin",
3-
"version": "2.5.3",
3+
"version": "2.5.4",
44
"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.",
55
"repository": {
66
"type": "git",

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2202,11 +2202,7 @@
22022202
if (_this.settings.originMarker === true) {
22032203
var originImg = '';
22042204

2205-
// If fullMapStart is on and it's the first run there is no origin
2206-
if(_this.settings.fullMapStart === false && firstRun === true) {
2207-
return;
2208-
}
2209-
else{
2205+
if ( typeof origin !== 'undefined' ) {
22102206
if(_this.settings.originMarkerImg !== null) {
22112207
if(_this.settings.originMarkerDim === null) {
22122208
originImg = _this.markerImage(_this.settings.originMarkerImg);

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

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jquery-storelocator-plugin",
3-
"version": "2.5.3",
3+
"version": "2.5.4",
44
"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.",
55
"repository": {
66
"type": "git",

readme.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ filtering.
3535

3636
## Changelog
3737

38+
### Version 2.5.4
39+
40+
* Fixed issue with combination of autoGeocode and originMarker settings.
41+
* Merged in pull request from [drcomix](https://github.com/drcomix) that fixed zoom issue with dragSearch setting.
42+
* Switched included remote scripts in example files to https.
43+
* Updated jQuery references to the latest version.
44+
3845
### Version 2.5.3
3946

4047
* Removed check from createMarker method that removed spaces from categories - created issues with categories that have spaces.

src/js/jquery.storelocator.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2199,11 +2199,7 @@
21992199
if (_this.settings.originMarker === true) {
22002200
var originImg = '';
22012201

2202-
// If fullMapStart is on and it's the first run there is no origin
2203-
if(_this.settings.fullMapStart === false && firstRun === true) {
2204-
return;
2205-
}
2206-
else{
2202+
if ( typeof origin !== 'undefined' ) {
22072203
if(_this.settings.originMarkerImg !== null) {
22082204
if(_this.settings.originMarkerDim === null) {
22092205
originImg = _this.markerImage(_this.settings.originMarkerImg);

storelocator.jquery.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"title": "jQuery Google Maps Store Locator",
44
"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.",
55
"keywords": ["jquery","locator","store", "location", "locations", "maps", "map", "stores", "find"],
6-
"version": "2.5.3",
6+
"version": "2.5.4",
77
"author": {
88
"name": "Bjorn Holine",
99
"url": "http://www.bjornblog.com/"

0 commit comments

Comments
 (0)