[OSM-talk] Announcement: javascript map library "khtmlib"

Bernhard zwischenbrugger bz at datenkueche.com
Sun Mar 14 08:24:28 GMT 2010


Announcement: javascript map library "khtmlib"

The first beta version (code name: phnom penh) of the new khtmlib 
library is online now.
It's a completely new development and is indepented of openlayer, google 
maps and co.


Try it:
http://www.khtml.org/

Project home:
http://github.com/robotnic/khtmlib

Licence: LGPL - feel free to use in commercial projects.

Features:
The library has an object oriented API.
Main goal of the library is speed.
At the moment only mapnik tiles are supported.
Simple overlays (point, path, area) are supported.

API doc:
http://www.khtml.org/iphonemap/help.php
(doc will move to the wiki)

Browser Support:
Webkit (Chrome, Safari, Safari iPhone): very fast
Opera: 10.50 is very fast (not realy tested)
Firefox: much slower than webkit
Internet Explorer: Not supported (evt.pageX,...),

User Interface Desktop:
zoom: mousewheel, doubleclick, <shift>-mouse (draws rectangle for zoom)
move: mouse

User Interface iPhone:
zoom: mulitouch, doubleclick
move: touchscreen one finger

ToDo:
cyclemap, t at h support;
tile layers;
markers;
keyboard support;
...

Download:
http://github.com/robotnic/khtmlib/archives/master

------

The example page:
http://www.khtml.org/
This is an example how to use the library. This page is not free software.
You can have a look at the source and copy parts of it, but please don't
copy the page and put it online.
Features:
Namefinder, undo, redo, geolocation, distance measuring tool, fullscreen

Links:
edit current map view in potlatch and josm,
qr-code for open the current map view in iPhone,
link page for opening the current view in google, bing,... map.

----------------------

Bugreports:
If you find bugs, please add a bugreport at:
http://github.com/robotnic/khtmlib/issues
Bugreports are very welcome.
If you miss features please also add a bugreport.
Bugreports by email are also welcome, but I have many
 mails in my inbox and reports get lost for sure.


Help:
If you want to help, there are many things to do:

1.) Internet Explorer support.
That should be relative easy if you are able to debug javascript.
I don't have windows here and can't debug.

2.) Markers
Have a look at google maps API and do something like that.

3.) TileServer
At the moment only mapnik is supported.
It should be very easy to support other tile servers.
Have a look at google or openlayer API.

4.) Keyboard support
Make a list of keyCodes and the corresponding actions.

5.) Try to use the API and document it at the github WIKI
at github
http://wiki.github.com/robotnic/khtmlib/


Commercial support:
bernhard zwischenbrugger
bz(@)datenkueche.com


have fun

Bernhard




More information about the talk mailing list