perhaps minScale and maxScale will do. Arnd _____
Von: [email protected] [mailto:[email protected]] Im Auftrag von YOUNESS ELMEDRAOUI Gesendet: Freitag, 28. August 2009 00:33 An: [email protected] Betreff: [OpenLayers-Users] display date by scales Hi, i have a pblm with displaying data using scales. i tested a scales options in a layer definition, but it's not work. i'm using a cluster, fixed and bbox strategies: map = new OpenLayers.Map('map',{ maxExtent: bounds,maxResolution : "auto", units : "meters", projection : "epsg:27563" }); .... .... layer_wfs = new OpenLayers.Layer.Vector("WFS", { strategies: [ new OpenLayers.Strategy.Fixed(), new OpenLayers.Strategy.Cluster(), new OpenLayers.Strategy.BBOX() ], protocol: new OpenLayers.Protocol.HTTP({ url: "http://localhost:81/cgi-bin/mapserv.exe?map=C:/OLWebSite/App_Data/olvbmapfi leOracleWFS.map&", params: { format: "WFS", service: "WFS", request: "GetFeature", srs: "epsg:27563", VERSION : "1.0.0", typename : 'EAU_EQUIP_PUBLIC' }, format: new OpenLayers.Format.GML() }), styleMap:new OpenLayers.StyleMap({ "default": WFSstyle, "select": { fillColor: "#8aeeef", strokeColor: "#32a8a9" } }) }, { extractAttributes:true, displayInLayerSwitcher: true, scales:[0,5000] }); anyone have an idea? thnks, Best regards, Youness ELMEDRAOUI Les informations figurant sur cet e-mail ont un caractère strictement confidentiel et sont exclusivement adressées au destinataire mentionné ci-dessus.Tout usage, reproduction ou divulgation de cet e-mail est strictement interdit si vous n'en êtes pas le destinataire.Dans ce cas, veuillez nous en avertir immédiatement par la même voie et détruire l'original. Merci
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
