[mapserver-users] change mouse icon style on the specified layer

Alan Boudreault aboudreault at mapgears.com
Wed May 20 08:45:34 EDT 2009


Hi meenu,

MapServer returns an image to your browser. At this point, there is no more 
"layers". That's only an image. You cannot bind any browser mouse event to a 
specific country or area. You would need OpenLayers + a Vector layer to do 
that.

Thanks,
Alan

On May 20, 2009 08:07:16 am meenu wrote:
> dears ...can anybody help me to change mouse pointer icon as handshape icon
> when the mouse is on the top of the point layers....is it possible?
>
> LAYER
>    NAME "n_123 "
>    TYPE POINT
>    CONNECTIONTYPE OGR
>    CONNECTION "n_123 .TAB"
>    STATUS ON
>    LABELITEM "PLO_900 "
>    CLASS
>       STYLE
>       COLOR 255 0 0
>       OUTLINECOLOR 0 0 0
>       SYMBOL 'ball'
>         END
>         LABEL
>                 COLOR 100 100 255
>                 FONT arial
>                 TYPE TRUETYPE
>                 SIZE 7
>                 POSITION LC
>                 WRAP " "
>         END#LABEL
>   END# CLASS
>   END#LAYER
>
> -----
> Meenu


-- 
Alan Boudreault
Mapgears
http://www.mapgears.com


More information about the mapserver-users mailing list