vendor/assets/javascripts/gmaps/google/objects/bound.coffee in gmaps4rails-2.0.1 vs vendor/assets/javascripts/gmaps/google/objects/bound.coffee in gmaps4rails-2.0.2

- old
+ new

@@ -7,7 +7,11 @@ extendWith: (array_or_object)-> collection = if _.isArray(array_or_object) then array_or_object else [ array_or_object ] _.each collection, (object)=> object.updateBounds(@) + # position can be: + # - [ lat, lng] + # - { lat: , lng: } + # - a google.maps.LatLng extend: (value)-> - @getServiceObject().extend value + @getServiceObject().extend @primitives().latLngFromPosition(value)