python mapscript - imagemaps and dynamic layer
Didrik Pinte
dpinte at ITAE.BE
Sun Mar 18 05:11:30 PDT 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: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070318/b3ad950d/attachment.sig>
More information about the MapServer-users
mailing list