gmaps4rails 0.7.6 → 0.7.7
Sign up to get free protection for your applications and to get access to all the features.
- data/public/javascripts/gmaps4rails.js +3 -3
- metadata +4 -4
@@ -287,14 +287,14 @@ var Gmaps4Rails = {
|
|
287
287
|
}
|
288
288
|
|
289
289
|
var myLatLng = new google.maps.LatLng(Lat, Lng);
|
290
|
-
|
290
|
+
var ThisMarker;
|
291
291
|
// Marker sizes are expressed as a Size of X,Y
|
292
292
|
if (marker_picture === "")
|
293
|
-
{
|
293
|
+
{ ThisMarker = new google.maps.Marker({position: myLatLng, map: this.map, title: marker_title}); }
|
294
294
|
else
|
295
295
|
{
|
296
296
|
var image = new google.maps.MarkerImage(marker_picture, new google.maps.Size(marker_width, marker_height) );
|
297
|
-
|
297
|
+
ThisMarker = new google.maps.Marker({position: myLatLng, map: this.map, icon: image, title: marker_title});
|
298
298
|
}
|
299
299
|
//save object
|
300
300
|
this.markers[i].google_object = ThisMarker;
|
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: 13
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 7
|
9
|
-
-
|
10
|
-
version: 0.7.
|
9
|
+
- 7
|
10
|
+
version: 0.7.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Benjamin Roth
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-04-
|
19
|
+
date: 2011-04-24 00:00:00 +02:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|