figured out hte problem, for any who have a similar problem, the problem was that the default tile size for OpenLayers is 256, but hte default for KaMap is 200. Thanks to Chris Schmidt for the tip off <br><br><div><span class="gmail_quote">
On 5/7/07, <b class="gmail_sendername">Adam Eskreis</b> <<a href="mailto:aeskreis@gmail.com">aeskreis@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am currently having a problem setting up KaMap layers with openlayers. It loads perfectly in the kamap viewer, but when i load the map in openlayers, all the tiles show up pink. When i looked at one of the tile urls, i got the following errors :
<br><br>image url: <a href="http://nycmx.com:8000/kamap/tile.php?map=manhattan&g=__base__%2Cwater%2Cparks%2C&i=png&t=-768&l=4096&s=711304.0233" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://nycmx.com:8000/kamap/tile.php?map=manhattan&g=__base__%2Cwater%2Cparks%2C&i=png&t=-768&l=4096&s=711304.0233
</a><br><br><br>
<b>Warning</b>:
fopen(/usr/local/fgs/apps/kamap/htdocs/tmp/kacache/manhattan//711304/__base___water_parks_/def/t-1000l4000/t-768l4096.png):
failed to open stream: No such file or directory in <b>/usr/local/fgs/apps/kamap/htdocs/tile.php</b> on line <b>288</b><br>
<br>
<b>Warning</b>: Cannot modify header information - headers already sent
by (output started at /usr/local/fgs/apps/kamap/htdocs/tile.php:223) in
<b>/usr/local/fgs/apps/kamap/htdocs/tile.php</b> on line <b>289</b><br>
<br>
<b>Warning</b>: filesize(): Stat failed for
/usr/local/fgs/apps/kamap/htdocs/tmp/kacache/manhattan//711304/__base___water_parks_/def/t-1000l4000/t-768l4096.png
(errno=2 - No such file or directory) in <b>/usr/local/fgs/apps/kamap/htdocs/tile.php</b> on line <b>290</b><br>
<br>
<b>Warning</b>: Cannot modify header information - headers already sent
by (output started at /usr/local/fgs/apps/kamap/htdocs/tile.php:223) in
<b>/usr/local/fgs/apps/kamap/htdocs/tile.php</b> on line <b>290</b><br>
<br>
<b>Warning</b>: Cannot modify header information - headers already sent
by (output started at /usr/local/fgs/apps/kamap/htdocs/tile.php:223) in
<b>/usr/local/fgs/apps/kamap/htdocs/tile.php</b> on line <b>291</b><br>
<br>
<b>Warning</b>: Cannot modify header information - headers already sent
by (output started at /usr/local/fgs/apps/kamap/htdocs/tile.php:223) in
<b>/usr/local/fgs/apps/kamap/htdocs/tile.php</b> on line <b>292</b><br>
<br>
<b>Warning</b>: fpassthru(): supplied argument is not a valid stream resource in <b>/usr/local/fgs/apps/kamap/htdocs/tile.php</b> on line <b>293</b><br>
<br>
<b>Warning</b>: fclose(): supplied argument is not a valid stream resource in <b>/usr/local/fgs/apps/kamap/htdocs/tile.php</b> on line <b>294<br><br></b>I checked for the image it was looking for, and sure enough it wasnt there, but shouldn't it create teh image if it isnt there?
<br><br>here is the live versions of everything:<br><br>kamap viewer: <a href="http://nycmx.com:8000/kamap/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://nycmx.com:8000/kamap/</a><br>openlayers version:
<a href="http://nycmx.com:8080/nycmx_maps/Map.htm" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://nycmx.com:8080/nycmx_maps/Map.htm
</a><br><br>any help would be most apreciated, thanx<br><span class="sg"><br>-Adam<br><b><br><br></b><br><br>
</span></blockquote></div><br>