Draw a Querybyfeature with 'hilite' style (php, mapscript)
CATHIGNOL, Frederic
Frederic.CATHIGNOL at astrium-space.com
Mon Nov 26 01:21:41 PST 2001
Hello from France;
I do query and then a querybyfeature and I would like to draw (with 'hilite'
style) only the queried shapes and not the shapes which have been used to do
the query by feature.
For the moment, if I use a $img = $Map->drawQuery, It is drawing all the
queried shapes + the shapes used to do the query.
I tried $layer->drawQuery($img) but it is exactly like the
$layer->draw($img). It does not drawing the queried shapes in hilite.
So my questions are :
1) Do you know a method, after the querybyfeature to suppress the shapes
which have been used to do the query by feature. So there are not drawn with
'hilite' style.
OR
2) Do you know how to use $layer->drawQuery to draw the Query of the layer
with 'hilite' style and not like $layer->draw.
Many thanks...
Thanks Guys for your help to a french developper !
(frederic.cathignol at bigfoot.com)
Best regards,
F.CATHIGNOL
More information about the MapServer-users
mailing list