Re: [web2py] Re: javascript/openlayers example in web2py

2014-01-16 Thread Miguel Sánchez
Hi Manuele and other members, I ´m not a programmer, I come from the Human Sciences, but I´m mounting my social project in http://redhumus.org . I have a lot of issues yet. I have created the plugin_map in my application to manage gpx tracks from openstreetmaps. The deal is create an applicat

Re: [web2py] Re: javascript/openlayers example in web2py

2012-02-18 Thread Manuele Pesenti
Il 18/02/2012 22:16, Manuele Pesenti ha scritto: hello Antony, thanks for your replay... I've just tryed your solution but without success... do I have to explicity call the function after the definition you suggest? jQuery lib is loaded in the page... cheers Manuele I beg your pardon..

Re: [web2py] Re: javascript/openlayers example in web2py

2012-02-18 Thread Manuele Pesenti
Il 18/02/2012 20:32, Anthony ha scritto: If you're using jQuery, maybe you can just move the init() function contents into: $(function () { var map, layer; map = new OpenLayers.Map('map'); layer = new OpenLayers.Layer.OSM( "Simple OSM Map"); map.addLayer(layer); map.setCente