modified code a little
Apply Google Maps API v2