Select to view content in your preferred language

Arcgis viewer for flex ,Thematic widgets

2827
0
08-21-2015 01:58 AM
karimlaaribi
Deactivated User

Lors de mon éxécution de ma widget thematic un message d'erreur MISSING classification field malgré que j'ai spécifié une classification selon un ID.

le code en locale ci dessous illustre mon problème

Merci pour votre aide

<configuration>

    <layers>

        <layer>

            <url>http://localhost:6080/arcgis/rest/services/MapPopulation/MapServer</url>

            <name>Population</name>

            <classificationLayerName>GOUVERNORAT</classificationLayerName>

            <classificationLayerID>0</classificationLayerID>

          <classificationFieldTypeDescs>ID</classificationFieldTypeDescs>

            <classificationMethodTypeDescs>AREA,GOV_ID,ID,NAME_FR,POPULATION,POST_CODE</classificationMethodTypeDescs>

            <classificationMethodTypes>esriClassifyAREA,esriClassifyGOV_ID,esriClassifyID,esriClassifyNAME_FR,esriClassifyPOPULATION,esriClassifyPOST_CODE,esriClassify</classificationMethodTypes>

           

            <classificationBreaksDefault>5</classificationBreaksDefault>

            <useproxy>false</useproxy>

        </layer>

    </layers>

    <ui>

        <widget_dimensions>

            <width>300</width>

            <height>350</height>

        </widget_dimensions>

        <icons>

            <base_url>widgets/Thematic/assets/images/</base_url>

            <main_icon>i_thematic_icon.png</main_icon>

            <main_label>Main Panel</main_label>

            <settings_icon>i_options.png</settings_icon>

            <settings_label>Settings Panel</settings_label>

        </icons>

        <classification>

            <methodsLabel>Classification</methodsLabel>

            <fieldsLabel>based on</fieldsLabel>

            <breaksLabel>Number of classes</breaksLabel>

        </classification>

        <dynamicLabels>

            <dynamicLabelsEnabledLabel>Labels</dynamicLabelsEnabledLabel>

            <dynamicLabelsOnLabel>Hide / Remove</dynamicLabelsOnLabel>

            <dynamicLabelsOffLabel>Show / Display</dynamicLabelsOffLabel>

        </dynamicLabels>

    </ui>

</configuration>

0 Kudos
0 Replies