[Cartoweb-users] exportHtml legend icon

Oliver Christen oliver.christen at camptocamp.com
Wed Apr 9 04:24:22 EDT 2008


well, I presume this was simply never implemented, as stated in the code:

// TODO: Improve icons retrieving (currently very simplified)

regards
Oliver


> Hi,
> there is problem with displaying layer icon in exportHtml plugin.
> Icon is displayed only if is hardly defined in layers.ini by
> layerId.icon = icon.gif
> I use autoclass and icons are not dosplayed.
> I make test:
> In ClientExportHtml.php on line 111 I changed:
>            if (empty($layer->icon)) {
>                $iconUrl = 'problem s ClientExportHtml';
> 
> and now I can see in browser this text instead path to icon.
> I think that $layer->icon is not defined until is not defined hardly in
> layers.ini.
> What is wrong please?
> 
> thanx
> 
> wochter
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>


More information about the Cartoweb-users mailing list