problem with zoom to selected object
Tomasz Wlaz?owski
wlazlowski at IGPIK.WAW.PL
Tue Aug 31 08:25:22 PDT 2004
I try to obtain (in main map window) zoomed view to selected object from drop down list
based on shape file.
I'm wondering how obtain it using mapserver
ver.4.01 + javascript?
I use class_expression mode:
<input type="hidden" name="layer" value="Qroads">
<input type="hidden" name="map_Qroads_class_expression value = "[STREET]">
<SELECT value="1" NAME="map_Qroads_class_expression"
onchange="javascript:Doit();">
<OPTION value="none"> select street </OPTION>
<OPTION value="abc">street_A</OPTION>
<OPTION value="cde">street_B</OPTION>
<OPTION value="efg">street_C</OPTION>
As You can see I have a layer named 'Qroads' and so far I know how to
pass to app ID value from [STREET] COLUMN to see selected object in main
map. Next step that I need to do is pass its extends to obtain zoomed
map to this object.
Could any body give me some short instructions, ideas?
Tomasz Wlazlowski
wlazlowski at igpik.waw.pl
.
More information about the MapServer-users
mailing list