Circle over feature layer

633
4
08-14-2012 12:41 AM
Hans-JürgenWeber
New Contributor
I want to add a circle with a radius with esri.tasks.GeometryService over a feature layer, see attached picture.
The features outside the circle are clickable but not inside.
What I have to do to make the features inside the circle clickable?
0 Kudos
4 Replies
__Rich_
Occasional Contributor III
I want to add a circle with a radius with esri.tasks.GeometryService over a feature layer, see attached picture.
The features outside the circle are clickable but not inside.
What I have to do to make the features inside the circle clickable?

The circle is masking the features underneath it so they can't receive the click.
0 Kudos
Hans-JürgenWeber
New Contributor
So are there other solutions for my problem?
0 Kudos
__Rich_
Occasional Contributor III
So are there other solutions for my problem?

What's your current code look like?
What have you tried?
Have you, for example, tried putting your circle underneath the other graphics?

Have a look at:


If you want to keep the circle on top then have you thought about listening to the onclick event on that and then doing a client-side identify on the other graphics layer?

Also, reading this may help:

find-graphics-under-a-mouse-click-with-the-arcgis-api-for-javascript
0 Kudos
Hans-JürgenWeber
New Contributor
Thanks, when I put the circles on a layer under the other layers it worked.
0 Kudos