Forum

Map Zoom and XY Movement Speed corelation


#1

Hi,

I am trying to implement a world map a la google maps.

For the movement and zoom I am using an unuiform_scale and translate on the view.

I am trying to figure out a good relation between the zoom factor and the movement speed of the camera.
Whereas the movement speed of the camera is basically a integrate on the translate.

Anyone has something done in this direction or can point out the theroy behind it?


#2

Camera (Transform 2d)?


#3

oh i figured it out,
its

velocity = velocity_Multiplyer * 1/ scale_factor

then you get exact mapping in every zoom level.

thanks anyway :)