GLog & GDownloadUrl

1,019 views
Skip to first unread message

timothyb

unread,
Jun 1, 2009, 2:14:30 PM6/1/09
to Google Maps JavaScript API v3
Clearly these functions are not in v3 (yet). Is there an intention to
do so or are they too 'heavyweight'?

Cheers,
Tim B.

John Coryat

unread,
Jun 1, 2009, 2:18:29 PM6/1/09
to google-map...@googlegroups.com
You can use http request directly instead of GDownloadURL, it's just a wrapper to that function anyway. You can pretty much use alert in most cases where you had GLog before.

My example http://www.usnaviguide.com/v3maps/WhatZipCode.htm uses a home grown version of GDownloadURL, feel free to copy it if you want.

--
-John Coryat, USNaviguide LLC

timothyb

unread,
Jun 1, 2009, 8:31:11 PM6/1/09
to Google Maps JavaScript API v3


> My examplehttp://www.usnaviguide.com/v3maps/WhatZipCode.htmuses a home
> grown version of GDownloadURL, feel free to copy it if you want.

Thanks for such a timely response. I've give it a shot,

Cheers, Tim

pamela fox

unread,
Jun 1, 2009, 8:33:01 PM6/1/09
to google-map...@googlegroups.com
Hi Timothy -

We may add that kind of functionality as additional libraries, but not
in the core API.

Most developers seem to use a library like jQuery or Prototype for
generic functions like these, nowadays. The API v2 was created at a
time when no such libraries existed, and thus they were absolutely
necessary.

Please follow John's recommendation.

- pamela

String

unread,
Jun 2, 2009, 4:05:27 AM6/2/09
to Google Maps JavaScript API v3
On modern browsers you can also use console.log() for debugging; the
output will appear in Firebug, Dragonfly, or other JS debugger. Just
remember to remove them (or wrap them in a "if (!!window.console)"
test) before deploying your site, or you'll get errors on IE6/7.

String
Reply all
Reply to author
Forward
0 new messages