[mapserver-users] ---> zooming (rectangular) on an image with USEMAP references <---

Azimuth, Erwin Perik perik at azimuth.nl
Tue Dec 18 02:35:35 PST 2001


Hi All,

Created an image using a USEMAP like following:

MAP NAME="points">
<AREA
    HREF="#" ALT="info about the point" TITLE="Products"
    SHAPE=CIRCLE COORDS="251,143,50"
 >
.....repeated for every POINT in a shape
</MAP>

//creating image:
echo"<IMG SRC=$url USEMAP=#points BORDER=0 WIDTH=$gpoMap->width 
HEIGHT=$gpoMap->height NAME=clickmap";


USEMAP=#points --> creates circle-references for every point. Circle (50 
radius) around the coordinates of the point.
When hovering over the created circle-reference info is displayed (ALT).

'Normal' image would look something like:
echo"<INPUT TYPE=image SRC=$url BORDER=0 WIDTH=600 HEIGHT=450 NAME=zoommap>";

Difference between 'normal' and the one with the USEMAP is that it's not 
<INPUT TYPE=.......>

How can i zoom rectangular on the created circle-reference-map?

Thanks,

Erwin





More information about the MapServer-users mailing list