Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What happens if my BoundingBox aspect ratio is different from my width-by-height aspect ratio (pixel aspect ratio)?

0
Posted

What happens if my BoundingBox aspect ratio is different from my width-by-height aspect ratio (pixel aspect ratio)?

0

The underlying Drill Down Server Image Plugin will change the size of your bounding box so that the aspect ratio matches the aspect ratio of the width and height of the image, in pixels. The rule is that you always get more map than you asked for, if your bounding box is mismatched with your pixel aspect ration. This commonly happens when sombody uses the default image width and height (which are NOT square), with a CenterContext and radius (which is a square of lat/lon). This is a common “gotcha” in AJAX apps when you try to match a screen-click to a lat/lon. You have to watch your cosine latitude correction.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123