Hi Hocine, Hocine Hamadi <[EMAIL PROTECTED]> wrote on 05/26/2006 12:01:17 PM:
> ok nice, but if I add my jpeg files directly into the SVG file, I think there > will be a decrease of perfs, because in order to have a good display I will > have to refresh regularly the map and it takes "many times" to load a svg... If you set the canvas to be ALWAYS_DYNAMIC then you can modify the document's DOM directly (modifications must be done in the UpdateManager's runnable queue thread - read FAQ). When you add/modify the image element's the canvas will only re-render the modified portion of the display. Good luck! > ----- Message d'origine ---- > De : Cameron McCormack <[EMAIL PROTECTED]> > � : batik-users@xmlgraphics.apache.org > Envoyé le : Vendredi, 26 Mai 2006, 11h56mn 52s > Objet : Re: Re : interaction with a group of severals JSVGCanvas > Hi Hocine. > > Hocine Hamadi: > > Wo do you mean by : "Certainly it would be easier to use the one > JSVGCanvas, and add your > > crosses into the SVG document"? > > > > Do I have to fill the SVG file (XML file) with the JPEG Cross? If true, how > can I do that. > > Yes. You can add ?image? elements that refer to the JPEG file for every > cross that you want displayed on your map. > > -- > Cameron McCormack, http://mcc.id.au/ > xmpp:[EMAIL PROTECTED] ? ICQ 26955922 ? MSN [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]