wrap more function calls to maps api