zoom issue

565
1
10-28-2011 11:00 AM
TonyRopson
New Contributor
hi
right now I have this code zooming to this feature
if (featholding.length > 0) {
                map.setExtent(esri.graphicsExtent(featholding[0].features));
         
            }

I have a buffer query on the map and would like to map to focues on this but not zoom in as close as it currently ls
0 Kudos
1 Reply
HemingZhu
Occasional Contributor III
hi
right now I have this code zooming to this feature
if (featholding.length > 0) {
                map.setExtent(esri.graphicsExtent(featholding[0].features));
         
            }

I have a buffer query on the map and would like to map to focues on this but not zoom in as close as it currently ls


map.setExtent(esri.graphicsExtent(featholding[0].features), true);
0 Kudos