Skip to content

Provides the MarkerClustererPlus assets for your Rails application.

Notifications You must be signed in to change notification settings

RogerE/markerclustererplus-rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Provides the MarkerClustererPlus assets for your Rails application.

Resources

Stars

Watchers

Forks

Packages

No packages published