Select to view content in your preferred language

Get URL of IdentifyResult

494
1
09-24-2010 07:47 AM
PaulSchneider
Regular Contributor
I am looping through the results of an Identify Operation and would like to compare the URL (of the containing feature layer) of the IdentifyResult feature; how can I access it?

This does not work:

...
var fl:FeatureLayer;
for each (var identifyResult:IdentifyResult in identifyResults)
{
fl.graphicProvider = identifyResult.feature.graphics;
Alert.show(FL.url);
}
...

I would assume something similar...
Tags (2)
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus
Paul,

Not sure exactly on your question but Flex is 100% case sensitive so your code should be.
...
var fl:FeatureLayer;
for each (var identifyResult:IdentifyResult in identifyResults)
{
fl.graphicProvider = identifyResult.feature.graphics;
Alert.show(fl.url);
}
...
0 Kudos