Detect screen scale for map view.