I've been beating my head against this for two days, so I'm sorry if it's a dumb question, but I'm really lost.
I have googleplaces working and giving me lat/lon data without any problem. Now I want to display this data on a Google Map using web2py. Am I forced to use something like gmaps.js? I was hoping to handle everything in my controller, not an external JS library. I've tried pygmaps (https://code.google.com/p/pygmaps/) but it is designed to output an html file as in its example code below. So how do I get that to export into an iframe in one of my views? I was thinking something like IFRAME(_src='mymap.html'), but that doesn't work... mymap = pygmaps.maps(37.428, -122.145, 16) mymap.setgrids(37.42, 37.43, 0.001, -122.15, -122.14, 0.001) mymap.addpoint(37.427, -122.145, "#0000FF", 'title') # mymap.addradpoint(37.429, -122.145, 95, "#FF0000","my-location") path = [(37.429, -122.145),(37.428, -122.145),(37.427, -122.145),(37.427, -122.146),(37.427, -122.146)] mymap.addpath(path,"#00FF00") mymap.draw('./mymap.html') Or am I going about this all wrong? I want to display multiple points on a single map. I didn't think it would be this difficult. I promise, if someone helps me figure this thing out, I'll make a nice tutorial so future users will have something easy to reference. -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

