Actually there is a google maps widget for toscawidgets. just do a "easy_install twMaps"
Haven't tried it yet, but it would at least give you a start. Uwe On Sunday 23 September 2007, exhuma.twn wrote: > On Sep 20, 11:14 am, "exhuma.twn" <[EMAIL PROTECTED]> wrote: > > On Sep 19, 3:43 pm, percious <[EMAIL PROTECTED]> wrote: > > > I thought there was someone who already did this, but I cannot find > > > the link. Try searching google Turbogears widgets and see the links > > > you get!!! ha! > > > > > > Anyway. If you are going to go down this path, please please please > > > use Toscawidgets so we can all take advantage of your shared code. > > > > > > cheers. > > > -chris > > > > > > On Sep 18, 9:28 am, "exhuma.twn" <[EMAIL PROTECTED]> wrote: > > > > Yesterday I started with a new FormField widget using GoogleMaps. > > > > > > > > Purpose: > > > > > > > > I have a field in the database containing the latitude/longitude of a > > > > location. I want this to be easily editable using a small google-maps > > > > <div>. > > > > > > > > The widget will most likely return the value as "(lat,long)" tuple. > > > > Or something similar. > > > > > > > > To my knowledge there is not yet such a widget. If there is, please > > > > tell me, I don't want to reinvent the wheel. If not, don't fret... I > > > > will share my code. ;) > > > > ToscaWidgets is new to me. I will have a look at it and I will try to > > create the GM Widget with ToscaWidgets in mind. > > Humm... I tried to wrap my head around ToscaWidgets. But I find the > doumentation lacking. First, the link to the subversion folder (http:// > www.turbogears.org/svn/turbogears/projects/ToscaWidgets/trunk/examples) > is broken. So I started to rummage through > http://svn.turbogears.org/projects/ToscaWidgets. > > The example application imports > "toscawidgets.widgets.forms.samples.AddUserForm". But I cannot find > this in the SVN folder. Also a "grep" in my site-packages/ToscaWidgets > did not come up with something helpful. > > So for now I will start off with a "normal" TurboGears-Style widget > until I figured out how to write a "ToscaWidget". Any pointers > appreciated. :( > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

