determine map variable instead of hardcoding

Niantic have changed the Google map object variable name from K to L. I think they change variable names fairly frequently (re-obfuscated on every build) so it might be best to automatically determine which variable is the map.