Hi,
I am using ThinkGEO Web Evaluation Edition 6.0.248.0.
I have a section of code where I allow the user to zoom into a feature (a point) by selecting the feature from a gridview (in its own updatepanel from the map updatepanel).
In the grid view selected index changed function, I find the feature in the map successfully and I can zoom the map to the feature by the following line of code successfully:
Map1.CurrentExtent = ExtentHelper.GetDrawingExtent(selected_features[0].GetBoundingBox(), (float)Map1.WidthInPixels, (float)Map1.HeightInPixels);
I would like to zoom out a couple clicks from this view; however, when I try Map1.ZoomOut or Map1.CurrentExtent.ScaleUp functions right after setting the extent, nothing happens; the map retains the original extent from the line above.
Any ideas on what I might be doing wrong?
Thanks,
Treasa