Opened 12 years ago

Closed 12 years ago

#138 closed defect (wontfix)

Jump To isn't zooming close enough

Reported by: osjonathan Owned by: theduckylittle
Priority: minor Milestone:
Component: GeoMOOSE/JS Version: 2.6
Keywords: Cc:

Description

Using my EPSG:27700, I've set up a Jump To thus:

"Britain" : [0,0,700000,1300000],

This should zoom to Britain, and in a manner of speaking it does. The problem is that it also includes most of France, Germany, Denmark and the rest of North Western Europe.

If you look at the attached, you'll see what happens when the Jump To is used, as well as what area is covered by those coordinates (the red box). As can be seen, only the northern border is correct. As Britain is taller than it is wide, what should happen is that the north and south bounds hit the edge of the map area (as north has), and there is extra east/west showing beyond the bounds.

Using the Zoom tool to try and draw a bounding box around this area (red square) doesn't seem to get any closer.

Attachments (1)

Clipboard01.jpg (87.6 KB ) - added by osjonathan 12 years ago.

Download all attachments as: .zip

Change History (3)

by osjonathan, 12 years ago

Attachment: Clipboard01.jpg added

comment:1 by theduckylittle, 12 years ago

Owner: set to theduckylittle
Status: newassigned

There are a couple of quirks to this.

  1. When using web mercator, your scales are fixed, and since the application starts in Web Mercator, fixed scales are turned on by default.
  2. Differing screen sizes and resolutions will change how the effect works.
  3. OpenLayers can either fit the entire extent or will go to the next step to get "closer". We have it set to the former.

I'd suggest trying a different setting in your mapbook:

<param name="fractional_zoom">true</param>

If you need some follow up help, please head to the mailing list.

comment:2 by theduckylittle, 12 years ago

Resolution: wontfix
Status: assignedclosed
Note: See TracTickets for help on using tickets.