Bug: Does not load

1 view
Skip to first unread message

Tobias

unread,
Dec 10, 2007, 11:19:26 PM12/10/07
to ogmaps-discuss
This project sounds helpful. We got lost once recently when my buddy
just hit the print button when I told him to print out the map links i
sent him. Of course the maps were way to small and of no use
whatsoever.

When I open the resulting ogmap.html nothing happens on the screen. It
keeps connecting indefinitely. On my error console I see that it's
looking for a main.js on the Google server. The last error also sounds
less than good. I tested in Firefox and Opera.



CSS - file://localhost/home/towolf/src/misc/ogmaps/ogmap.html
Inlined stylesheet
Expected ruleset
Line 2:
top:.5em;}#search .logo {vertical-align:top;}v\:* {behavior:
url(#default#VML);}

--------------------------------------------------------------------------------
^
CSS - file://localhost/home/towolf/src/misc/ogmaps/ogmap.html
Inlined stylesheet
Declaration syntax error
Line 2:
{margin-top: 0px;padding-top: 0px;}.fade {opacity:
0.7;filter:alpha(opacity=70);

--------------------------------------------------------------------------------
^
JavaScript - http://www.google.com/intl/en_ALL/mapfiles/95/maps2/main.js

Linked script not loaded
CSS - file://localhost/home/towolf/src/misc/ogmaps/ogmap.html
HTML style attribute
Declaration syntax error
Line 1:
width:622px;height=350px
------------------------^
CSS - file://localhost/home/towolf/src/misc/ogmaps/ogmap.html
HTML style attribute
Unexpected end of file
Line 1:
width:622px;height=350px
------------------------^
JavaScript - file://localhost/home/towolf/src/misc/ogmaps/ogmap.html
Event thread: load
Error:
name: ReferenceError
message: Statement on line 3: Undefined variable: GMapsApplication
Backtrace:
Line 3 of inline#1 script in file://localhost/home/towolf/src/misc/ogmaps/ogmap.html:
In function loadApplication
function loadApplication() {var a = gApplication = new
GMapsApplication(e("map"),e("panel"),{pwm:"2"});var ev =
GEvent.addListener;var evd = GEvent.addDomListener;ev(a,
"updatepageurl", updatePageUrl);evd(a, "vpage", updatePageUrl);for
(var i in gMsgs) {spinit(i);}evd(e("showsendtox"),"click",function()
{stxshow(a);});ev(a, "setactivepaneltab", setPanelTab);var pr =
a.getPanelResizer();ev(pr, "showstart", setPanelTab);ev(pr, "close",
setPanelTab);var mrStub = new GDirectionsStub(a);msStub = new
MsStub(a);a.getMap().enableContextMenu();tlinit(a);cbinit(a, "http://
cbk0.google.com", "googlepano.034");lyrinit(a, ['http://
mlt0.google.com/mapslt','http://mlt1.google.com/mapslt','http://
mlt2.google.com/mapslt','http://mlt3.google.com/
mapslt']);a.setAuthToken("3020e807:kGXHHA-
iQv_4Ld1ufwHolUpoutE");a.getContext("mymaps")["moduletypes"] =
[null,"mpl" ,"gf" ,"ms" ];}
Line 3 of inline#5 script in file://localhost/home/towolf/src/misc/ogmaps/ogmap.html:
In function onLoad
function onLoad() {loadApplication();vpData.arg(0,
gApplication).check();var rnl_near = e("rnl_near");if (rnl_near)
{rnl_near.focus();}GBrowserIsCompatible(true);}
Line 1 of function script
onLoad()
...
Reply all
Reply to author
Forward
0 new messages