[Chameleon] Highlight Query Results from sinlge layer

mariette.hachey#geonet-tech.com mariette.hachey at geonet-tech.com
Wed Jul 16 07:38:39 EDT 2008


Hello,

Yes I have my query widget set up to use highlightresults.
The features do get highlighted, just too many of them and from too many
layers.

I have many layers (lines, points and polygons) all turned on at once (using
a checkbox).
Each layer has a radio button associated with it so I can choose which layer
I wish to query. Lets say I query the very top layer and it's a point
feature, so I turn on the radio button. I select the query tool and click on
the point. The results in the pop up are correct and only the results from
the point layer I have select with its radio button are returned. (I edited
the legend_template to accomplish this). The problem is in what gets
highlighted. The point is highlighted but so is every single feature that
lies directly underneath it from all the layers that are turned on.
I only want the point feature that I have the radio button on for, to get
highlighted.

I use ms4w 2.2.6 on an xp machine with chameleon 2.5.

Thank You 
Mariette

-----Original Message-----
From: chameleon-bounces at lists.maptools.org
[mailto:chameleon-bounces at lists.maptools.org] On Behalf Of Julien-Samuel
Lacroix
Sent: Tuesday, July 15, 2008 4:50 PM
To: mariette.hachey#geonet-tech.com
Cc: chameleon at lists.maptools.org
Subject: Re: [Chameleon] Highlight Query Results from sinlge layer

Hi,

Did you try the following widget option?
<cwc2 type="Query" HIGHLIGHTRESULTS="true" ...

Julien

mariette.hachey#geonet-tech.com wrote:
> Greetings,
> 
>  
> 
> I have a mapping application that utilizes a radio button in the legend 
> in order to query only one layer at a time.
> 
> The results in the query pop up page are accurate.
> 
>  
> 
> The issue is that when I have many layers turned on, the query point 
> will select all features from all layers(that are turned on) at that 
> point and highlight them all.
> 
> I would like only the features from the queriable layer to be highlighted.
> 
> I can not find the highlight function anywhere in the files or how this 
> process is occurring.
> 
> Any suggestions would be appreciated.
> 
>  
> 
> Thank You
> 
> Mariette Hachey
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon

-- 
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/
_______________________________________________
Chameleon mailing list
Chameleon at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/chameleon




More information about the Chameleon mailing list