Select to view content in your preferred language

Possible Feature - Slidable ROI functionality?

354
2
12-13-2017 11:20 AM
NatalieGallegos
New Contributor

Hello,

I am new to GIS and am exploring the latest SDK for java (100.1.0). I am currently trying to display a ROI of a WMTS layer over a basemap. I am trying to achieve the effect of a sliding window, where only the portion of the layer in some region of interest (say a rectangle) is displayed, and the basemap is displayed anywhere outside of the ROI.  Is there a way to achieve this with current api? If not will there be something like this added? The closest I found in previous versions was to use map overlays, though I can't find anything equivalent in current api. Any help or point to the right direction would be appreciated.

Thanks,

Natalie

0 Kudos
2 Replies
EricBader
Honored Contributor

Hi Natalie,

Hmmm. You may need to use 2 MapViews for this scenario. One on top of another. There isn't anything specific in the API to do this. Good use case, though!

0 Kudos
NatalieGallegos
New Contributor

Thank you Eric.

You're right, it seems two map views is the way to go. This approach works well. I was just wondering if there was an alternative method. Thanks again for the quick response.

Best regards,

Natalie

0 Kudos