Hello Eric,
Thanks for the data, yes with the extent you provide, it can't be the snapped problem, the extent offset too many.
But I have a question, in the getExtent() return value:
-121.15449523926
39.897003173828
-120.84550476074
40.102996826172
The MaxY is smaller than MinY, how can this be a extent?
Also, this is my test code, I can't recreate your problem, I set your first extent when map rendered, then zoom to that extent again in the client side, I got the right result.
Client code:
function zoomto() {
var extent = new OpenLayers.Bounds(-120.201345, 39.324485, -119.9422559, 39.28384164);
Map1.ZoomToExtent(extent);
}
Server code:
Map1.MapBackground.BackgroundBrush = new GeoSolidBrush(GeoColor.FromHtml("#E5E3DF"));
Map1.CurrentExtent = new RectangleShape(-120.201345, 39.324485, -119.9422559, 39.28384164);
Map1.MapUnit = GeographyUnit.DecimalDegree;
WorldMapKitWmsWebOverlay worldMapKitOverlay = new WorldMapKitWmsWebOverlay();
Map1.CustomOverlays.Add(worldMapKitOverlay);
Regards,
Gary