[Geoprisma-dev] mapfishlayertree and initialview

Alexandre Dube adube at mapgears.com
Wed Feb 17 08:31:36 EST 2010


Yves Moisan wrote:
> Do you
> have examples of triggering a "visibilitychanged" event so that the
> corresponding layertree tickbox is ticked after the layer's visibility
> is set to true ?
>   

In widgets/shortcut/ComboBox.js, look for :
  activateResources

Then, in widgets/map/Map.js, look for :
  OpenLayers.Layer.prototype.show

Hope this helps,

-- 
Alexandre Dubé
Mapgears
www.mapgears.com




More information about the Geoprisma-dev mailing list