Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am building a flex web map app. I am using the Identify tool version 3, here. Below is the syntax I am using, based on the PDF help file. It, however, gives a 1085 error. Does anyone know if I am using the correct syntax?

<layers onlythese="true">
    <layer>
        <name>Australia offices</name>
        <fields>
            <field name="Address" />
                            <field name="City" />
                            <field name="State" />
                            <field name="Postcode" />
                    </fields>
        <links>
            <link includeinresults="false" field="" alias="" tooltip=""/> 
                <linkprefix></linkprefix>
                <linksuffix></linksuffix>
                <iconfield></iconfield>
                <iconprefix></iconprefix>
                <iconsuffix></iconsuffix>
            </link>
        </links>
        <zoomscale>15000</zoomscale>
        <forcescale>true</forcescale>
             </layer>
             <layer>
                    <name>QLD rail</name>
        <fields>
            <field name="FNAME" alias="Name"/>
                            <field name="ELECTRIFIE" alias="Electrified"/>
                    </fields>
        <links>
            <link includeinresults="false" field="" alias="" tooltip=""/> 
                <linkprefix></linkprefix>
                <linksuffix></linksuffix>
                <iconfield></iconfield>
                <iconprefix></iconprefix>
                <iconsuffix></iconsuffix>
            </link>
        </links>
        <zoomscale>15000</zoomscale>
        <forcescale>true</forcescale>
    </layer>
</layers>
share|improve this question
    
Did you try including the shape field in your fields collection? –  Kirk Kuykendall Oct 16 '12 at 0:09
    
Hi Kirk - actually this question can be deleted as there as a syntax error elsewhere in the widget config. I have more problems with this widget though and may ask more questions if I can't get any answers from the developer. –  ndthl Oct 16 '12 at 5:34
    
If you feel this question should be deleted, please do so. –  Kirk Kuykendall Oct 16 '12 at 13:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.