Hi folks,
Today I have uploaded the latest development version of the jQuery Maps Plugin (available here: http://jmaps.googlecode.com/files/jquery.jmaps.development.js or in the branch of the SVN). I've started making this plugin more of a maps framework, and have included support for Yahoo! maps, as well as Google (which is now the default). To use it for example you can do either: $('#jmap').jmap(); // Creates a google map $('#jmap').jmap({provider: "yahoo"}); // Creates a yahoo map To make creating different types of maps easy, you can pass in three maps types: "sat", "map" or "hybrid" - these will automatically pick the API's constant for showing these map types. Each method is pretty much the same, however there are some slight differences (some by design, some from bugs). For example, .addPoint() works with either Google or Yahoo, however, with the Yahoo maps it currently doesn't support deleting or dragging on the marker. For Polylines, there is a difference in how Google and Yahoo construct their polylines, so you need to check the documentation at the relevant sites before passing them into the method. The .addKml() has been changed to .addRss(), and supports both KML and GeoRSS on both maps. There is currently no Geocoding or Directions support for Yahoo! maps, as these are not supported in the AJAX API, instead REST calls need to be made so support for this will be added later once i've had a good look through the book to see how to do this. So far, here is the changelog: * Added support for creating Yahoo! Maps, can create Map, Satallite or Hybrid. Check out available options below * Added support for creating points on Yahoo! maps. * Added support for creating Polylines on Yahoo! maps. * Added support for GeoRSS files on both Yahoo! and Google maps, as well as existing KML support for Google, method * name was changed from .addKml to .addRss * Moved directions search out of main namespace, now function that is called from within plugin by providing fields As usual - bugs, comments and suggestions are more than welcome. Regards, -- Tane Piper http://digitalspaghetti.tooum.net This email is: [ ] blogable [ x ] ask first [ ] private