Hi Madhura,On Tue, May 31, 2011 at 4:09 PM, Madhura Jayaratne <madhura.cj@gmail.com> wrote:
Hi all,I have pushed into my repo, the code for visualizing GIS data. I used SVG for this purpose and i'm writing the SVG tags accordingly. This allows the users without JS support also to view the visualizing oppose to using jQuery SVG to generate SVGs. Further it allows the SVGs to be saved, which is one of the upcoming features. However I use jQuery SVG to manipulate the SVGs (zoom and pan), so the users with JS support gets a better user experience.I have also integrated two small libraries [1],[2] to allow panning the SVG on dragging and zooming on mouse wheel movement. These are not strictly needed but nice to have ones.One problem of SVG is the IE versions <=8 does not support is. I am using the GD library to generate a PNG image for them and this is in line with saving those visualization to various formats.You can test this out at my demo server[3] using the data in the opengis table. Please be kind enough to share your comments.
--
Thanks and Regards,Madhura Jayaratne[3] http://demo.phpmyadmin.net/gsoc-madhura/index.php
Please note that saving the visualization to various formats (SVG, PNG, PDF) is still not working. So please exclude them from your testings and trying outs
The basic zooming and panning functionally works well.
But, when I tried to zoom using mouse wheel, the page also scrolled (my screen height is 800 pixels). Maybe some javascript to prevent the default page scrolling behavior can be added.
Also, I think a bounding box in the SVG will be great, since I get lost of the main graphic when I panned and zoomed too much.--Aris Feryanto