- I get the following error opening it in Opera 9 Preview 2: "XML 
parsing failed: syntax error (Line: 432, Character: 10)". So look at 
your xml again. (id's in XML cannot have spaces: [id="Ichankhu Narayan"] 
for example)

- It opens in FF 1.5 but the interaction doesn't work.

- On IE +ASV it works, but the map is probably too heavy. You could 
think about showing less layers when you are zoomed out. The more you 
zoom in you could add some other layers. I once did this via another 
xml-configuration file which looked like this:

<?xml version="1.0" encoding="UTF-8"?>
<mapconfig>   
    <mapsettings zoomFactor="0.6" panStep="15" maxWidth="1477" 
minWidth="50" svgId="svgmap"/>
    <zoomranges>
        <range id="ZR0" upperBound="1477" lowerBound="500">           
            <layers>
                <BigStreet display="on" showNames="yes"/>
                <RegularStreet display="off" showNames="no"/>
                <Square display="on" showNames="yes"/>
                <UrbanRegion display="on" showNames="yes"/>
                <Water display="on" showNames="yes"/>
                <Railway display="on" showNames="no"/>
                <Parc display="on" showNames="yes"/>
            </layers>
        </range>       
        <range id="ZR1" upperBound="500" lowerBound="50">
            <layers>
                <BigStreet display="on" showNames="yes"/>
                <RegularStreet display="on" showNames="yes"/>
                <Square display="on" showNames="yes"/>
                <UrbanRegion display="on" showNames="yes"/>
                <Water display="on" showNames="yes"/>
                <Railway display="on" showNames="no"/>
                <Parc display="on" showNames="yes"/>   
            </layers>
        </range>   
    </zoomranges>
</mapconfig>

In each zoomrange I can define which layer I want to see, and which 
properties I want show or hide. The upperbound and lowerbound values are 
compared with the width of the viewBox to determine in which zoomrange 
you currently are. There are probably alternatives for this (and better 
ones :)), but this can give you an idea.

- Another more advanced feature which could be useful, especially when 
using large maps like yours, is dividing the map into grids, combined 
with the changing level of detail I just discussed.

- You should provide some other zoom functions on the client, because 
one click on the zoom-in button doesn't really change much. Zooming by 
drawing a rectangle for example could be very nice.

- You have created checkboxes to turn the layers on or off on the right 
side and the legend on the left side. Why not make an interactive legend 
and put the two together. When you have a lot of content inside the 
legend, creating a tree would make it possible to close some main legend 
categories, making the legend shorter. A scrollbar could also be useful 
there.

- You have created pan buttons on the side of the map which are only 
shown when the mouse is over them. So the user doesn't know about the 
existence of those buttons until he accidently goes over those areas. It 
might be better to draw them from the beginning and putting a mouseover 
effect on it. Also add some arrows. Many people will associate buttons 
with arrows on a map application with panning.

- You can also make your map a lot smaller by using relative map 
coördinates for the path elements 
(http://www.w3.org/TR/SVG/minimize.html  
http://www.w3.org/TR/SVG/paths.html#PathData):

M 24170 17271 L 24246 17251 L 24275 17248  can also be written as: 
m24170 17271l76-20l29-3 or m24170 17271 76-20 29-3

When you apply this to your whole map it will be a lot smaller in size. 
I believe Andreas Neumann has a tool on his side to create this kind of 
paths in an svg-file from a shape-file. Also remove whitespace as much 
as you can and, like Ronan Oger said, use gzip.

- Nice work!

Jeroen

marikhu schreef:
> Dear All,
> I would like you to just visit this site to check out the time taken
> to load the file
>
> http://www.cs.ait.ac.th/~t103824/XML/SVG/newSVG_Kathmandu/Index_MAIN.HT 
> <http://www.cs.ait.ac.th/%7Et103824/XML/SVG/newSVG_Kathmandu/Index_MAIN.HT>
> ML
>
> This is AJAX, using thematic layers mainly for user interactions with
> individual or a set of themes.
>
> Any comments would be welcome.
>
> [ I would very much like to thank Andre M. Winter for helping me out
> with motivation to get myself deeper into SVG and , and for informing
> me about loads of resources easily obtainable from carto.net. It seems
> to me now that its only a matter of time that constraints me from
> developing applications in SVG as everything is so well organized and
> tutored in carto.net ]
>
> Regards,
> Ramesh Marikhu
> AIT
>
>
>
>
>
>
> -----
> To unsubscribe send a message to: 
> [EMAIL PROTECTED]
> -or-
> visit http://groups.yahoo.com/group/svg-developers and click "edit my 
> membership"
> ----
>
>
>
> SPONSORED LINKS
> Xml format 
> <http://groups.yahoo.com/gads?t=ms&k=Xml+format&w1=Xml+format&w2=Svg&w3=Data&c=3&s=35&.sig=u8RdjEjLCbPTzkUjsFG_JA>
>  
>       Svg 
> <http://groups.yahoo.com/gads?t=ms&k=Svg&w1=Xml+format&w2=Svg&w3=Data&c=3&s=35&.sig=BrpyGiBcZ6vcQXDJ7ktaiw>
>  
>       Data 
> <http://groups.yahoo.com/gads?t=ms&k=Data&w1=Xml+format&w2=Svg&w3=Data&c=3&s=35&.sig=CrK_fWaLZ-AZKa5FK8rTGA>
>  
>
>
>
> ------------------------------------------------------------------------
> YAHOO! GROUPS LINKS
>
>     *  Visit your group "svg-developers
>       <http://groups.yahoo.com/group/svg-developers>" on the web.
>        
>     *  To unsubscribe from this group, send an email to:
>        [EMAIL PROTECTED]
>       <mailto:[EMAIL PROTECTED]>
>        
>     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>
> ------------------------------------------------------------------------
>

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to