Hi,
we’re using ThinkGeo for a long time.
But when I now update from beta57 to beta59 (and probably later) we’re getting an error when refreshing the map. We’re a bit helpless as we did not change anything and do not provide a parameter.
---> System.ArgumentNullException: The parameter you supplied may not be null. (Parameter 'worldExtent')
at ThinkGeo.Core.ValidatorHelper.CheckObjectIsNotNull(Object parameterObject, String parameterName)
at ThinkGeo.Core.MapUtil.GetScale(GeographyUnit mapUnit, RectangleShape boundingBox, Double widthInPixel, Double heightInPixel, Single dpi)
at ThinkGeo.Core.MapUtil.kh0=(RectangleShape targetExtent, Double actualWidth, Double actualHeight, Double maximumScale, Double minimumScale, GeographyUnit mapUnit)
at ThinkGeo.Core.MapUtil.AdjustExtentByRestrictions(RectangleShape targetExtent, Double width, Double height, RectangleShape restrictExtent, Double maximumScale, Double minimumScale, GeographyUnit mapUnit)
at ThinkGeo.Core.MapViewBase.DrawAsyncCore(RectangleShape targetExtent, OverlayRefreshType overlayRefreshType, CancellationToken cancellationToken)
at ThinkGeo.Core.MapViewBase.DrawAsync(RectangleShape targetExtent, OverlayRefreshType refreshType, CancellationToken cancellationToken)
at ThinkGeo.Core.MapViewBase.RefreshAsync(RectangleShape extent, OverlayRefreshType refreshType, CancellationToken cancellationToken)
at ThinkGeo.Core.MapViewBase.RefreshAsync(OverlayRefreshType refreshType, CancellationToken cancellationToken)
Could you please check what kind of change in beta059 leads to this and how we can mitigate the cause? Thank you!
Regards,
Peter