Skip to content

Commit

Permalink
remove sensor option
Browse files Browse the repository at this point in the history
it's no longer a required parameter for Google Maps
also set default verson to 3.22
  • Loading branch information
pirxpilot committed Feb 24, 2016
1 parent 032d227 commit be9a316
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions index.js
Expand Up @@ -26,8 +26,7 @@ function init(opts, fn) {
};

opts = merge({
sensor: false,
v: '3.13'
v: '3.22'
}, opts);
// always use our callback
opts.callback = "_google_maps_init";
Expand All @@ -50,4 +49,4 @@ module.exports = {
spread: require('./lib/spread'),
styles: require('./lib/styles'),
util: require('./lib/util')
};
};

0 comments on commit be9a316

Please sign in to comment.