Select to view content in your preferred language

How To Restrict Map Panning to an Area

6107
11
Jump to solution
05-21-2017 06:46 PM
ThomasSaldana
Emerging Contributor

Hello,

does anyone know to restrict map panning to an area?

Im trying to something similar to this:

https://www.mapbox.com/mapbox-gl-js/example/restrict-bounds/ 

But in my ArcGIS android application. I want to restrict my basemap, so that only my campus is displayed and not the whole world.

Thank you in advance!

0 Kudos
11 Replies
supriyashh
New Contributor

Hi,

I want to implement same ..but in 100.3.0 its still saying "

setMaxExtent

method is not available..any other work around for same??

0 Kudos
CharlesLoftis
Occasional Contributor

The marked answer does not work with the ArcGIS Android 100.x API.

0 Kudos