Hi John, I am not aware of a way to highlight a feature using mode=map, but another technique I use is to create a transparent image that is stacked on top of your main map image. Then use some javascript that set's this top image's src with a URL that looks something like this http://douglas.mapmorph.net/cgi-bin/mapserv.exe?mode=nquerymap&map=/doug las_mapmorph/mapmorph/douglas_queries.map&mapext=632381.525426633+155753 .54781032618+654398.6836237176+172737.2848856585&mapsize=678+523&layers= parcel_query&mapshape=640694.7886986885+169847.12695123293+640694.788698 6885+169848.12695123293+640695.7886986885+169848.12695123293+640695.7886 986885+169847.12695123293&mapsize=678+523
I've found this technique works very well. You can see it working in one of my applications at http://douglas.mapmorph.net/mapmorph/ Hope this helps, Brian Brian Fischer Houston Engineering, Inc. Maple Grove, MN (763) 493-4522 -----Original Message----- From: UMN MapServer Users List [mailto:[EMAIL PROTECTED] On Behalf Of John Cole Sent: Tuesday, April 10, 2007 10:00 AM To: [email protected] Subject: [UMN_MAPSERVER-USERS] highlighting a feature in mode=map Is it possible to highlight a feature when using mode=map? I've tried setting up the qlayer and qstring to select a feature by a gid, but I'm not getting the desired results. What are the recommended ways of highlighting a feature without returning additional information about the feature (I have an ajax call that has already returned that info). Thanks, John -- View this message in context: http://www.nabble.com/highlighting-a-feature-in-mode%3Dmap-tf3553524.htm l#a9921526 Sent from the Mapserver - User mailing list archive at Nabble.com.
