mapbox / gazetteer

Place bookmarks for maps
BSD 2-Clause "Simplified" License
10 stars 8 forks source link

zoom buttons don't snap to integer numbers #24

Closed natslaughter closed 6 years ago

natslaughter commented 6 years ago

when creating a gazetteer entry, the zoom buttons do not shift up or down to the nearest integer z-level, but add or subtract 1.0 to the current z-level. For example, if the current z-level is 4.6 and I hit the "up" z-level button, it shifts to z-level 5.6.

It also seems that after I click on the z-level buttons, then return to zooming in and out on the map using my track pad, the z-level value found on the left column UI does not update and is frozen.