Hi,
I'm using out of the box flexviewer 3.4 search widget, much simple than the enhance search widget. How do I set different zoomscale for each search layer in my xml code. The result did not zoom to the scale I set it to do. Anyone now why?
My xml code
Regards,
Ha Thach
I'm using out of the box flexviewer 3.4 search widget, much simple than the enhance search widget. How do I set different zoomscale for each search layer in my xml code. The result did not zoom to the scale I set it to do. Anyone now why?
My xml code
Code:
<?xml version="1.0" ?>
<configuration>
<layers>
<layer>
<name>PENNDOT</name>
<url>http://172.16.14.141:6080/arcgis/rest/services/PAServices/PA_Search/MapServer/7</url>
<expression>Upper(Streets_desc) LIKE Upper('%[value]%')</expression>
<textsearchlabel>Search By [ Example: ST 04_5 ]:</textsearchlabel>
<titlefield>Group_plus_project</titlefield>
<linkfield></linkfield>
<fields all="false">
<field name="Year_Paved" alias="Year"/>
<field name="Group_plus_project" alias="Group"/>
<field name="SR_LocalName" alias="Street"/>
<field name="MUNICIPALITY" alias="Municipality"/>
</fields>
<zoomscale>24000</zoomscale>
<forcescale>true</forcescale> </layer>
<layer>
<name>PECO</name>
<url>http://172.16.14.141:6080/arcgis/rest/services/PAServices/PA_Search/MapServer/8</url>
<expression>Upper(Streets_desc) LIKE Upper('%[value]%')</expression>
<textsearchlabel>Search By [ Example: Peco Conflict 2012_4 ]:</textsearchlabel>
<titlefield>Streets_desc</titlefield>
<linkfield></linkfield>
<fields all="false">
<field name="Streets_desc"/>
<field name="Year" alias="Year"/>
<field name="MUNICIPALITY" alias="Municipality"/>
</fields>
<zoomscale>4800</zoomscale>
<forcescale>true</forcescale> </layer>
</layers>
<info>widgets/InfoTemplates/InfoPopupWidget.swf</info>
</configuration>
Regards,
Ha Thach