markerclustererplus-rails 2.0.9 → 2.0.10

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -5,7 +5,7 @@ The files will be added to the asset pipeline and available for you to use.
5
5
 
6
6
  For info on how to use the library see the original documentation:
7
7
 
8
- [MarkerClustererPlus for Google Maps V3](http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerclustererplus/2.0.9/docs/reference.html)
8
+ [MarkerClustererPlus for Google Maps V3](http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclustererplus/docs/reference.html)
9
9
 
10
10
  MarkerClustererPlus is an enhanced Google Maps V3 implementation of the V2 MarkerClusterer.
11
11
 
@@ -1,5 +1,5 @@
1
1
  module Markerclustererplus
2
2
  module Rails
3
- VERSION = "2.0.9"
3
+ VERSION = "2.0.10"
4
4
  end
5
5
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  /**
5
5
  * @name MarkerClustererPlus for Google Maps V3
6
- * @version 2.0.9 [February 20, 2012]
6
+ * @version 2.0.10 [February 29, 2012]
7
7
  * @author Gary Little
8
8
  * @fileoverview
9
9
  * The library creates and manages per-zoom-level clusters for large amounts of markers.
@@ -734,8 +734,8 @@ MarkerClusterer.prototype.onAdd = function () {
734
734
  // zoom slider is clicked, a "zoom_changed" event is fired even though
735
735
  // the map doesn't zoom out any further. In this situation, no "idle"
736
736
  // event is triggered so the cluster markers that have been removed
737
- // do not get redrawn.
738
- if (this.getZoom() === 0) {
737
+ // do not get redrawn. Same goes for a zoom in at maxZoom.
738
+ if (this.getZoom() === 0 || this.getZoom() === this.get("maxZoom")) {
739
739
  google.maps.event.trigger(this, "idle");
740
740
  }
741
741
  }),
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markerclustererplus-rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 9
10
- version: 2.0.9
9
+ - 10
10
+ version: 2.0.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - RogerE
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-03-08 00:00:00 Z
18
+ date: 2012-03-16 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
21
  description: This gem provides the MarkerClustererPlus assets for your Rails application.