Browse files

Merge pull request #1 from danielburhans/patch-2

fixed typo in method setCenter & update api ver
  • Loading branch information...
2 parents 1126810 + 2034ed4 commit ea86a53564a84e96422907a1fd09075e67f55a7c @morethanreal committed Mar 16, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/GoogleMap.js
View
4 lib/GoogleMap.js
@@ -8,7 +8,7 @@ enyo.kind({
name: 'GoogleMap',
kind: 'Control',
published: {
- apiVersion: '3.5',
+ apiVersion: '3.8',
otherMapParams: 'sensor=true&libraries=geometry,places',
center: {
lat: 37.787186,
@@ -70,7 +70,7 @@ enyo.kind({
},
setCenter: function(inLat, inLng) {
this.center.lat = inLat;
- this.center.lng = inLong;
+ this.center.lng = inLng;
this.updateCenter();
},
});

0 comments on commit ea86a53

Please sign in to comment.