markerclustererplus-rails 2.0.9 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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/
|
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
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
/**
|
5
5
|
* @name MarkerClustererPlus for Google Maps V3
|
6
|
-
* @version 2.0.
|
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:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 2.0.
|
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-
|
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.
|