Skip to content

Commit

Permalink
v1.1.2
Browse files Browse the repository at this point in the history
Fix #5 via @jripmeester - Fixed Lat / Lng being populated with function, not number.
  • Loading branch information
Tam committed Jun 2, 2016
1 parent 56c07d8 commit 2225c5a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ A list of the available values can be found [here](https://developers.google.com

## Changelog

### 1.1.2
- Fix \#5 via @jripmeester - Fixed Lat / Lng being populated with function, not number.

### 1.1.1
- Added `parts` to the fieldtype output.

Expand Down
2 changes: 1 addition & 1 deletion SimpleMapPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function getDescription()

public function getVersion()
{
return '1.1.1';
return '1.1.2';
}

public function getSchemaVersion()
Expand Down
8 changes: 8 additions & 0 deletions releases.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,13 @@
"notes": [
"Added `parts` to the fieldtype output."
]
},
{
"version": "1.1.2",
"downloadUrl": "https://github.com/ethercreative/SimpleMap/archive/v1.1.2.zip",
"date": "2016-06-02T10:00:00-08:00",
"notes": [
"Fix #5 via @jripmeester - Fixed Lat / Lng being populated with function, not number."
]
}
]
2 changes: 1 addition & 1 deletion resources/SimpleMap_Map.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ SimpleMap.prototype.sync = function (update) {
});
});

if (update) return this.update(pos.lat, pos.lng, true);
if (update) return this.update(pos.lat(), pos.lng(), true);
return this;
};

Expand Down

0 comments on commit 2225c5a

Please sign in to comment.