markerclustererplus-rails 2.0.14 → 2.0.15

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/tags/markerclustererplus/2.0.14/docs/reference.html)
8
+ [MarkerClustererPlus for Google Maps V3](http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerclustererplus/2.0.15/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.14"
3
+ VERSION = "2.0.15"
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.14 [May 16, 2012]
6
+ * @version 2.0.15 [October 18, 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.
@@ -780,7 +780,9 @@ MarkerClusterer.prototype.onRemove = function () {
780
780
 
781
781
  // Put all the managed markers back on the map:
782
782
  for (i = 0; i < this.markers_.length; i++) {
783
- this.markers_[i].setMap(this.activeMap_);
783
+ if (this.markers_[i].getMap() !== this.activeMap_) {
784
+ this.markers_[i].setMap(this.activeMap_);
785
+ }
784
786
  }
785
787
 
786
788
  // Remove all clusters:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markerclustererplus-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.14
4
+ version: 2.0.15
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-21 00:00:00.000000000 Z
12
+ date: 2012-10-19 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: This gem provides the MarkerClustererPlus assets for your Rails application.
15
15
  email:
@@ -51,7 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
51
51
  version: '0'
52
52
  requirements: []
53
53
  rubyforge_project: markerclustererplus-rails
54
- rubygems_version: 1.8.17
54
+ rubygems_version: 1.8.24
55
55
  signing_key:
56
56
  specification_version: 3
57
57
  summary: Use MarkerClustererPlus with Rails Asset Pipeline