[mapserver-users] change mouse icon style on the specified layer
Fawcett, David
David.Fawcett at state.mn.us
Wed May 20 06:41:27 PDT 2009
If you only need to create your map as a static image (with no pan and
zoom), you could use MapServer to generate a html imagemap. See the
documentation here: http://mapserver.org/output/imagemaps.html
Most people these days are using openlayers http://www.openlayers.org or
another javascript library to do this. A lot of people are using
OpenLayers to build their map interfaces, I recommend that you check it
out.
David.
-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Alan
Boudreault
Sent: Wednesday, May 20, 2009 7:46 AM
To: mapserver-users at lists.osgeo.org
Cc: meenu
Subject: Re: [mapserver-users] change mouse icon style on the specified
layer
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 _______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list