gmaps4rails 0.7.1 → 0.7.2

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.
@@ -98,7 +98,11 @@ var Gmaps4Rails = {
98
98
  { if (this.info_window != null) {this.info_window.close();}
99
99
  });
100
100
  //variable used for Auto-adjust
101
- this.bounds = new google.maps.LatLngBounds();
101
+ this.bounds = new google.maps.LatLngBounds();
102
+
103
+ if(typeof gmaps4rails_callback == 'function') {
104
+ gmaps4rails_callback();
105
+ }
102
106
  },
103
107
 
104
108
  create_direction: function(){
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gmaps4rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 7
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 1
10
- version: 0.7.1
9
+ - 2
10
+ version: 0.7.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Benjamin Roth