[maplab-users] links from map to jpg

Zak James zak-ms at hoppsan.org
Fri Jul 30 08:44:29 EDT 2004


You will need to add some symbols to the generated symbol file that 
reference gif or png thumbnails of the jpeg images (make them type 
PIXMAP). Then they can be used as point symbols. If you make up a 
special html query template for your application that has an image tag 
for the corresponding full jpeg file, it can be displayed when you 
query the point. Your query template would have to be set in the layers 
that had used the pixmap symbols and placed relative to the map file in 
the generated gmapfactory application.

This has definitely been done before; maybe some other users can 
provide detailed information. You could also look through the archives 
for the mapserver-users list as this is not maplab specific.

Zak James
Applications and Software Development
DM Solutions Group Inc.

On Jul 30, 2004, at 7:28 AM, Kenneth Slot wrote:

> I have a problem with my mapserver using maplab.
> I have a layer called pics.shp containing hyperlink to some jpg files. 
> and
> the coordinates from where the picture was taken.
> I would like the points to be listet in my map with a special icon, not
> the standard listed in maplab, but with the typical jpg icon so you 
> can se
> its a picture, is this possible, and how?
> Next i would like it to be possible to click on the icon in the map and
> get the choosen picture downloadet in a new  window. Has any one done
> these two things?
> Thanks!
> Kenneth Slot_______________________________________________
> Maplab-users mailing list
> Maplab-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/maplab-users

More information about the Maplab-users mailing list