You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to #5 but to add support for floats for the viewport() function instead of the bounds()function.
Given the new Static Map API supports zoom levels up to two decimal places, it would be great to have an option to yield such value by removing the Math.floor() in the return.
Unlike the bounds() function, this would not require upstream changes in SphericalMercator.
The text was updated successfully, but these errors were encountered:
Removing the Math.floor does work, i've wrapped it behind a boolean flag. Little unwieldy in that it comes after every other argument, but without major breaking changes I don't see what I could do there.
Similar to #5 but to add support for floats for the viewport() function instead of the bounds()function.
Given the new Static Map API supports zoom levels up to two decimal places, it would be great to have an option to yield such value by removing the Math.floor() in the return.
Unlike the bounds() function, this would not require upstream changes in SphericalMercator.
The text was updated successfully, but these errors were encountered: