[ka-Map-users] Bug in layer status

Paul Spencer pspencer at dmsolutions.ca
Wed Mar 15 10:32:06 EST 2006


Good catch ... fixed in cvs by changing init.php to use visible  
instead of status.


thanks,

Paul

On 14-Mar-06, at 12:41 PM, David Badke wrote:

> In the latest cvs version of init.php, the layer status is passed  
> with:
>
>         $szLayers .= "map.addLayer(new _layer( { ".
>                      "name:'".$groupName."',".
>                      "status:".$status.",".          <------- name  
> is 'status'
>                      "opacity:".$opacity.",".....
>
> but in the latest cvs version of kamap.js, it is accessed with:
>
>     this.visible = (typeof(o.visible) != 'undefined') ? o.visible :  
> true;       <-------- name is 'visible'
>
> This, of course, does not work; o.visible is always undefined and  
> visible is always set to true.
>
> David
> -- David Badke Humanities Computing and Media Center University of  
> Victoria, BC, Canada
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users

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






More information about the ka-Map-users mailing list