[Chameleon] howto set default active layer

Paul Spencer pspencer at dmsolutions.ca
Tue Jan 18 20:52:25 EST 2005


Hi John,

thanks for finding this.  I've committed a fix to both 2.0 and 2.1 in CVS.

For the record, I included your comments in bug 931.  Not sure if you 
have a bugzilla account so I didn't cc you on this short-lived bug :)

http://www.maptools.org/bugzilla/show_bug.cgi?id=931

Cheers

Paul

John Pulles wrote:
> Hi list,
> 
> The reason the "selected" thing didn't work, was a typo bug in file 
> SelectLayers.widget.php at line 215 (of the Chameleon-2.0 version). The 
> variable name should be $bHasSelection instead of $bHasSelected.
> 
> Greetings,
> John.
> 
> John Pulles wrote:
> 
>> Hi list,
>>
>> I've been doing some struggling with setting the default layer NOT 
>> equal to layer 0. It seems to me that this must be possible without 
>> tampering the code. However, setting metadata parameter "selected" to 
>> "1" for the specific layer does not help. I'm using Chameleon 1.99beta2.
>>
>> Regards,
>> John Pulles.
>>
>> _______________________________________________
>> Chameleon mailing list
>> Chameleon at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/chameleon
>>
>>
>>
> 
> 
> 
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
> 

-- 
+-----------------------------------------------------------------+
|Paul Spencer                           pspencer at dmsolutions.ca   |
+-----------------------------------------------------------------+
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+


More information about the Chameleon mailing list