I have full fledged integration of google maps version 2 in my web application, with features like get directions, cluster markers, tabbed info window, context menu(right click). The implementation has very poor design which is causing some problem, So now I need to revamp the core implementation to better design. I was thinking of upgrading to version 3 of google maps API. Please suggest, if that's a good thing to do and my all features will be running fine(or I will get replacement for all the features mentioned) in less time. Or should I stick to the version 2 of the google maps API?
+2
A:
I recommend you upgrade to v3. I upgraded my site a few months ago (and blogged about the experience). A few things to keep in mind:
- No more API key.
- The marker and info window API has changed, for the better.
- No more AJAX helper stuff. If you are using GXMLHttp, you will need to swap over to a new AJAX wrapper (Jquery, mootools etc).
- Check your lat/lngs are in the right order. GPoint takes x and y (longitude and latitude). v3 has a latlng object, so you params might be backwards.
- Styled maps - You will be able to customize your color scheme in v3.
- Don't think you can turn on the Google earth plugin in a single line of code like you could in v2 (not 100% on this, so please correct me if I am wrong).
Once you are done, you will be happy to make the change. Pages load faster, zooming is smoother (polyines scale as you zoom instead of disappearing) and the mobile experience is much better.
Cannonade
2010-10-01 14:45:53
Thanks for the suggestion. I forgot to mention, I am using mootools for my development. and I am not using GXMLHttp, have got rid of that, using simple json and geocode service. No idea about AJAX wrapper have to look into that. Excited about changing to v3 cause I wanted to add more functionality using google data api...
vishwanath
2010-10-02 07:47:49