[mapserver-users] mouseover with mapserver...?
chris.green at ibstv.co.uk
Thu Feb 11 13:23:45 EST 2010
Thanks for your comment (and also to Till Adams).
I would like to use OpenLayers but I have been discouraged by what seems
like erratic behaviour. I had it running successfully for a while and then
it started hanging on start up with an Apache error log message of:
File does not exist: C:/ms4w/apps/ka-map-1.0/htdocs/tools/kaExplorer/images,
All of the files in the images directory seem to be in place..after a while
(and without me changing anything, to my knowledge) it started running
again. Then the next time I tried Kamap it was hanging again. Do you have
any suggestions about why it could be unstable in this way?
From: Lime, Steve D (DNR) [mailto:Steve.Lime at state.mn.us]
Sent: 10 February 2010 17:29
To: chris.green at ibstv.co.uk; mapserver-users at lists.osgeo.org
Subject: RE: [mapserver-users] mouseover with mapserver...?
It's kinda dependent on what client environment you're using. OpenLayers,
for example, has a hover control that you can use to do this. This site uses
that technique to provide tooltips.
Basically if you pause the mouse for n seconds you fire a hover event which
does a MapServer query. Watch the above site in firebug and you'll see 'em.
If the query fails (nothing of interest was found) the no tooltip is
displayed. In the example you mention is relevant to image map creation and
my guess that's not what your after. What client environment are you using?
From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Chris Green
Sent: Wednesday, February 10, 2010 11:07 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] mouseover with mapserver...?
I am using ms4w and have managed to make a number of maps work really well.
However one thing I would really like to implement is a mouseover function
which indicates and/or highlights features without requiring a click. There
is a link to a good example of this on the Mapserver website:
that I have totally failed to make any kind of mouseover work with
mapserver. Can anyone provide the source code of something that works?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mapserver-users