I believe the google map API have changed. That plugin is obsolete. I think we need a new one. Anyway look into
applications/welcome/views/generic.map Anyway On Tuesday, 1 October 2013 09:57:38 UTC-5, Gael Princivalle wrote: > > Hi Massimo. > > Sorry but I've don't understand how I can use this plug-in. > >plugin_gmap.set=db(db.auth_user.id>0) ### change this to a query that > lists records with latitude and longitute > Do I have to create another table with one field, and make two records, > one with latitude and another with longitude ? In this case error is: > 'Row' object has no attribute 'auth_user' > > >plugin_gmap.represent=lambda row: '%(first_name)s %(last_name)s' % > row['auth_user'] > User must be logged for being able to see the map ? > > Thanks. > > Il giorno sabato 2 gennaio 2010 22:41:26 UTC+1, mdipierro ha scritto: >> >> Here is a gmap plugin. >> - install >> - edit models/plugin_gmap.py to set the query for the points to be >> shown on map (read example) >> - add component to pages {{=LOAD('plugin_gmap')}} >> >> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.