[Cartoweb-users] Retrieving activated layers

Alexandre Saunier alexandre.saunier at camptocamp.com
Tue Feb 20 14:02:17 EST 2007


Hello,
you're lucky: ClientLayers::getSelectedLayers() has been switched from 
protected to public in CartoWeb CVS version 6 days ago! ;)
AS

Dirk Jesko wrote:
> Hello,
> 
> I created a new plugin (simpleQuery) based on the query plugin. Within 
> the PHP code (client-side - ClientSimpleQuery.php) of that plugin, I 
> would like to get all active layers. I thought about calling 
> ClientLayers::getSelectedLayers(), but that one is protected. Is there 
> any other way to retrieve the activated layers from within 
> ClientSimpleQuery.php?


More information about the Cartoweb-users mailing list