debugging gmaps on firebug
Use a JavaScript debugger. In Firefox, you can use the JavaScript console, the Venkman Debugger, or the Firebug add-on. In IE, you can use the Microsoft Script Debugger. This series of screencasts demonstrates how to use the various debugging tools.
Google Map APIをFirebugでデバッグするチュートリアル。
Firefox + Firebug + Google Map APIで開発する人は最初に見ておくといいかも。