->

28 May 2009

Brand New Google Maps API v3

Brand New Google Maps API v3 (in Labs)

Just released... and its even faster....lots of code changes...
Google Maps API version 3 - Brand New

"Welcome to the release of version 3 of the Google Maps API. This JavaScript API will look similar to the existing version 2 of the Google Maps API. However, much has changed under the hood: Version 3 (called V3 within this document) has been designed to load fast, especially on mobile browsers such as Android-based devices and the iPhone™. The initial launch has a smaller feature set than that available in the V2 API. We will migrate additional features from V2 while working to keep the size of the JavaScript code small and maintain our optimized loading speeds. We welcome your feedback and comments on this version of the Google Maps API within the Google Maps API V3 discussion group."


Major Changes:
  • No API keys required! so can embed in RSS readers
  • Geocoding API has been overhauled!
  • Model–view–controller (MVC) based - so faster downloading javascript!

example of code changes:

function initialize() {
var myOptions = {
zoom
: 4,
center
: new google.maps.LatLng(-33, 151),
navigationControl
= false,
scaleControl
: true,
mapTypeId
: google.maps.MapTypeId.ROADMAP
}
var map = new google.maps.Map(document.getElementById("map_canvas"),
myOptions
);

More Information:
http://code.google.com/apis/maps/documentation/v3/
Official Blog Post:
http://googlegeodevelopers.blogspot.com/2009/05/announcing-google-maps-api-v3.html

Labels: , , , , , ,

1 Comments:

At Tuesday, November 24, 2009 8:12:00 am, Blogger Auro said...

I have a database rich of users with their positons in lat-lang. i want to give the search option to the users so that they can search for other users in a variable radius keeping himself/herself at the center.

 

Post a Comment

<< Home