[Users] Tree node disabling with min/max scale
Alexandre Dube
adube at mapgears.com
Thu Oct 21 20:14:11 CEST 2010
Matt,
Like I mentioned, I would need this feature rather quickly. Do you
wish to do the fix ? If not, I'm willing to make the changes (with the
appropriate ticket + patch).
Andreas, do you agree with the change or would you rather see it as a
plugin as Pierre and Matt proposed ?
Alexandre
On 10-10-21 01:58 PM, Matt Priour wrote:
> Good plan, I like that idea.
> Matt Priour
>
> --------------------------------------------------
> From: "Alexandre Dube" <adube at mapgears.com>
> Sent: Thursday, October 21, 2010 12:33 PM
> To: "Matt Priour" <mpriour at kestrelcomputer.com>
> Cc: "Andreas Hocevar" <ahocevar at opengeo.org>; "GeoEXT Users"
> <users at geoext.org>
> Subject: Re: [Users] Tree node disabling with min/max scale
>
>> The 'visibilitychanged' event would be used as usual, but for the
>> disabling/enabling we only need to check the 'inRange' property of
>> the layer. If it's set to false and it's not a base layer, disable
>> the node, else enable it. That way, it would prevent the issue you
>> mentioned.
>>
>> Alexandre
>>
--
Alexandre Dubé
Mapgears
www.mapgears.com
More information about the Users
mailing list