[mapserver-users] Making border thick on selecting shape...
Atul Dravid
atul.dravid at iworktech.com
Mon Apr 7 22:19:55 PDT 2008
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 <ltrevinoh at gmail.com> 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 <atul.dravid at iworktech.com>:
> > 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
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
> >
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080408/a643dd2a/attachment.htm>
More information about the MapServer-users
mailing list