markerclustererplus-rails 2.1.1 → 2.1.2
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 +4 -4
- data/README.md +1 -1
- data/app/assets/javascripts/markerclusterer.js.erb +11 -1
- data/lib/markerclustererplus-rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9c53de974b2bb247038c523cad343287792ae6e6
|
|
4
|
+
data.tar.gz: b1f11fe870401d0af7f5d77da5ecf9fd2cfe6be1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bac324b2c147f2749fbfe77a962319467debfe8843bfdc8fa7f91f893d44142a9f9a00789d24872bac1e64d0e6bf9c77989082c9f3c70cfac97777c0028585f0
|
|
7
|
+
data.tar.gz: 971aa9c4df3e9ce908a49df9f3584d9bc191991c3bfe3f93b93278f26c2aa26b5dde8f9aeb72403eeca00af7e78c5342155e302a7bf407dac3a5f72a7337c903
|
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.1.
|
|
8
|
+
[MarkerClustererPlus for Google Maps V3](http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerclustererplus/2.1.2/docs/reference.html)
|
|
9
9
|
|
|
10
10
|
MarkerClustererPlus is an enhanced Google Maps V3 implementation of the V2 MarkerClusterer.
|
|
11
11
|
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* This file modified for use with the Rails asset pipeline
|
|
26
26
|
* https://github.com/RogerE/markerclustererplus-rails
|
|
27
27
|
* gem markerclustererplus-rails
|
|
28
|
-
* gem version 2.1.
|
|
28
|
+
* gem version 2.1.2
|
|
29
29
|
* @author Roger Ertesvag
|
|
30
30
|
* NOTE: to include the MarkerClustererPlus icons in the asset pipeline the gem overrides
|
|
31
31
|
* the original configuration for setting the icon properties. This means that changing
|
|
@@ -1653,6 +1653,16 @@ MarkerClusterer.IMAGE_EXTENSION = "png";
|
|
|
1653
1653
|
*/
|
|
1654
1654
|
MarkerClusterer.IMAGE_SIZES = [53, 56, 66, 78, 90];
|
|
1655
1655
|
|
|
1656
|
+
if (typeof String.prototype.trim !== 'function') {
|
|
1657
|
+
/**
|
|
1658
|
+
* IE hack since trim() doesn't exist in all browsers
|
|
1659
|
+
* @return {string} The string with removed whitespace
|
|
1660
|
+
*/
|
|
1661
|
+
String.prototype.trim = function() {
|
|
1662
|
+
return this.replace(/^\s+|\s+$/g, '');
|
|
1663
|
+
}
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1656
1666
|
// START rails modification
|
|
1657
1667
|
// get host js file is served from
|
|
1658
1668
|
var scriptList = document.getElementsByTagName('script');
|
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.1.
|
|
4
|
+
version: 2.1.2
|
|
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-12-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: This gem provides the MarkerClustererPlus assets for your Rails application.
|
|
14
14
|
email:
|