getting maps api working