Hi All,
I'm using this (Feature layer with selection) sample to select features. But after drawing the extent it shows the selected features as shown in Figure A. How do I make it to display both the selected features and the extent graphics as shown in Figure B.
Figure A
Figure B
Hi Hab,
You can add the extent geometry that's returned from the "DrawEnd' event to a graphic. Take a look at this JS Fiddle.
Thanks Jake.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.