Select to view content in your preferred language

Capture feature layer graphic symbol and use it inside of a popup template

620
1
09-11-2012 12:16 PM
by Anonymous User
Not applicable
I am writing a crime application. The crime points are fed by a feature layer. I would love to be able to capture the symbol from the crime graphics when I click on them and use them inside of my popup window or even place them inside of my dgrid.

I tried messing around with the graphic.getDojoShape but didn't really get anywhere. I am basically looking for any suggestions any of you may have.

thanks
0 Kudos
1 Reply
StephenLead
Honored Contributor
The crime points are fed by a feature layer. I would love to be able to capture the symbol from the crime graphics when I click on them and use them inside of my popup window


Take a look at the Symbol Objects page, which may give some clues.

It looks as though you're using picture marker symbols, in which case you can get a reference to the symbol using the instructions on the Image - Feature Service page. See the example image, which shows a full URL which you can use in an IMG tag.

Hope this helps,
Steve
0 Kudos