Problem/Motivation

The MarkerClusterer library supports to define the option ImagePath: https://github.com/googlemaps/js-marker-clusterer/blob/gh-pages/README.md
Allowing to define this would make it much easier / cleaner to style the cluster images.

Proposed resolution

Introduce a new configuration variable (gsl_cluster_image_path).
The variable defaults to libraries_get_path('markerclusterer') . '/images/m' - which will point to the default images provided by the MarkerClusterer library.
Pass new variable into the JS and use it when creating a new MarkerClusterer instance.

Remaining tasks

Reviews needed.

User interface changes

New config option in the settings page.

API changes

None

Data model changes

None

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

das-peter created an issue. See original summary.

  • rodrigoeg committed af83957 on 7.x-1.x authored by das-peter
    Issue #2776401 by das-peter: Allow to defined MarkerClusterer ImagePath
    
rodrigoeg’s picture

Status: Needs review » Reviewed & tested by the community

Thanks @das-peter
I committed the patch on the dev branch

rodrigoeg’s picture

Status: Reviewed & tested by the community » Fixed

  • rodrigoeg committed 10c2561 on 7.x-1.x authored by das-peter
    Issue #2776401 by das-peter, rodrigoeg: Allow to defined MarkerClusterer...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.