Maps do not display in IE8 Firefox or Opera. Chrome and Safari are OK

27 views
Skip to first unread message

Tony

unread,
Mar 20, 2011, 5:14:20 PM3/20/11
to Google Maps JavaScript API v3
I have a problem with maps V3 which happens in Internet Explorer 8,
Firefox 3.0.14, and Opera 11.01. I do not get the problem with Chrome
or Safari it works great with them.

When the page loads it should show a map of the UK which zooms in when
the user enters their post code eg LS9 0ED

The problem is that the map_canvas <div> just shows a blank area where
the map should be.

Any ideas as to where I have gone wrong?

Pagelink http://streatnet.dyndns.org/mb/signup.php

Thanks
Tony

geoco...@gmail.com

unread,
Mar 20, 2011, 5:33:19 PM3/20/11
to Google Maps JavaScript API v3
I get a javascript error in IE:
Line: 23
Error: 'return' statement outside of function

I also get javascript errors in Chrome:
signup.php:196 Uncaught TypeError: Cannot read property 'value' of
null

-- Larry
>
> Thanks
> Tony

Tony

unread,
Mar 22, 2011, 6:59:54 AM3/22/11
to Google Maps JavaScript API v3
Hi Larry

Thanks for that. I had error trapping turned off in my browsers. Had
pasted some code from a function and the return variable had been left
in.

Thanks again
T.

On Mar 20, 9:33 pm, "geocode...@gmail.com" <geocode...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages