[ka-Map-users] addObjectGeo error

harry at politistaten.dk harry at politistaten.dk
Wed Jan 18 19:33:18 EST 2006


Hello again

I've got this in my ka-Map HTML file:

123 <script type="text/javascript">
124	var canvas = myKaMap.createDrawingCanvas( 5000 ); //zindex=500
125	var img = document.createElement( 'img' );
126	img.src = 'images/valid-html401.png';
127	myKaMap.addObjectGeo( canvas, 10061392, 56442166, img );
128 </script

But Firefox Javascript-console gives me this error:

Error: myKaMap has no properties
Line: 124

Also, i am not sure my lat/lon are right, what is the format, if the
coordinate is 10°06'13.92"N 56°44'21.66"E ?



More information about the ka-Map-users mailing list