Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID

Google maps

edited October 2012 in Apps

I have an idea for the google maps addon. The map get very big when viewing it from the mobile.

I fixed it myself by editing handlers/google/maps.php

if (self::$called['social/google/maps'] == 1) { if(strstr(strtolower($_SERVER['HTTP_USER_AGENT']), 'mobile') || strstr(strtolower($_SERVER['HTTP_USER_AGENT']), 'android')) {


} else { echo ''; } }


  • Paste bugged...but you see the picture :)

  • Did you just disable the maps on mobile or have alternate template output for them?

    Also, quick tip: You can just say if (detect ('mobile')) to test for mobile browsers, or even if (detect ('android')) or if (detect ('tablet')) too :)

  • aha thank you :)

    I posted it here just to let you know, if you would like to update the app in the future.

Sign In or Register to comment.