[Mapserver-users] QueryMap Problem

Sam Choudry samuzzal at linux.net
Wed May 5 15:12:15 EDT 2004


Hi,
   I successfully implemented the QueryByPoint() a few days back. Now,
I am using the following QueryMap object in my map file to change the
colour of the queried point.

...
QUERYMAP
  STYLE HILITE
  COLOR 255 0 0
END
...
LAYER 
    NAME "pt-barama" 
    DATA "pt-barama"
    TOLERANCEUNITS pixels
    TOLERANCE 5
    STATUS ON
    TYPE POINT 
    CLASS 
      TEMPLATE "ttt-query.html" 
      SIZE 6
      COLOR 82 160 238
      OUTLINECOLOR 82 160 238
      SYMBOL 7 
    END # end of class object
END 
...

And the symbol used is 

Symbol
Name 'circle'
Type ELLIPSE
Filled TRUE
Points
1 1
END
END 


But the colour of the symbol is not changing. Can you give me any 
suggestion regarding this. Bye.

                                                     Samuzzal

_____________________________________________________________
Linux.Net -->Open Source to everyone
Powered by Linare Corporation
http://www.linare.com/



More information about the mapserver-users mailing list