Select to view content in your preferred language

Displaying some features on ArcGIS Map

702
1
06-04-2014 09:01 PM
SamarthGupta
Deactivated User
Hi everyone,

I am building a flex application, i am using Arcgis Map to display some features on map.
I have seen an example from this link https://developers.arcgis.com/flex/sample-code/infowindow-on-mouseover.htm
i want to do some thing like this, but, i want this on some regions of INDIA.
I have got the xmin, ymin and extra values for placing the extent from this link https://developers.arcgis.com/flex/sample-code/map-extent-and-mouse-coordinates.htm (by moving the map to the area on which i want to display the extent). It works fine but its not highlighted, like it is done in south carolina

Does, any one knows what might be the reason.
Tags (2)
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus
Sam,

  That is because the same have a featureLayer that point to US demographics layer and it has a definition query that limits the demographics to only South Carolina.

<esri:FeatureLayer id="fLayer"
                           definitionExpression="STATE_NAME='South Carolina'"
                           graphicAdd="fLayer_graphicAddHandler(event)"
                           mode="snapshot"
                           outFields="*"
                           symbol="{defaultsym}"
                           url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3"/>
0 Kudos