WSDOT-GIS / bridge-clearance-app

An application that provides bridge clearance information
The Unlicense
2 stars 0 forks source link

Hard to get the pop-up window when clicking on red/yellow dots on tablets #56

Closed JeffJacobson closed 9 years ago

JeffJacobson commented 9 years ago

@jacksoe:

Tablet devices can have screens larger than 768 pixels but the pixels are dense (high dpi) so the circles drawn at 10 pixels and are small and hard to touch.

I did some checking and it doesn’t look easy to get the DPI of the device from the browser. If there is a way to detect a "mobile" device (browser string or other framework feature…??) then you could factor that in when you determine the symbol size. I would rather error on making the circles too big rather than too small.

JeffJacobson commented 9 years ago

Now using mobile-detect to determine if the browser is on a mobile device instead of screen resolution.