Hi,
I have to correct myself:
> this.syncHidden = function(objRef);
> var layer = objRef.model.getParam("hidden");
> objRef.model.setHidden(layer);
> }
> this.targetModel.addListener("hidden", this.syncHidden, this);
Replace this with:
this.syncHidden = function(objRef);
var layer = objRef.targetModel.getParam("hidden");
objRef.model.setHidden(layer);
}
this.targetModel.addListener("hidden", this.syncHidden, this);
Regards,
Andreas.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users