Closed (fixed)
Project:
Openlayers
Version:
6.x-2.x-dev
Component:
Behaviors
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Jun 2010 at 10:09 UTC
Updated:
14 Jul 2010 at 14:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
zzolo commentedChanging to feature request as I dont really consider this a bug. Thanks for catching this, though.
Comment #2
strk commentedThe attached patch implements the requested features.
I took the chance to also rewrite the nested loop used to decide which controls to allow, which sounded pretty convoluted to me.
PS: this was tested against a local copy of OpenLayers-2.9.1, which should be the same of the online API.
Comment #3
strk commentedSorry for changing back to bug report, was unintentional (altougth I would consider it a bug :P)
Comment #4
tmcw commentedLooks good - not sure about the validHandler array though, it seems like the kind of thing that should be a function so that down the line we might use filter() to do this loop.
Comment #5
strk commentedI won't be modifying the patch. Improvements are always good, but blocking on it isn't :)
Comment #6
tmcw commentedCommitted: http://drupal.org/cvs?commit=386296