Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hello,
I'm working on displaying KML on maps and during my work, I've spotted a small bug.
It looks like the behavior "Zoom to layer" is not working when the layer is a KML.
It looks like the "loadend" event is not fired in plugins/behaviors/openlayers_behavior_zoomtolayer.js
.
Comment | File | Size | Author |
---|---|---|---|
#2 | openlayers-layer_loadend_ajax-1627032-2.patch | 1.23 KB | jeffschuler |
#1 | openlayers-layer_loadend_ajax-1627032-1.patch | 1013 bytes | jeffschuler |
Comments
Comment #1
jeffschulerfrom zzolo on IRC:
This triggers loadend after features are loaded.
Comment #2
jeffschulerTwo places in geojson feature-loading this needs to happen.
Comment #3
PolJust tested the patch and it works.
Thanks !
Comment #4
PolThanks, committed !
http://drupalcode.org/project/openlayers.git/commit/e02d9b6