Map zooms in more than specified in URL argument when MMSI is also specified
dziban303 opened this issue · comments
If you specify an MMSI number and a zoom level as URL arguments, upon map load the zoom increases by 1. For instance, specifying a zoom level of 10 by opening https://kx1t.com/ais/?mmsi=993672067&zoom=10
will load the map to https://kx1t.com/ais/?lat=42.3448&lon=-71.0115&zoom=11.00&tab=map
with a zoom level of 11. If a fractional zoom is used, e.g. &zoom=10.84
, it will settle on &zoom=11.84
.
This behavior does not seem to occur if mmsi
is not supplied; using lat
and lon
or just specifying a zoom by itself will load the page at the correct zoom.
can you please check whether this has been resolved? Thanks!
Yup, fixed. Thanks!