Mapster

182 - Center point of zoom-in incorrect when scale is not 100%

What steps will reproduce the problem?
What is the expected output? What do you see instead?

Not sure if I can explain it clearly, trying my best... The zoom-in behavior of default UI is like Google Maps.

Let's say the center of the map is a crossway, coordinate (0, 0), When I mouseover a building at (10, 20), and zoom-in 2x (for example), the map UI will "focus" on the cursor and try to keep the building staying at where it was, i.e. (10, 20), and zoom-in everything else. Therefore the coordinate of the origin crossway will become (-10,-20).

With Mapster, when the map scale is 100%, it works properly; when scale is less or more than 100%, it doesn't. In other words, what under the cursor (the center point of zoom-in) will shift away and not under the cursor anymore.

What version of the product are you using?
1.6.2

User When Change
Everdreamer Nov 30, 2014 at 21:37 UTC Changed description:
  Not sure if I can explain it clearly, trying my best... The zoom-in behavior of default UI is like Google Maps.

- Let's say the center of the map is a crossway, coordinate (0, 0), When I mouseover a building at (10, 20), and zoom-in 2x, Google Maps will "focus" on the cursor and try to let the building stay at where it was, i.e. (10, 20), and zoom-in everything else. Therefore the coordinate of the origin crossway will become (-10,-20).
+ Let's say the center of the map is a crossway, coordinate (0, 0), When I mouseover a building at (10, 20), and zoom-in 2x (for example), the map UI will "focus" on the cursor and try to keep the building staying at where it was, i.e. (10, 20), and zoom-in everything else. Therefore the coordinate of the origin crossway will become (-10,-20).
- When the map scale is 100%, it works properly; when scale is less or more than 100%, it doesn't.
+ With Mapster, when the map scale is 100%, it works properly; when scale is less or more than 100%, it doesn't. In other words, what under the cursor (the center point of zoom-in) will shift away and not under the cursor anymore.
  What version of the product are you using?
  1.6.2
Everdreamer Nov 29, 2014 at 17:13 UTC Changed description:
  What is the expected output? What do you see instead?

  Not sure if I can explain it clearly, trying my best... The zoom-in behavior of default UI is like Google Maps.
+
  Let's say the center of the map is a crossway, coordinate (0, 0), When I mouseover a building at (10, 20), and zoom-in 2x, Google Maps will "focus" on the cursor and try to let the building stay at where it was, i.e. (10, 20), and zoom-in everything else. Therefore the coordinate of the origin crossway will become (-10,-20).

  When the map scale is 100%, it works properly; when scale is less or more than 100%, it doesn't.
Everdreamer Nov 29, 2014 at 17:12 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of Nevcairiel Nevcairiel Dec 04, 2014 at 11:52 UTC - 0 likes

    I tried to fix this, but the map is not being very cooperative...

  • 1 comment

Facts

Last updated
May 02, 2015
Reported
Nov 29, 2014
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
1

Reported by

Possible assignees