imagemaps with mapscript

Robert Chavez rchavez at perseus.tufts.edu
Fri Mar 10 09:38:44 EST 2000


Greetings,

I'm using mapscript to draw building polygons on a basemap; users can
select building names/types from an interface - mapscript pulls the
appropriate polygon data from a Postgres database, creates a shapefile
and adds and draws the polygon as a layer to the overall map.

What I'd like to do is create a client side image map out of these
building polygons.  Obviously, the polygon geo-coordinates are easy to
access, but is there some way to access the corresponding image
coordinates that get created when the polygon layer is rendered by
mapscript/mapserver?  There's probably an easy way to calculate what the
corresponding image coordinates would be, but I'm just not seeing it.
Any ideas?

Thanks,
Rob Chavez
rchavez at perseus.tufts.edu






More information about the mapserver-users mailing list