I am receiving an error “The input double value is out of range. (Parameter ‘widthInPixel’)” when my map is initially being loaded. It errors when setting the CurrentExtent of the map. After it errors, it displays the error message and then I click OK and then it runs the map load code again after which it successfully adds the CurrentExtent without issues.
I am not sure why the map is loading twice (I would assume it errors and then tries again) and why the second time it loads successfully. I have currently updated to nuget version 12.2.15 and still getting the issue.
Code where it errors:
mapViewActivities.ZoomLevelSet = new ThinkGeoCloudMapsZoomLevelSet(512);
mapViewActivities.CurrentExtent = new RectangleShape(-14180662, 5547256, -7832569, 1777465);