Topic: Scale markers on smooth zoom
Hi everyone,
I recently added a custom tileset control script that Alex put in a precedent topic, which allows the zoom to be kind of smooth on mobile when using two fingers (just like the next verson will be with float zoom range). Unfortunately I can't manage to scale markers inversely to the zoom level and I would be glad if anyone share what function to use.
Here is my custom tileset control with the ComputePinSizes the function to scale markers, being called at every small zoom from the user.
EDIT : Also, I have a strange shift at the end of the zoom that I didn't manage to solve, it seems that it is not related to the code of my custom TilesetControl.