[mapserver-users] php mapscript querymap doesnt highlight
Lime, Steve D (DNR)
Steve.Lime at state.mn.us
Tue Aug 14 14:55:30 PDT 2012
How are you creating the image in your code? I mean, what does the code that does the query and generate a query map look like?
Steve
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Jessica Clarke
Sent: Tuesday, August 14, 2012 12:27 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] php mapscript querymap doesnt highlight
Hi,
I'm trying to highlight the queried shape, using mapscript.
It doesn't work if I include the querymap in the mapfile
QUERYMAP
STATUS ON
STYLE HILITE
END
and it doesn't work in the php file
$map->querymap->set('style', 2);
Can someone please give me an example of how to do this?
the feature id is read from the url.
I think I'm missing something really obvious here.
Cheers,
Jess
[FT on Facebook][FT on Twitter]<http://twitter.com/forestrytasmania>[FT You Tube Channel]<http://www.youtube.com/user/forestrytas?feature=results_main>
Forestry creates regional employment:
http://youtu.be/UBIUGiCiX00
Growing tomorrow's high conservation value forests:
http://www.youtube.com/watch?v=wP6XCailI-A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120814/299ed2b0/attachment.htm>
More information about the MapServer-users
mailing list