• CommentAuthorCG
    • CommentTimeSep 1st 2010
     
    In my .NET (C#) GeoBase project, I'm trying to get the current extent of the map - in other words I'm trying to ask the API "What is the BoundingBox for the MapCtrl right now?". I know this should be a simple task, but I can't figure out how to accomplish this.
    • CommentAuthorCG
    • CommentTimeSep 10th 2010
     
    That approach works OK at large scales (i.e. when zoomed in) but not very well as small scales (i.e. when zoomed out). There is obviously rounding between the integer pixel/screen coodinates and the calculated geographic coordinates - so the more you zoom out, the rougher the results. I was hoping for a cleaner approach that would be consistent at all scales.