gmaps4rails 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gmaps4rails (2.0.2)
4
+ gmaps4rails (2.0.3)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -481,7 +481,7 @@
481
481
  Map.prototype.default_options = function() {
482
482
  return {
483
483
  mapTypeId: this.primitives().mapTypes('ROADMAP'),
484
- center: this.primitives().latLng(0, 0),
484
+ center: new (this.primitives().latLng)(0, 0),
485
485
  zoom: 8
486
486
  };
487
487
  };
@@ -717,7 +717,7 @@
717
717
  };
718
718
 
719
719
  Bound.prototype.extend = function(value) {
720
- return this.getServiceObject().extend(value);
720
+ return this.getServiceObject().extend(this.primitives().latLngFromPosition(value));
721
721
  };
722
722
 
723
723
  return Bound;
@@ -1,3 +1,3 @@
1
1
  module Gmaps4rails
2
- VERSION = "2.0.2"
2
+ VERSION = "2.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gmaps4rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: