markerclustererplus-rails 2.0.15.2 → 2.0.16
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.
- checksums.yaml +6 -14
- data/README.md +7 -3
- data/app/assets/javascripts/markerclusterer.js.erb +3 -2
- data/lib/markerclustererplus-rails/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
MzRjZjAxYzg0NTc5MjBlNmYzODI3ZTdlY2NmMzkyODM0ZGM3NjRlZDc4MWQ4
|
10
|
-
MjYxYTJjNzdkM2Y4NWNmYzk4OGViZGNmZTBjODBlZTc4YmU3OWFhYzNmN2Y5
|
11
|
-
Yzg2MmE1ODQwZWQyNmU3NDMxMTNkZjA3YzRhZTcxMzU1OTVjZTE=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
NDU3YTU3YmRlNmI4YjU3ZWI4ODg1NjcwNmU5ZTMzZTYzYjJjZGMyNmE2NzAy
|
14
|
-
MDVhMzk3NTZmMzliYjdiNDZkNjE5YTI1OGI3ZDBmYzliMGI5YjJmMWZmNjg5
|
15
|
-
MmI2Yzg5ZTBkMmY3OGI0NTdmMTNmNjY0NzUwYmIxMjBlMzJkNzM=
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1be49395941d961b1fd2240d44acc26ebdd2272a
|
4
|
+
data.tar.gz: 2682daca5b400f2a8c911c01cafb0f42b384837f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4dd7079e75a5207ab6833ac742e03d52a4f98833ca0893e2b2b464aa37778bf9b4c99ba826d2b780024ef566136d69bf452fb13c2af97dcf1560a2ee1e686d14
|
7
|
+
data.tar.gz: 4ee8df2ea96dd4ced37bcfb31399146f44ff053f42078bf0d798c0c4cec6ee0c75cf631bb259eb2fe3b1fd41e72ce0c58ebb3c7fe84a0b19ddb9e07de0d0207b
|
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.
|
8
|
+
[MarkerClustererPlus for Google Maps V3](http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerclustererplus/2.0.16/docs/reference.html)
|
9
9
|
|
10
10
|
MarkerClustererPlus is an enhanced Google Maps V3 implementation of the V2 MarkerClusterer.
|
11
11
|
|
@@ -13,11 +13,15 @@ MarkerClustererPlus is an enhanced Google Maps V3 implementation of the V2 Marke
|
|
13
13
|
|
14
14
|
In your Gemfile, add this line:
|
15
15
|
|
16
|
-
|
16
|
+
```ruby
|
17
|
+
gem 'markerclustererplus-rails'
|
18
|
+
```
|
17
19
|
|
18
20
|
You can include it by adding the following to your javascript file:
|
19
21
|
|
20
|
-
|
22
|
+
```javascript
|
23
|
+
//= require markerclusterer
|
24
|
+
```
|
21
25
|
|
22
26
|
The gem is Rails 4 compatible from version 2.0.15.2 and up.
|
23
27
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
/**
|
5
5
|
* @name MarkerClustererPlus for Google Maps V3
|
6
|
-
* @version 2.0.
|
6
|
+
* @version 2.0.16 [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.
|
@@ -138,7 +138,7 @@ ClusterIcon.prototype.onAdd = function () {
|
|
138
138
|
this.getPanes().overlayMouseTarget.appendChild(this.div_);
|
139
139
|
|
140
140
|
// Fix for Issue 157
|
141
|
-
google.maps.event.addListener(this.getMap(), "bounds_changed", function () {
|
141
|
+
this.boundsChangedListener_ = google.maps.event.addListener(this.getMap(), "bounds_changed", function () {
|
142
142
|
cDraggingMapByCluster = cMouseDownInCluster;
|
143
143
|
});
|
144
144
|
|
@@ -217,6 +217,7 @@ ClusterIcon.prototype.onAdd = function () {
|
|
217
217
|
ClusterIcon.prototype.onRemove = function () {
|
218
218
|
if (this.div_ && this.div_.parentNode) {
|
219
219
|
this.hide();
|
220
|
+
google.maps.event.removeListener(this.boundsChangedListener_);
|
220
221
|
google.maps.event.clearInstanceListeners(this.div_);
|
221
222
|
this.div_.parentNode.removeChild(this.div_);
|
222
223
|
this.div_ = null;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: markerclustererplus-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RogerE
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: This gem provides the MarkerClustererPlus assets for your Rails application.
|
14
14
|
email:
|
@@ -39,17 +39,17 @@ require_paths:
|
|
39
39
|
- lib
|
40
40
|
required_ruby_version: !ruby/object:Gem::Requirement
|
41
41
|
requirements:
|
42
|
-
- -
|
42
|
+
- - '>='
|
43
43
|
- !ruby/object:Gem::Version
|
44
44
|
version: '0'
|
45
45
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- -
|
47
|
+
- - '>='
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: '0'
|
50
50
|
requirements: []
|
51
51
|
rubyforge_project: markerclustererplus-rails
|
52
|
-
rubygems_version: 2.
|
52
|
+
rubygems_version: 2.1.9
|
53
53
|
signing_key:
|
54
54
|
specification_version: 4
|
55
55
|
summary: Use MarkerClustererPlus with Rails Asset Pipeline
|