UMap doesn't work correctly with zoom of non-integer

10 views
Skip to first unread message

Quan Ho

unread,
Jun 14, 2010, 9:08:47 AM6/14/10
to UMapper
Hi,

When I set zoom level to a non-integer value, then I move the map and
I see the map doesn't follow the mouse pointer correctly. The
functions getComponentXYFromLatLng, panByXY don't also work correctly
with non-integer zoom level.
Can you please show me how to fix these problems?

Thank you!

Andrei

unread,
Jun 15, 2010, 12:20:55 PM6/15/10
to UMapper
You have to have an integer as a zoom level. The easiest solution will
be to round the number.
Reply all
Reply to author
Forward
0 new messages