AnsweredAssumed Answered

Feature Partially Obscured after Zoom to Extent

Question asked by mfancher on Mar 15, 2013
Latest reply on Mar 15, 2013 by kenbuja
I use the following to zoom to a selected feature:

var feature = fset.features[0];; myMap.setExtent(feature.geometry.getExtent());

Which works, but sometimes the feature is partially obscured by the limits of the map div.  For example, in this map:

If you select "Aberdeen" from the drop down, then the zoom works as I'd like.  If you select "Adamsville", then you'll see what I'm talking about.

Any suggestions to fix that?  Thanks in advance!