I am using the WMSLayer class in a SceneView, and am observing what I feel are less than ideal behaviors.
First, anytime the refresh is triggered on a WMSLayer instance - 2 simultaneous GetMap requests are fired off. The only difference in these requests is one has a slightly larger bbox than the other, everything else about them is the same. I think I read somewhere this is intentional; one is a 'high resolution' image and the other a 'low resolution' image, or something like that. I can no longer find that documentation - so any reference to the detailed explanation would be appreciated. Is there anyway to disable this behavior? Only make 1 GetMap request per refresh?
Second, the width and height of the GetMap requests are at least 2x bigger than the underlying html map element dimensions. Is there anyway to disable this behavior, and make the requested width & height equal the html map element dimensions?
Hi,
You're correct, it's intentional for there to be two GetMap requests because we generate two overlays. And they are also intentionally bigger than the HTML map element. This is specifically to handle tilted views in a 3D scene.
With a top-down view, there should be only one overlay and therefore only one GetMap request.
Best,
Dani