gmaps4rails 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/gmaps4rails/_map.html.erb +6 -1
- metadata +3 -3
@@ -2,12 +2,17 @@
|
|
2
2
|
<meta name="viewport" content="initial-scale=1.0, user-scalable=yes" />
|
3
3
|
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"> </script>
|
4
4
|
<script type="text/javascript" src="/javascripts/gmaps4rails.js"> </script>
|
5
|
-
<script type="text/javascript"
|
5
|
+
<script type="text/javascript">
|
6
6
|
var gmaps4rails_map;
|
7
7
|
var gmaps4rails_Options;
|
8
8
|
var gmaps4rails_ctaLayer;
|
9
9
|
var gmaps4rails_model;
|
10
10
|
|
11
|
+
jQuery(document).ready(function() {
|
12
|
+
gmaps4rails_init("User");
|
13
|
+
});
|
14
|
+
|
15
|
+
|
11
16
|
function gmaps4rails_init(model) {
|
12
17
|
gmaps4rails_model = model;
|
13
18
|
var myLatLng = new google.maps.LatLng(0,0);
|
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:
|
4
|
+
hash: 15
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 8
|
10
|
+
version: 0.0.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Benjamin Roth
|