[OSM-dev] khtmlib new version online
Bernhard Zwischenbrugger
bz at datenkueche.com
Thu Nov 25 20:07:11 GMT 2010
Hi
> Am 20.11.2010 18:08, schrieb Bernhard Zwischenbrugger:
>> I have a new version of my khtmlib based map online.
>
> Where can I get it?
>
> The link at http://www.khtml.org/osm/v0.83/help.php is dead.
The link is working now.
> The source at http://www.khtml.org/ loads a alljs.php and a livejs
The php puts together some files.
If you download
http://www.khtml.org/osm/v0.83/alljs.php
you have the lib.
The livejs is not part of the library.
A good starting point is:
http://www.khtml.org/osm/v0.83/examples/simple.html
> The file at https://github.com/robotnic/khtmlib is outdated (v0.54)
Sorry for that.
I will update soon.
At the moment I'm very busy but that will change in december.
> The link to the Documentation for programers at help.php is dead
> (http://www.khtml.org/osm/v0.83/programdocu.html)
Thanks for bug report, I fixed that - but that's maybe not what you expect.
>
>
> Where do i get the lib? Is there a compressed version? What additional
> files (imgs, css) do I need?
There is no compressed version at the moment.
There are no additional files needed.
For the simplest version you can copy paste this:
-------------------snip-----------------------
<html>
<head>
<script type="text/javascript"src="http://www.khtml.org/osm/v0.83/alljs.php"> </script>
<script type="text/javascript">
var map=null;
function init(){
map=new kmap(document.getElementById("map"));
map.setCenter(new kPoint(0,0),2);
}
</script>
</head>
<body onload="init()">
<div id="map"style="position:absolute;top:50px;left:50px;width:700px;height:400px">
</div>
</body>
</html>
-----------------snap--------------------
Bernhard
More information about the dev
mailing list