Hi
I’m trying to move from 14.1.1 to 14.2.1 but am running into an issue setting the ProjectionConverterFromServerProjection property on an OpenStreetMap overlay.
In 14.1 I was using an UnmanagedProjectionConverter to do the projection. This worked fine.
In 14.2, this now throws an Invalid Operation Exception (‘A task may only be disposed if it is in a completion state (RanToCompletion, Faulted or Canceled).’). I’ve tried swapping to GDALProjectionConverter with the same result. I even bumped to the latest preview (14.3.0-beta015) and changed how the converter was setup again, to no avail.
I noticed that the “How Do I?” samples uses a regular TileOverlay and OpenStreetMapAsyncLayer so I changed to that - same result. I’ve added my projection to the original sample, and it also fails.
I suspect this is related to the ProjectedTileCache rather than retrieving the tiles, since I can see them in the debugger when the exception throws.
Has anyone encountered anything like this, or is there something I’m missing with the GDALProjectionConverter?
Cheers