[Geomoose-users] MinScale, MaxScale in GM 3.2

Jim Klassen klassen.js at gmail.com
Wed Dec 19 07:11:30 PST 2018


I see:


        // TODO: Check layer for minscale/maxscale against
        //       the mapView.
        // if(isOutOfScale(layer)) {
        //  layer_classes.push('out-of-scale');
        // }


in components/catalog/layer.js, so it looks like it minscale/maxscale isn't implemented yet.  I made a github issue for it.

https://github.com/geomoose/gm3/issues/343

On 12/19/2018 05:09 AM, Renaud LAIRE wrote:
> Hi, I have large datafile and i try de limit the display on scale based rule with GM3.2 (https://carhab.parc-livradois-forez.org)
> 
> To do i use scale limit in <map-source> , But it seems doesn’t work, , i try to put in catalog, like GM2.9 with the same result
> 
>  
> 
> / /
> 
> /  <map-source name="carhab" type="mapserver" up="true" down="true" title="Cartographie des Habitats" >/
> 
> /        <file>./maps/carhab.map</file>/
> 
> /        <layer name="carhab_poly" status="off" query-as="carhab-wfs/carhab_search" minscale="6000" maxscale="20000" >/
> 
> /        <template name="identify" src="./templates/carhab/identify_carhab.html"/>/
> 
> /                                   </layer>/
> 
> /        <layer name="carhab_poly_series" status="off">/
> 
> /         <template name="identify" src="./templates/carhab/identify_carhab.html"/>             /
> 
> /        </layer>             /
> 
> /         </map-source>/
> 
> / /
> 
> /…../
> 
> / /
> 
> /<layer title="Catégories Physionomiques des végétations du Parc" src="carhab/carhab_poly" maxscale="75000" status="on" fade="true" unfade="true"/>/
> 
> / /
> 
> / /
> 
>  
> 
> /Renaud LAIRE/
> 
> *PNR Livradois Forez*
> 
> Maison du Parc
> 
> 63880 ST Gervais sous Meymont
> 
> 04 73 95 57 57
> 
>  
> 
> / /
> 
> / /
> 
>  
> 
> 
> 
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geomoose-users
> 


More information about the Geomoose-users mailing list