I suppose it could also be a CSS problem, so you might remove web2py.css and skeleton.css as well, just to see if that's the issue.
On Wednesday, February 29, 2012 9:40:19 PM UTC-5, Anthony wrote: > > Is Leaflet just client side Javascript? Just to make sure nothing in > web2py_ajax.html (and web2py.js) is interfering, what happens if you don't > include web2py_ajax.html in your layout (assuming it is now included)? > Also, are you using web2py templates to generate any of the Leaflet related > JS or HTML, or is that fixed? If the former, maybe your template code isn't > generating the proper Leaflet output (in which case, we'll need to see some > code to help). > > Anthony > > On Wednesday, February 29, 2012 4:00:07 PM UTC-5, ender wrote: >> >> Leaflet <http://leaflet.cloudmade.com>, a javascript library for >> embedding maps, has a mysterious problem that only crops up when you host a >> page using leaflet on web2py and try to view it in firefox. Specifically, >> map tiles fail to be loaded. As far as I can tell, leaflet is working as it >> should, building the map and placing it in the div, and even retrieving the >> tiles and appropriate urls, but firefox resolutely fails to show the actual >> map tiles. Webkit based browsers don't have a problem, but firefox (and ie >> 10) can't seem to handle the combination of web2py and leaflet. Anyone >> wanting to replicate this issue can take the simple example from leaflet's >> documentation, an api key from cloudmade.com (free), and load the page >> from web2py. Note: Leaflet absolutely works when its hosted on a simple >> webserver (I tested it on IIS). I can provide a code sample if needed. Can >> anyone help me track down the problem? > >