Loading…

Joe Steinbring

jws.dev changelog

A state map opens on the state

Fixed

Opening New Mexico showed the whole of the United States: the map set its zoom floor before framing the shape, leaving the fit with nothing it was allowed to do.

The maps refuse to zoom out past a sensible floor, so a reader cannot scroll off into empty ocean. That floor was being applied before the map framed the shape it had been asked to open on, which was fine for a country and wrong for anything smaller: New Mexico opened showing the whole of the United States.

The floor is set after the opening view now, so the map frames its subject first and then decides how far out a reader may go.

All changes to jws.dev