Member Sign In
Not a member?

A Wired.com user account lets you create, edit and comment on Webmonkey articles. You will also be able to contribute to the Wired How-To Wiki and comment on news stories at Wired.com.


It's fast and free.

Sign in with OpenID
Sign In
Webmonkey is a property of Wired Digital.
processing...
Join Webmonkey

Please send me occasional e-mail updates about new features and special offers from Wired/Webmonkey.
Yes No

Please send occasional e-mail offers from Wired/Webmonkey affiliated web sites and publications, and carefully selected companies.
Yes No

I understand and agree that registration on or use of this site constitutes agreement to Webmonkey's User Agreement and Privacy Policy.
Webmonkey is a property of Wired Digital.
processing...

Retrieve Sign In

Please enter your e-mail address or username below. Your username and password will be sent to the e-mail address you provided us.

or
Webmonkey is a property of Wired Digital.
processing...

Welcome to Webmonkey

A private profile page has been created for you.
As a member of Webmonkey, you can now:
  • edit articles
  • add to the code library
  • design and write a tutorial
  • comment on any Webmonkey article
Close
Webmonkey is a property of Wired Digital.

Sign In Information Sent

An e-mail has been sent to the e-mail address registered in this account.
If you cannot find it in your in-box, please check your bulk or junk folders.
Sign In
Webmonkey is a property of Wired Digital.

Google Maps V3 Offers Easier, Faster API

Google has announced the next major version of its Maps API. While Google has added features to the API at a pretty regular pace, the Maps API hasn’t seen a major rewrite in almost three years.

The new Google Maps API v3 promises a simpler, faster set of tools and has been optimized for the small screen with the iPhone’s Mobile Safari and Google Chrome making the list of supported browsers. Your mashups should also work on Android’s browser with only a few small issues.

Although version 3 is currently only in the testing phase, there are several big changes that should make it an appealing upgrade for developers.

  1. You no longer need an API key — If you’ve ever tried cutting and pasting code from Google Maps tutorials, only to get API key errors, your pain is gone. Cut and paste with abandon.
  2. Smaller JavaScript download — The API has been refactored with an emphasis on using MVC architecture. The result is a smaller JavaScript file, making for significantly faster page loads.
  3. The Default UI is enabled automatically — There’s no need to add zooming or other controls to your map under the new API. It’s a small change, but it saves a few lines of code and makes developers’ lives easier. Of course, if you’ve been using your own, custom UI controls you can still do so.
  4. Chrome and Mobile Safari have been added to the list of supported browsers. While your mashups should work on Android-based phones with the most recent update, Google does caution that there may be some issues during this Labs testing phase.

For a complete rundown on what’s new and changed in Google Maps API v3 check out the reference page on Google Labs and the documentation. There’s also a new Google Group for gathering developer feedback on v3.

While Google is calling the new API “experimental,” I went ahead and ran some of the demo code in the browser. I can safely say that if you don’t mind the beta status, the speed improvements alone are well worth any risk of reliability.

See Also:

Post Comment Comments Permalink Print
Reddit Digg

 
Subscribe now

Special Offer For Webmonkey Users

WIRED magazine:
The first word on how technology is changing our world.

Subscribe for just $10 a year