Zum Hauptinhalt gehen

Select Features Within Current Extent

Kommentare

2 Kommentare

  • Permanently deleted user

    Hi Gary

    you pretty much answered your own question.

    1. Use GetMapExtent to get an Envelope ie rectangular extent.
    2. Use QueryTask with the Geometry set to the Envelope from step 1.

    Of course for Step 2 you will need to supply the Query Service Url etc and potentially repeat ideally in parallel Step 2 against all of the layers that you wish to do this with.

    regards

    Ralph

    0
  • Permanently deleted user

    Thanks Ralph, I used GetMapExtent to QueryTask to SelectFeatures and it did the trick.  I never would have known to use QueryTask. Thanks Again.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.