Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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 :)
Comment | File | Size | Author |
---|---|---|---|
#4 | openlayers-zoom-to-layer-cluster-zoom-3.patch | 1.46 KB | acbramley |
#2 | openlayers-zoom-to-layer-cluster-zoom-2.patch | 1.46 KB | acbramley |
openlayers-zoom-to-layer-cluster-zoom.patch | 1.47 KB | acbramley | |
Comments
Comment #1
acbramley CreditAttribution: acbramley commentedComment #2
acbramley CreditAttribution: acbramley commentedSorry previous patch caused error with single point that wasn't a cluster.
Comment #3
PolSeems good, I will probably commit this in the afternoon.
Btw, what do you mean by: "acculate" ? Is it a typo ? You meant "accumulate" ?
Comment #4
acbramley CreditAttribution: acbramley commentedWoops yeah that's a typo, here's an updated version
Comment #5
PolCommitted, thanks !