gmaps4rails 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock
CHANGED
data/lib/gmaps4rails/version.rb
CHANGED
@@ -9,5 +9,9 @@ class @Gmaps.Google.Objects.Bound extends Gmaps.Base
|
|
9
9
|
_.each collection, (object)=>
|
10
10
|
object.updateBounds(@)
|
11
11
|
|
12
|
+
# position can be:
|
13
|
+
# - [ lat, lng]
|
14
|
+
# - { lat: , lng: }
|
15
|
+
# - a google.maps.LatLng
|
12
16
|
extend: (value)->
|
13
|
-
@getServiceObject().extend value
|
17
|
+
@getServiceObject().extend @primitives().latLngFromPosition(value)
|