I have a setup with mapnik, tilecache and OpenLayers on Ubuntu that I can&#39;t get to work quite right. I&#39;m mailing this list because I&#39;m pretty sure it&#39;s an issue with my OpenLayers configuration. My tilecache config looks like this:<br>
<br>[cache]<br>type=Disk<br>base=/tmp/tilecache<br><br>[osm]<br>type=Mapnik<br>mapfile=/path/to/osm.xml<br>spherical_mercator=true<br>levels=19<br><br>And my javascript:<br><br>options = {<br>          maxResolution:156543.0339,<br>
          units:&#39;m&#39;,<br>          projection: new OpenLayers.Projection(&quot;EPSG:900913&quot;),<br>          displayProjection: new OpenLayers.Projection(&quot;EPSG:4326&quot;),<br>          maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34),<br>
          restrictedExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34),<br>          numZoomLevels: 19<br>};<br><br>map = new OpenLayers.Map(&#39;map&#39;, options);<br><br>layer = new OpenLayers.Layer.TMS(&quot;osm&quot;, &quot;/tilecache/&quot;,<br>
            {serviceVersion: &quot;1.0.1&quot;, layername: &quot;osm&quot;, type: &quot;png&quot;, sphericalMercator: true});<br><br>map.addLayer(layer);<br><br>I&#39;d appreciate any thoughts about what I am/may be doing wrong. Thanks!<br>