Hi,
I wan to restrict basemap to particular location,so for this want to restrict map panning.But I am unable to do so. (using version 100.4.0)
Following code still doesn't work . as ' setMaxExtent ' is still not available in Runtime SDK .
Can you have any other alternative? Or any update when it is going to be there????
this functionality is so basic and so much in need.I am really wondering why it is being neglected for so long.??
Envelope myExtents = new Envelope(xmin,ymin,xmax,ymax);
myExtents = (Envelope) GeometryEngine.project(myExtents, SpatialReference.create(102100), mMapView.getSpatialReference());
mMapView.setMaxExtent(myExtents);
mMapView.setExtent(myExtents);