You can write your code inside this {}, It will be called when Google map V3 is fully loaded OR failed to load due to any reason.

Problem 2: How can I change the color of a Google Maps marker In Gmaps 3?Problem Description:
I want to change the color of default google markersOR
want to show my image instead of default google marker.