gmaps4rails 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +1 -1
- data/js_compilation/gmaps_google.js +2 -2
- data/lib/gmaps4rails/version.rb +1 -1
- metadata +1 -1
data/Gemfile.lock
CHANGED
|
@@ -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;
|
data/lib/gmaps4rails/version.rb
CHANGED