Hi,

On my github repository at http://github.com/jocelynj/viking, I have
two branches that might be interesting.


1) http://github.com/jocelynj/viking/commits/dragdrop

This branch contains one commit to make map drag and drop working
correctly - this means that when you click on the map, and keep the
button pressed, you should have the map moving with the mouse, like
on Openstreetmap website.

I haven't check if this commit degrades viking performance, but I don't
think so.


2) http://github.com/jocelynj/viking/commits/etag

This branch contains some commits to add etag support for maps
download. Etag is simply a code that a website can send alongside a
picture, and can be returned by the client to the server so that the
serveur checks if there is a new picture to send. If the Etag is
correct, then no new picture is sent. This is in fact the same behaviour
than with If-Modified-Since, except that Etag is stored in a file which
is put in the same directory than the picture.

I have added this because mapnik server uses Etag - I think that this
is the only map source in viking that uses Etag.

I'm not fully happy with the implementation because it forces
developers to configure each map layer if it uses If-Modified-Since or
Etag mechanisms. I think it would be better if viking could choose the
mechanism to use according to the headers received in the previous
fetch. 



Jocelyn

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/

Reply via email to