try to move <script src="http://maps.google.com/maps/api/js?sensor=true"></script> <script src="{{=URL('static','js/gmaps.js')}}"></script>
below {{extend 'layout.html'}} Il giorno venerdì 15 giugno 2012 16:59:43 UTC+2, Omi Chiba ha scritto: > > Can anyone point out what I'm doing wrong ? > > I downloaded gmaps.js and placed under static/js, then tried the following > code but nothing shows.. > > default/index.html > <script src="http://maps.google.com/maps/api/js?sensor=true"></script> > <script src="{{=URL('static','js/gmaps.js')}}"></script> > {{extend 'layout.html'}} > > > <script> > $(document).ready(function(){ > map = new GMaps({ > div: '#map', > lat: -12.043333, > lng: -77.028333 > }); > }); > </script> > > > <div id="map" style="height:200px;width:200px;"></div> > > > > > > On Sunday, June 10, 2012 8:17:48 AM UTC-5, mcm wrote: >> >> Javier, >> >> No thanks no help needed by me at the moment. :-D >> Simply bad writing, sorry. It should have been: >> >> "[This] Helps implementing google maps." >> >> http://hpneo.github.com/gmaps/ >> >> mic >> >> >> 2012/6/9 Javier Quarite <jquari...@gmail.com>: >> >> El jueves, 7 de junio de 2012 00:04:29 UTC+2, mcm escribió: >> >>> >> >>> Help implementig google maps. >> >>> >> >>> http://hpneo.github.com/gmaps/ >> >>> >> >>> mic >> > >> > >> > What problems do you have? >> >