[ka-Map-users] dynamic route display

Pg pg.navone at gmail.com
Wed Jan 25 16:56:33 EST 2006


I've on-line a new test version of kaXmlOverlay.js, the tool to
display dynamic objects on ka-Map with an XML document.

I changed the implementation of the rendering of geographic features,
linestrings and polygons. The new version uses a server side script to
generate a PNG/GIF image.
The new implementation seems solving most of the performance issues.
I tested it on Firefox, IE and Opera: Lorenzo, could you try t on Safari?

The number of vertices of any feature is limited; the limitation is
due to the need of sending the points on an URL (in the example there
is a linestring with 160 points).

I decided don't clip images, so if you zoom in the images can become
very big. This can be a problem, but in this way is sufficient to
redraw images only on scale changes: with clipping the images must be
redrawn also on pan.

You ca find the example in

	http://sistel.dyndns.info/ka-map/indext.html


the JavaScript component kaXmlOverlay.js in

	http://sistel.dyndns.info/ka-map/kaXmlOverlay.js


and the PHP script that generates bitmaps can be downloaded in
	
	http://sistel.dyndns.info/ka-map/drawgeom.php.txt

Bye

 --Pg



More information about the ka-Map-users mailing list