Detect mobile device function and and some map options