<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16735" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=375150307-08042009>I have tried to load
a kamap layer in Openlayers.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=375150307-08042009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=375150307-08042009>I have used the
Kamap example from Openlayers. The problem is, that the example do not work
properly. I have searched Kamaps mailinglists, and altered the code accordingly.
But it still do not work.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=375150307-08042009>I have a working
Kamap application at <A
href="http://webkort.syddjurs.dk:8080/kamap/">http://webkort.syddjurs.dk:8080/kamap/</A> but
using this gives the same result as the local application.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=375150307-08042009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=375150307-08042009>Does anyone have an
idea of what I am missing to get it working.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=375150307-08042009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=375150307-08042009>The Openlayers code
is:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=375150307-08042009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=375150307-08042009><html xmlns="<A
href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</A>"><BR>
<head><BR> <title>OpenLayers KaMap
Example</title><BR> <link rel="stylesheet"
href="../theme/default/style.css" type="text/css" /><BR>
<link rel="stylesheet" href="style.css" type="text/css"
/><BR> <script
src="../lib/OpenLayers.js"></script><BR> <script
type="text/javascript"><BR> var
map;<BR> function
init(){<BR> <BR>
map = new OpenLayers.Map ( $('map'), {maxExtent: new OpenLayers.Bounds(545869,
6217995, 639525, 6256572), maxResolution: 'auto', i:'png',
projection:"EPSG:25832", 'controls': [], units: "m" }
);<BR> var options = { scales: [220000,
150000, 100000, 50000, 25000, 10000, 5000, 2500, 1000]
};<BR> var
syddjurs_kamap = new OpenLayers.Layer.KaMap(
"Oversigtskort",<BR>
"<A
href="http://127.0.0.1:8080/kamap/tile.php">http://127.0.0.1:8080/kamap/tile.php</A>",
{map: "gmap"});</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=375150307-08042009> <BR>
map.addLayers([syddjurs_kamap]);<BR>
map.addControl(new
OpenLayers.Control.LayerSwitcher());<BR>
map.zoomToMaxExtent();<BR>
}<BR> </script><BR> </head><BR>
<body onload="init()"><BR> <h1 id="title">KaMap
Example</h1></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=375150307-08042009>
<div id="tags"></div></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=375150307-08042009>
<p id="shortdesc"><BR>
Demonstrate a tiled kamap layer as the base map, which can be pre-cached for
higher performance.<BR> </p></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=375150307-08042009>
<div id="map" class="smallmap"></div></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=375150307-08042009>
<div id="docs"></div><BR>
</body><BR></html></SPAN></FONT></DIV>
<DIV> </DIV><BR><FONT face="Arial, Helvetica, Geneva, Sans-Serif"
color=#122f56 size=1>Venlig hilsen<BR><BR><B>Allan Gyldendal
Frederiksen</B><BR></FONT><FONT face="Arial, Helvetica, Geneva, Sans-Serif"
color=#900055 size=1>GIS-Koordinator</FONT><BR><FONT
face="Arial, Helvetica, Geneva, Sans-Serif" color=#122f56 size=1>IT-afdelingen
<BR><BR>Direkte 87535261<BR>Mobil 30924749<BR>agf@syddjurs.dk<BR></FONT>
<TABLE cellSpacing=0 cellPadding=0 width=630 summary=jf@officeaddon.com
border=0>
<TBODY>
<TR>
<TD>
<HR align=left color=#900055 SIZE=1>
<FONT face="Arial, Helvetica, Geneva, Sans-Serif" color=#122f56
size=1>Syddjurs Kommune IT-afdelingen Hovedgaden 77 8410 R๘nde Tlf
87535000 <A style="TEXT-DECORATION: none"
href="http://www.syddjurs.dk/"><FONT
face="Arial, Helvetica, Geneva, Sans-Serif" color=#122f56
size=1>www.syddjurs.dk</FONT></A></FONT>
<HR align=left color=#900055 SIZE=1>
</TD></TR></TBODY></TABLE><!--eMS5.3.0.D2M.4Y.2009-->
<DIV> </DIV></BODY></HTML>