This feature request pertains to the Zoom to layer behaviour. In my current project I found it necessary to implement a function which automatically zoomed into a cluster when the layer only contained a single feature which was a cluster. I thought this might be a nice enhancement for the behaviour itself so I've implemented it as a patch to this module.

Please review and let me know of any changes that can improve it, or if you like it feel free to commit :)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

acbramley’s picture

Status: Active » Needs review
acbramley’s picture

Sorry previous patch caused error with single point that wasn't a cluster.

Pol’s picture

Assigned: Unassigned » Pol

Seems good, I will probably commit this in the afternoon.

Btw, what do you mean by: "acculate" ? Is it a typo ? You meant "accumulate" ?

acbramley’s picture

Woops yeah that's a typo, here's an updated version

Pol’s picture

Status: Needs review » Fixed

Committed, thanks !

Status: Fixed » Closed (fixed)

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