jlp.petit wrote:

Hello,
I would like to know how to manage the display of a large SVG file, a world map for example.
My application has cartographic functionnalities such as a zoom. So I need a large SVG map file.
Is it possible to load only a part of a large SVG map file with a standard Batik API in a JSVGCanvas or is it required to make some extra developpement ?

Take a look at samples/extensions/multi.svg and samples/extensions/opera/opera-subImage.svg


Is it better to have a large SVG map or a to have many small SVG map files to avoid too much memory use ?

It is probably better to have a number of smaller SVG files. The examples take this a bit too the extreme but they should give you the idea.

I would very appreciate if some one who has been faced to the same problem could answer me.
Currently I have a world map ; the SVG file is about 150 ko and my application based on Batik works quiet fine. But the map has not enough details.



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to