[Mapserver-users] Mouse Over

Steve Lime steve.lime at dnr.state.mn.us
Wed Feb 18 22:46:07 PST 2004


I don't know squat about the imagemap output function. As Atilla said
it's on the experimental side. I do have an alternative using queries
and the [shpxy...] tag that may be of interest. It's pretty flexible and
usable from the CGI application. I'll post an example on the DNR
machines tomorrow (can't get to them tonite).

Steve

>>> "Charlton Purvis" <cpurvis at asg.sc.edu> 02/17/04 11:52 AM >>>
Hi, Steve:

Checked out the overlib URL you sent below, and I must admit it's slick.

I'm a little lost, though, what library do I need to make sure I have
installed and part of my ./configure?

I'm trying to monkey around w/ imagemap, a la the Wiki post:
  OUTPUTFORMAT
    NAME imagemap
    MIMETYPE "text/html"
    DRIVER imagemap
  END

But a shp2img gives me a:
msDrawMap(): GD library error. Unable to initialize image.

Running 4.0.1 and gd-2.0.15.

My MS build looks like it put mapimagemap.c into my libmap.a.  Any
hints?

Thanks,

Charlton

> -----Original Message-----
> From: Steve Lime [mailto:steve.lime at dnr.state.mn.us]
> Sent: Tuesday, February 10, 2004 12:51 PM
> To: pucher at atlas.gis.univie.ac.at; mapserver-users at lists.gis.umn.edu;
> bartvde at xs4all.nl
> Subject: Re: [Mapserver-users] Mouse Over
> 
> Hi all: The mapimage w/XML software was really more a
proof-of-concept.
> I never took it any further than that. The source is around if you're
> interested. There are other possibilities as well. For example, in 4.0
> there actually is a imagemap output object (see
> http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?ImageMap) but I don't
know
> much about it. In 4.1 there is the [shpxy] tag and I've been planning
to
> add an attribute to allow you to output coordinates in IMAGE
> coordinates. That way you could build an imagemap on the fly via the
> CGI. It could also be used to populate DHTML popup objects (e.g.
> http://www.bosrup.com/web/overlib/).
> 
> Would be happy to discuss further.




More information about the MapServer-users mailing list