broady/maps-inspector — Issue #1: Maps API Inspector breaks Google Maps API v3 Geocoder Tool
Author: miguev
Created: 2012-02-02 20:31:59+00:00
State: open

If I have the Maps API Inspector enabled, I can't use the Google Maps API v3 Geocoder Tool at:

http://gmaps-samples-v3.googlecode.com/svn/trunk/geocoder/v3-geocoder-tool.html#q%3Dcanada

Just enter something in the text input (e.g. Canada) and hit the geocode button. Nothing happens.
I took a look at HTTP headers using Chrome and noticed that no request was going out to the geocoding service.

I also spotted these uncaught exceptions in the JS console, the first one happens when loading the page, the second one happens when hitting the geocode button:

inspector.js:30Uncaught TypeError: Cannot read property '_overlays' of null
google.maps.(anonymous function)inspector.js:30
R.triggermain.js:20
yfmain.js:27
K.setmain.js:26
Zf.(anonymous function).closemain.js:29
resetMapv3-geocoder-tool.html:260
geocodev3-geocoder-tool.html:205
submitQueryv3-geocoder-tool.html:200
document.getElementById.onkeyup.ev3-geocoder-tool.html:88
R.triggermain.js:20
(anonymous function).An.(anonymous function).a.Va.ic.ev=api_watermark&cad=.Wk.src
R.triggermain.js:20
yfmain.js:27
K.setmain.js:26
Wt.(anonymous function).d
(anonymous function)main.js:10

inspector.js:30Uncaught TypeError: Cannot read property '_overlays' of null
google.maps.(anonymous function)inspector.js:30
R.triggermain.js:20
yfmain.js:27
K.setmain.js:26
Zf.(anonymous function).closemain.js:29
resetMapv3-geocoder-tool.html:260
geocodev3-geocoder-tool.html:205
submitQueryv3-geocoder-tool.html:200
(anonymous function)v3-geocoder-tool.html:643
onclick