gmaps4rails 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -290,8 +290,10 @@
290
290
  return this.clusterize();
291
291
  };
292
292
  Gmaps4Rails.prototype.createServiceMarkersFromMarkers = function() {
293
- var Lat, LatLng, Lng, index, _ref, _ref2;
294
- for (index = _ref = this.markers_conf.offset, _ref2 = this.markers.length - 1; _ref <= _ref2 ? index <= _ref2 : index >= _ref2; _ref <= _ref2 ? index++ : index--) {
293
+ var Lat, LatLng, Lng, index, marker, _len, _ref;
294
+ _ref = this.markers;
295
+ for (index = 0, _len = _ref.length; index < _len; index++) {
296
+ marker = _ref[index];
295
297
  Lat = this.markers[index].lat;
296
298
  Lng = this.markers[index].lng;
297
299
  if (this.markers_conf.randomize) {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gmaps4rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ date: 2011-09-12 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: crack
17
- requirement: &2156241720 !ruby/object:Gem::Requirement
17
+ requirement: &2152366260 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,7 +22,7 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2156241720
25
+ version_requirements: *2152366260
26
26
  description: ! 'Enables easy display of items (taken from a Rails 3 model) on a Google
27
27
  Maps (JS API V3), OpenLayers, Mapquest and Bing. Geocoding + Directions included.
28
28
  Provides much options: markers customization, infowindows, auto-adjusted zoom, polylines,