Some code snippets with Google Maps API