Thanks Luis for your replay...

Only the fact that i was having wrong approach and hence my question was
also wrong..

I feel I should share with you what I was trying to do...

1) Load the map
2) Have a click event on map shapes.
3) Highlight the selected shape with making border of different color.
4) Show the map again.

This I achieved using Map Script and PHP... I used a templayer to copy the
shapes from original map layer on the templayer on mouse click, create the
image of templayer and pasted it on original map... For templayer I selected
the outlinecolor to RED instead of default color... This did the trick...



On Mon, Apr 7, 2008 at 10:46 PM, Luis Treviño <[EMAIL PROTECTED]> wrote:

> you can try something like this:
>
> LAYER
>  NAME "layername"
>  TYPE polygon
>  ...
>  CLASS
>   STYLE
>     COLOR 255 255 0
>     OUTLINECOLOR 255 0 0
>     WIDTH 4
>   END
>  END
> END
>
> regards,
> Luis
>
>
> 2008/4/5, Atul Dravid <[EMAIL PROTECTED]>:
>  > Dear All,
> >
> > I am developing mapserver based application on Windows platform. The map
> is
> > rendered properly as per the tutorial. Also I can also capture the shape
> in
> > the layer on which user is clicking the mouse. I would like the border
> of
> > this shape to be converted to Red color and with more thickness.
> >
> > Anyone has done this ?
> >
> > Thanks in advance,
> > _______________________________________________
> >  mapserver-users mailing list
> >  [email protected]
> >  http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
> >
> _______________________________________________
> mapserver-users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to