Is there a way to pan to the extents of an image?

1254
2
05-05-2016 11:37 AM
SeanFadum1
New Contributor III

I have an image (Image Service) that I am using in an AGOL webmap.  Is there a way in AGOL to let the user only pan to the extents of the image?  Right now, if they pan past the image extents, then the webmap has a white background.

Thanks,

Sean

0 Kudos
2 Replies
DanPatterson_Retired
MVP Emeritus

Setting the extent to that input has no effect? Configure map viewer—ArcGIS Online Help | ArcGIS

0 Kudos
SeanFadum1
New Contributor III

That only sets the default extents..... I'm sure it can be done in JavaScript, but I was hoping there was a simpler way.

0 Kudos