>Does this mean that layers that are not on by default are not<br>>loaded until they are turned on?<br>Yes if group is MS_OFF, I mean all layer with same group name are MS_OFF in map file,<br><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
It isn't loaded if<span style="color: rgb(0, 128, 0);"> this</span>.loadUnchecked is set to false in kaMap.js<br>If you load a group but you uncheck in the legend and chage scale it will not be loaded utill you will check again in legend
<br>If you set <span style="color: rgb(0, 128, 0);">this</span>.loadUnchecked to true everything is like before.<br><br>>Does it avoid loading tiles until it is turned on again?<br>yes<br><br>other case<br>All layer of a group are MS_ON or at least one is MS_ON but for scale reason
i.e. MAXSCALE or MINSCALE<br>all of them are not visible at current scale, kaMap doesn't load them and also in legend this group will not be present.<br>Regs<br><br><div><span class="gmail_quote">2005/12/22, Paul Spencer <
<a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">cool. Does this mean that layers that are not on by default are not
<br>loaded until they are turned on? What happens if you turn a layer<br>off? Does it avoid loading tiles until it is turned on again?<br><br>Cheers<br><br>Paul<br><br>On 22-Dec-05, at 10:54 AM, Andrea Cappugi wrote:<br>
<br>> Correction<br>> Group with status MS_OFF, unchecked in legend, are not loaded if<br>> variable this.loadUnchecked is set to TRUE, else it will work as<br>> before.<br>><br>> 2005/12/22, Andrea Cappugi <
<a href="mailto:kappu72@gmail.com">kappu72@gmail.com</a>>: Hi Paul,<br>> I have committed my chage.<br>><br>> Now Kamap load only visible group:<br>> I mean that a group is visible only if at least on group's layer is
<br>> visible at current scale, also if is status is MS_OFF<br>><br>> Group with status MS_OFF, unchecked in legend, are not loaded if<br>> variable this.loadUnchecked is set to false, else it will work as<br>
> before.<br>> I have tested also with wms server and it seems to be stable<br>> By Andrea<br>> 2005/12/15, Paul Spencer < <a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</a> >:<br>> Andrea,
<br>><br>> this is a great change! its been on my hit list for a while but I<br>> never seem to get around to it.<br>><br>> Please commit to cvs if you feel that it is reasonably stable.<br>><br>> Cheers
<br>><br>> Paul<br>><br>> On 15-Dec-05, at 12:54 PM, Andrea Cappugi wrote:<br>><br>> > Hi Paul et All,<br>> > we made some change in kamap.<br>> ><br>> > <a href="http://149.139.8.29/~rischio/regione/ka-map-dev/htdocs/index.html">
http://149.139.8.29/~rischio/regione/ka-map-dev/htdocs/index.html</a><br>> ><br>> > In this version, kamap load only group that are really visible at a<br>> > certain scale.<br>> > A group is visible if at least one of is layer is visible and
<br>> > MS_ON for a scale.<br>> > Try changing zoom level.<br>> > Also the legend work in the same way!<br>> ><br>> > This should reduce the ammount of tile to be downloaded<br>> > Any comment or suggestion?
<br>> ><br>> ><br>> > Thank<br>> > Andrea<br>> > _______________________________________________<br>> > ka-Map-users mailing list<br>> > <a href="mailto:ka-Map-users@lists.maptools.org">
ka-Map-users@lists.maptools.org</a><br>> > <a href="http://lists.maptools.org/mailman/listinfo/ka-map-users">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br>><br>> +-----------------------------------------------------------------+
<br>> |Paul Spencer <a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</a> |<br>> +-----------------------------------------------------------------+<br>> |Applications & Software Development |
<br>> |DM Solutions Group Inc <a href="http://www.dmsolutions.ca/|">http://www.dmsolutions.ca/|</a><br>> +-----------------------------------------------------------------+<br>><br>><br>><br>
><br>><br>><br><br>+-----------------------------------------------------------------+<br>|Paul Spencer <a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</a> |<br>+-----------------------------------------------------------------+
<br>|Applications & Software Development |<br>|DM Solutions Group Inc <a href="http://www.dmsolutions.ca/|">http://www.dmsolutions.ca/|</a><br>+-----------------------------------------------------------------+
<br><br><br><br><br></blockquote></div><br>