python mapscript - imagemaps and dynamic layer

Didrik Pinte dpinte at ITAE.BE
Sun Mar 18 08:11:30 EDT 2007


Hi,

I'm trying to create an imagemap based on a layer create dynamically
with mapscript.

I've read that to get the id's of the objects into the imagemap I need
to use the FILTERITEM in the mapfile but with a dynamic layer, all the
objects are created using shapeObj and I cannot add attributes to them.
So my imagemap is the following : 

<map name="map1" width="500" height="300">
<area href="" title="" shape="poly" coords=" 47,38, 52,28, 57,38,
47,38" />
<area href="" title="" shape="poly" coords=" 218,106, 223,96, 228,106,
218,106" />
</map>

How is it possible to output some identifier of the shapeObj in the
imagemap ?

Thanks

Didrik

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070318/b3ad950d/attachment.bin


More information about the mapserver-users mailing list