[Chameleon] How to set active layer with XMLThemeLegend
Matthew Edmondson
matt0177 at gmail.com
Wed Sep 7 09:53:45 EDT 2005
Here is how I call my LayerManager
<cwc2 type="LayerManager" styleresource="TextButtons"
Visible="true"
Image="./images/icon_open.png"
ImageTip="layermanager"
popupwidth="700"
popupheight="500"
LABEL="layermanager" >
<image state="normal"/>
<image state="selected"/>
<image state="hover"/>
</cwc2>
When trying to use LayerManager to change to change to any other active
layer, I get the following errors.
*Warning*: [MapServer Error]: loadOutputFormat(): Parsing error near
(;):(line 15) in *
C:\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php* on line *215*
*Warning*: Failed to open map file /ms4w/tmp/sess_431eed579b74c/1126100988-
1582.map in *C:\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php*on
line
*215*
*Fatal error*: Call to a member function on a non-object in *
C:\ms4w\apps\chameleon\htdocs\widgets\LegendTemplateLM\LegendTemplateLM.widget.php
* on line *81*
**
**
*Thanks,*
**
*Matt*
On 9/6/05, Paul Spencer <pspencer at dmsolutions.ca> wrote:
>
> It *should* be possible but I have never actually tried it. Can you
> provide more details on the error message?
>
> Paul
>
> Matthew Edmondson wrote:
> > I'm using the XMLThemeLegend widget for my main legend on my map. I
> > added a second popup html legend but when I try to set a layer as the
> > active layer for expresionbuilder, etc., I just get an error.
> >
> > Is there a way to define a wms/wfs as the active layer (again, for
> > expressionbuilder, etc.) while using a XMLThemeLegend.
> >
> > Thanks,
> >
> > Matt
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Chameleon mailing list
> > Chameleon at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/chameleon
>
> --
> +-----------------------------------------------------------------+
> |Paul Spencer pspencer at dmsolutions.ca |
> +-----------------------------------------------------------------+
> |Applications & Software Development |
> |DM Solutions Group Inc http://www.dmsolutions.ca/|
> +-----------------------------------------------------------------+
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20050907/2f5f2f7e/attachment-0001.html
More information about the Chameleon
mailing list