You should read these posts : http://rabaix.net/en/articles/2009/03/02/how-to-create-a-multi-field-widget-with-sf-form http://rabaix.net/en/articles/2009/03/04/how-to-use-the-sw-widget-form-g-map-address-widget
;) On Fri, Mar 13, 2009 at 6:15 PM, Yevgeniy A. Viktorov <w...@osmonitoring.com>wrote: > > > Congrats, Fabrice :) > > What do you think about form widget with such functionality: > http://addresschooser.mapeed.com/doc/ > to pick lng/lat visually? > > That's just an idea I would like to implement, but if no one did it yet? :D > > Thanks. > > Fabrice B wrote: > > sfEasyGmapPlugin is a very easy to use Google Maps API plugin for > > symfony, inspired by the Phoogle class... but better :-) > > > > A very simple version has been available for a few months but I have > > now finally released the 1.0 version, with the following new > > features : > > > > - it is now sf1.2 compatible straight out of the box > > - it has some unit tests > > - the GMap constructor now takes an array of parameters, which is much > > more flexible and also more in the symfony coding spirit (Warning : > > the modification of the GMap constructor should break your application > > if you used the prior version of sfEasyGMapPlugin) > > - there are interesting functions concerning Bounds : > > - smallest enclosing bound > > - propel criteria "in bounds" > > - homothety transformation > > - zoomOut transformation > > - there are interesting functions concerning conversion from/to lat/ > > lng to/from Google's pixel coordinates system. These can be very > > useful if you want to guess the bounds knowing only the center lat/ > > lng, the zoom level and the map's width/height in pixels. They involve > > a few mathematical formulas that were not so straightforward, (since > > you need to understand how Google's projection works) so trust me, > > these functions are valuable, even if they only concern power users. > > > > I have also developed a few doctrine-specific functions which are > > unfortunately not available yet because not generic enough. I will try > > to release them in the next version. > > > > The official symfony page is here : > http://svn.symfony-project.com/plugins/sfEasyGMapPlugin > > > > Please feel free to comment on this work in progress, here or on my > > blog : > > > http://www.theodo.fr/blog/2009/03/symfony-google-maps-api-plugin-sfeasygmapplugin-v10-is-out/ > > > > Regards, > > > > Fabrice Bernhard > > -- > > http://www.theodo.fr > > > > > > > > > > > -- Thomas Rabaix http://rabaix.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---