No commit activity in last 3 years
No release in over 3 years
This gem provides the MarkerClustererPlus assets for your Rails application.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

THIS GEM IS NO LONGER UPDATED

If you require newer versions of the asset files you can download them from the Github repository.

Intro

MarkerClustererPlus is an enhanced Google Maps V3 implementation of the V2 MarkerClusterer.

This gem vendors the MarkerClustererPlus assets for Rails. The files will be added to the asset pipeline and available for you to use.

The original source can be found here:

MarkerClustererPlus for Google Maps V3

For info on how to use the library see the original documentation:

MarkerClustererPlus reference

Installation

In your Gemfile, add this line:

gem 'markerclustererplus-rails'

You can include it by adding the following to your javascript application file:

//= require markerclusterer

Limitations

Note that to include the MarkerClustererPlus icons in the asset pipeline we override the original configuration for setting the icon properties. This means that changing the following properties will not have any effect when using this gem:

  • imageExtension
  • imagePath

This should not be a problem since the reason to using this gem in the first place is to include everything in the asset pipeline. Should you for some reason want to get the icons from somewhere else it should be possible to override this with the 'styles' property, although we have not tested this ourself.