ThinkGeo.com    |     Documentation    |     Premium Support

Problem in XyzTyleLayer in MapPrinterLayer

Hi,

I’ve noticed that the recent changes to the XyzTileLayer have rendered it obsolete. The recommendation is to use the XyzTileAsyncLayer starting with version 14.2.1. For example, instead of using the OpenStreetMapLayer, we should now use the OpenStreetMapAsyncLayer. The message clearly states that the XyzTileLayer will be removed in the next ThinkGeo version.

We are willing to update our code base from XyzTileLayer to XyzTileAsyncLayer. However, we’ve encountered an issue when trying to add it to the MapPrinterLayer, which does not support this type of layer. To address this, we decided to update ThinkGeo to the latest pre-release version, 14.3.0-beta023. Now, the Layers.Add method can access the AsyncLayer, but the PrinterLayer is not displaying anything.

P.S: The source code with version 14.3.0-beta023 is attached.
HowDoISample.zip (3.5 MB)

Regards
Mahdi

Hi Mahdi,

Thanks for the samples. The issue is recreated and fixed in the latest beta025. Please pull the latest and have another try.

Thanks,
Ben

Hi Ben,

I’ve updated to beta025, and I can see the problem has been fixed.

Thanks.

That’s awesome, thanks for letting me know!