[Mapserver-users] selection hilite_ basic question
Richard Greenwood
rich@greenwoodmap.com
Fri, 28 May 2004 12:58:35 -0600
andre shue wrote:
> Hi Steve and List,
> I am pretty new and unexperienced to the MS, it might be a stupid
> quest... anyway, I got the demo running, changed some layers, but when
> selecting a polygon via itemquery I am not sure. I can do an attribut
> search and also get results via template [area] [name] yet no map. I
> know I can get a map via querymap, but could not go any further on this.
> I dont know how to build up an template with a map, including the
> selected polygon marked and in the centre of the map....
> As the where any examples I would be happy.
> As you have any hints, please remember, I am a Geographer and low level
> programmer.
> Thanks a lot.
Displaying a map is not much different than displaying the attribute
data. But you must have a QUERYMAP definition. For example:
QUERYMAP
STATUS ON
STYLE SELECTED
END
This goes in the map file, not in a layer definition. I usually just use
the same template for all maps on a given site.
--
Richard Greenwood
www.greenwoodmap.com
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users