codeforamerica / amiinlv

Am I In Las Vegas? Sometimes it's hard to know, because the city limits have the complexity of a fractal curve.
http://amiinlasvegas.com/
BSD 3-Clause "New" or "Revised" License
10 stars 5 forks source link

Answer on mobile screens might go off the top edge of the screen #26

Closed louh closed 9 years ago

louh commented 11 years ago

Because marker is fixed to dead center of screen.

We can fix this by making the answer pointer a true map popup. This will allow us to reposition the map and the answer easily.

louh commented 9 years ago

Hacky fix in b259697f48a1452adc0b8dec120afa9b07bc5795 It just adjusts the setView latitude by 0.01 so that the center of the viewport is just slightly higher than the marker point