Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#135 closed defect (wontfix)

Incorrect coordinates in demo

Reported by: osjonathan Owned by:
Priority: minor Milestone:
Component: Demo Version: 2.6
Keywords: Cc:

Description

Looking in the mapbook.xml for the demo, I see:

<param name="max_extent">-20037508.342789,-20037508.342789,20037508.342789,20037508.342789</param>
<param name="initial_extent">-10384069.859924,5538318.529767,-10356632.423788,5563580.927174</param>

I'm guessing the parameters are supposed to be minX, minY, maxX, maxY
However, if you look at max_extent, you'll see that the first two coords are both identical, as are the last two. It still seems to work of course, so no idea what it does.

Change History (2)

comment:1 by theduckylittle, 12 years ago

Resolution: wontfix
Status: newclosed

Web Mercator is square, it is minx,miny,maxx,maxy.

comment:2 by osjonathan, 12 years ago

That doesn't explain why for max_extent the minx and miny coordinates are identical, as are the maxx and maxy.

Note: See TracTickets for help on using tickets.