Re: [svg-developers] how to display dynamic svg from database

2005-04-07 Thread Rerun
Consider PHP also. Carto.net has some tutorials. http://www.carto.net/papers/svg/samples/serverside_svg_php.shtml Ronan Oger wrote: Hi, You require server-side programming to access a database. Your clientside (SVG/ecmascript) code is unable to access a database. Take any example of Perl

Re: [svg-developers] parseXML and accessing nodes.

2005-04-07 Thread Rerun
I added a while loop that throws me for a loop, no pun intended. svg id=svg g id=state /g g id=cntry g id=sean /g /g g id=nps /g g id=wtr /g /svg //parse content of the XML format to the variable node var node = parseXML(data.content, document);

Re: [svg-developers] Odd polygon behavior

2005-03-31 Thread Rerun
Elaboration. The hole in the first one is the result of an intersection, and not the second. I cut and pasted a hole I knew to work into the same svg file, replacing the one that does not to create the 2nd svg file. This way I was comparing apples to apples. Rerun wrote: Below are two SVG

[svg-developers] PHP, SVG, PDF

2005-03-08 Thread Rerun
I've started, with some success, writing a php script that uses PDFLIB to write out SVG in a PDF. It seemed like a good idea, but then I got to thinking about polygons that have holes in them. It started to seem more complicated than it was worth. Maybe I'm wrong. Does anyone know how

[svg-developers] Panning

2005-02-25 Thread Rerun
Maybe I should rephrase my question. Is there a way to freeze the SVG while my home-made panning tool is panning, similar to what the Adobe viewer pan tool doese? For large SVG content, panning can be slow otherwise. Thanks. - To unsubscribe send a message to: [EMAIL PROTECTED] -or-

Re: [svg-developers] Panning

2005-02-25 Thread Rerun
method of panning. Why don't you just store the clientx/clienty in a variable on mousedown, and hold them there until mouse up, then you can calculate the distance dragged and update your svg onmouseup event. --KG -Original Message- From: Rerun [mailto:[EMAIL PROTECTED] Sent: Friday

Re: [svg-developers] Panning

2005-02-25 Thread Rerun
you just store the clientx/clienty in a variable on mousedown, and hold them there until mouse up, then you can calculate the distance dragged and update your svg onmouseup event. --KG -Original Message- From: Rerun [mailto:[EMAIL PROTECTED] Sent: Friday, February 25, 2005

Re: [svg-developers] Panning

2005-02-25 Thread Rerun
The Adobe viewer doesn't allow me to create buttons for zoom and pan, and I also want to be able to reset my viewbox as I'm zooming and panning. I create maps dynamically out of a database depending on scale. Pete d'Oronzio wrote: I thought about clipping, but that seems complicated. I also

[svg-developers] suspend_draw/refresh whatever it takes

2005-02-24 Thread Rerun
I've created my own pan tool and have disabled the adobe one, but I'm lacking one feature. How can I prevent the svg from being redrawn until the mouseup event. I've looked into suspend_draw, but it is either not appropriate, or I'm not using right. Thanks. - To unsubscribe send a

Re: [svg-developers] Getting Started creating Maps?

2005-02-12 Thread Rerun
Do you use php, if so I have a script that exports straight from ESRI's shape to an svg file. The shape file is one of the more common sources of vector mapping data. tbone58x wrote: I would like to be able to create maps of the United States showing some of my own custom attributes (how

Re: [svg-developers] Adobe please distribute SVG Viewer ...MASSIVELY !!!

2005-02-10 Thread Rerun
Native SVG in Firefox I believe is scheduled for March, but that may have changed With regards to IE, how hard would it be to develop an open source plugin? I don't know where to start to develop one, but it doesn't seem inpossible. What if a group was started to develop one? Start taking

Re: [svg-developers] Re: Mozilla/Firefox Issue, Please Help

2005-02-09 Thread Rerun
I have a php solution that works for both IE and Mozilla if anyone is interested. It only requires one HTML/XHTML doc. They are the same, but I create them slightly different depending on browser type. academyhtml wrote: So even with the use of the object tag, with ASV there is no way to

Re: [svg-developers] Re: Mozilla/Firefox Issue, Please Help

2005-02-09 Thread Rerun
nonetheless. On Wed, 09 Feb 2005 13:15:02 -0700, Rerun [EMAIL PROTECTED] wrote: I have a php solution that works for both IE and Mozilla if anyone is interested. It only requires one HTML/XHTML doc. They are the same, but I create them slightly different depending on browser type

Re: [svg-developers] Re: Mozilla/Firefox Issue, Please Help

2005-02-09 Thread Rerun
This is even better. Rerun wrote: You'll notice the mozilla version I write the SVG straight out, but with php you could pull this code from another file (ocean.svg and do the necessary replacements to make it work for instance) or a database. [Non-text portions of this message have

Re: [svg-developers] Mozilla/Firefox Issue, Please Help

2005-02-08 Thread Rerun
in the HTML document you would use: HTMLObjectElement.contentDocument.defaultView.mySVGFunc() I haven't quite figured it out yet, but it may help you find an answer. On Mon, 07 Feb 2005 13:49:33 -0700, Rerun [EMAIL PROTECTED] academyhtml wrote: Hi, I'm using an embed along

Re: [svg-developers] Mozilla getStyle GetStyleData JavaScript etc

2005-02-07 Thread Rerun
, but the object tag doesn't allow the use of JavaScript, neither does the embed tag in a Mozilla browser. Am I up a creek with this, or is there another way to add interactivity with js? Doug Schepers wrote: Hi, Rerun- You can generally avoid the whole issue by not using CSS. If you aren't using CSS