• Home
  • Advertising
  • Bing Products and SEO
  • Building Presence on Social Networks
  • Google Products
  • Online Marketing
  • Random Stuff
  • Search Engine Optimization
  • Web Development
  • Website Design

Google Maps API

Google Products Jun 20, 2007
Google Maps API

Google Maps API

Google Maps API Version 2

Version 2 Features

Version 2 cleans up much of the API, improving performance and stability in fundamental ways, based on feedback from many API sites. It also includes a number of frequently-requested features, including:

  • Much smaller JavaScript download. The new Maps API JavaScript file is about half the size of the old one, which should improve the user experience on your website.
  • Two additional satellite zoom levels. Increased imagery resolution and coverage in the U.S., Canada, the U.K., Japan, Europe, and almost every major city in the world.
  • Overview map. Our new GOverviewMapControl control displays an attractive and collapsible map in the corner of the screen.
  • Extensibility and a new GMap2 class. The GMap2 The interface has been redesigned to allow API users to extend it. We now have documented ways to create custom map controls, overlays, and even custom map types.
  • Fewer memory leaks. The API now includes a GUnload method that you can call in the unload event of your page to destroy most circular references, including those formed implicitly during event registration. On Google Maps, this has virtually eliminated memory leaks in IE.
  • Debugging log. A simple, floating debug window used internally by the Google Maps engineering team allows you to print debug information easily without blocking program execution or interfering with the UI. Just replace your alert() calls with GLog.write().
  • Last but not least, a GLatLng The class that is distinct from GPoint. You no longer need to reverse your latitude and longitude to construct a geographic point!

Friendlier Terms

In conjunction with this launch, we’ve updated the terms and conditions for the Maps API. In particular, we’ve clarified and updated the two parts of our terms that have troubled developers the most:

  • No page view limits. Your site can get as many page views as you can muster. Advance to handle your traffic.
  • 90-day notice before any advertising-related change. The Maps API does not include advertising. If we ever decide to change this policy, we will give all developers at least 90 days’ notice via this blog.

We hope these changes will give you all more confidence in using the Maps API in your larger-scale commercial projects. The changes to the terms and conditions are described on our API Signup page.

Upgrading from Version 1 to Version 2

Version 2 of the Maps API is designed to be 99% backwards-compatible with the previous version of the API. To accomplish this, Version 2 introduces a new map class with an updated interface and new method names. The old map class will continue to exist in Version 2 of the API and includes the same documented interface as Version 1 of the API.

Given this design, you should theoretically be able to update your Maps API. <script> URL to refer to “v=2” instead of “v=1“And your site will just work. Remember, though, that we’re engineers, not magicians, so that things may be slightly more complex in practice. 😉 In particular, we did not preserve many undocumented functions, so many sites will need to update their scripts to accommodate this change.

Rollout Timeline

We ask that you try using the new API over the next couple of weeks on your development and staging servers and report any issues or bugs you find to the discussion group, so we can assess how easy the transition will be for most sites. Version 1 and Version 2 will coexist for at least a month, regardless of the number of bugs reported. We may also preserve Version 1 of the API for longer if people report many or complex transition problems. At that time, Version 2 will become the “default,” and all sites will automatically start using it.

Share This Post
Facebook Twitter Linkedin Google+
Newer Older

Archives

  • May 2025 (1)
  • April 2025 (5)
  • March 2025 (1)
  • November 2024 (1)
  • June 2023 (1)
  • August 2021 (1)
  • April 2021 (1)
  • March 2021 (3)
  • February 2021 (1)
  • April 2020 (1)
  • November 2019 (1)
  • May 2019 (6)
  • September 2018 (1)
  • May 2018 (1)
  • April 2018 (1)
  • November 2016 (1)
  • August 2016 (1)
  • April 2016 (1)
  • November 2015 (1)
  • October 2015 (1)
  • September 2015 (2)
  • February 2014 (1)
  • October 2013 (2)
  • September 2013 (1)
  • August 2013 (1)
  • June 2013 (2)
  • May 2013 (1)
  • February 2013 (2)
  • September 2012 (2)
  • August 2012 (3)
  • May 2012 (2)
  • November 2011 (1)
  • August 2011 (1)
  • July 2011 (1)
  • June 2011 (1)
  • May 2011 (3)
  • March 2011 (1)
  • December 2010 (2)
  • August 2010 (3)
  • July 2010 (2)
  • October 2009 (2)
  • July 2009 (1)
  • October 2008 (2)
  • August 2008 (3)
  • July 2008 (1)
  • May 2008 (2)
  • April 2008 (1)
  • January 2008 (1)
  • November 2007 (1)
  • September 2007 (1)
  • July 2007 (2)
  • June 2007 (3)
  • January 2007 (2)
  • December 2006 (3)
  • October 2006 (1)
  • September 2006 (2)
  • August 2006 (1)
  • July 2006 (2)
  • June 2006 (2)
  • May 2006 (2)
  • April 2006 (5)
  • March 2006 (2)
  • February 2006 (3)
  • January 2006 (3)
  • December 2005 (3)
  • November 2005 (7)
  • October 2005 (8)
  • September 2005 (5)
  • August 2005 (5)
  • July 2005 (1)
  • February 2005 (3)
  • January 2005 (1)