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.

Why does MapRequest adjust the X and Y coordinates and image size I type?

0
Posted

Why does MapRequest adjust the X and Y coordinates and image size I type?

0

When requesting a map, MapRequest checks that each pixel is square (i.e. an equal size using the map’s unit in both an X and Y direction) and that the image size can be broken down into multiples of the normal image size used by the remote web site. (The minimum image size is the exact size of the normal image size.) If the values typed do not fit this exactly the following adjustments are made: 1 – The values for Width and Height are rounded up to the nearest multiple of the remote web site’s normal image size. 2 – The pixel size (for X and Y) is taken to be the X pixel size (using the original width and height), and the midpoint for X is calculated. The new values for min X and max X are calculated from the midpoint using the calculated pixel size. 3 – The midpoint for Y is calculated, and the new values for min Y and max Y are calculated from the midpoint using the calculated pixel size (from step 2). If the width and height are not changed and values for X and Y are entered, genera

Related Questions

What is your question?

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

Experts123