ThinkGeo.com    |     Documentation    |     Premium Support

Strange behavior with online layers

Hi,

We are still using ThinkGeo 10 for WinForms, everything is working fine for the most part. Recently, after some of our users received an upgrade to their Windows 11 OS they noticed some strange behavior with online layers, WMS, WMTS and Bing. Everything looks good when they first add the layer but after a little zooming in and out the features in the imagery become disjointed. There are missing sections of roads and feature boundaries do not follow the correct path. I have included a screenshot of a Bing layer. Any idea what is going on?

Thanks,

Steve
ScreenShot

Hi Steve,

Thanks for the screenshot — it looks like the background tiles aren’t lining up correctly:

This issue may be related to Windows display scaling. Can you please go to Display Settings > Scale & Layout and set the scale to 100% (if it’s not already)? Windows 11 introduced changes to DPI scaling, and there’s a chance that ThinkGeo 10 may not fully align with the newer behavior.

Also, can you switch the background overlay to SingleTile mode see if it changes anything?

Thanks,
Ben

Hi Ben. I don’t find a TileMode or a background overlay on the BingMapsLayer. Can you clarify where to find this setting or provide a code snippet?

Thanks!

Steve

Hi Steve, you can find those properties on the overlay and not the layer.

HI @Steven1,

By “background overlay” I meant the Overlay that contains your Bing Maps Layer. I want to verify if the misalignment comes from the overlay or the layer. Sorry for the confusing.

By the way, Bing Maps service is being retired. Free (Basic) account users can access Bing Maps Enterprise services until June 30, 2025. Enterprise account users can access them until June 30, 2028. Refer to the official migration guide from Microsoft: https://learn.microsoft.com/en-us/azure/azure-maps/migrate-bing-maps-overview. Update to the latest ThinkGeo V14.3.1+ and you can use the new Azure Map Layer.

Thanks,
Ben

Hi Ben,

We tried setting the scale to 100% and that didn’t help.

Looking at the LayerOverlay which contains the Bing Maps layer, I see that there is a BitmapTileCache but I still don’t see how to set anything to SingleTile mode. What am I missing?

Steve

Can you try this, Steve?
image

Hi Ben,

Sorry to take so long to respond, very busy lately. I should have mentioned again that our application is still running in ThinkGeo v10 and our LayerOverlay doesn’t have that property. I realize that 10 is no longer supported, just looking for some ideas.

Thanks!

Steve

I see. Can you disable the TileCache (by setting .TileCache to null) for both BingMapsLayer and the LayerOverlay, and have another try? If it works, only set the TileCache for the layer see if it still works?