<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=937515305-28082009>perhaps</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=937515305-28082009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=937515305-28082009>minScale and maxScale will do.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=937515305-28082009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=937515305-28082009>Arnd</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Von:</B> users-bounces@openlayers.org
[mailto:users-bounces@openlayers.org] <B>Im Auftrag von </B>YOUNESS
ELMEDRAOUI<BR><B>Gesendet:</B> Freitag, 28. August 2009 00:33<BR><B>An:</B>
users@openlayers.org<BR><B>Betreff:</B> [OpenLayers-Users] display date by
scales<BR></FONT><BR></DIV>
<DIV></DIV><FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif"
size=2>
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>i have a pblm with displaying data using scales.<BR>i tested a scales
options in a layer definition, but it's not work.</DIV>
<DIV>i'm using a cluster, fixed and bbox strategies:</DIV>
<DIV> </DIV>
<DIV> map = new OpenLayers.Map('map',{ maxExtent: bounds,maxResolution :
"auto",<BR>
units :
"meters",<BR>
projection : "epsg:27563"<BR> });</DIV>
<DIV>....</DIV>
<DIV>....</DIV>
<DIV> </DIV>
<DIV>layer_wfs = new
OpenLayers.Layer.Vector("WFS",<BR>
{<BR>
strategies:
[<BR>
new
OpenLayers.Strategy.Fixed(),<BR>
new
OpenLayers.Strategy.Cluster(),<BR>
new
OpenLayers.Strategy.BBOX()<BR>
],<BR>
protocol: new
OpenLayers.Protocol.HTTP({<BR>
url: "<A
href="http://localhost:81/cgi-bin/mapserv.exe?map=C:/OLWebSite/App_Data/olvbmapfileOracleWFS.map"
target=blank>http://localhost:81/cgi-bin/mapserv.exe?map=C:/OLWebSite/App_Data/olvbmapfileOracleWFS.map</A>&",<BR>
params:
{<BR>
format:
"WFS",<BR>
service:
"WFS",<BR>
request:
"GetFeature",<BR>
srs:
"epsg:27563",<BR>
VERSION :
"1.0.0",<BR>
typename :
'EAU_EQUIP_PUBLIC'<BR>
},<BR>
format: new
OpenLayers.Format.GML()<BR>
}),<BR>
styleMap:new
OpenLayers.StyleMap({<BR>
"default":
WFSstyle,<BR>
"select":
{<BR>
fillColor:
"#8aeeef",<BR>
strokeColor:
"#32a8a9"<BR>
}<BR>
})<BR>
},<BR>
{<BR>
extractAttributes:true,<BR>
displayInLayerSwitcher: true,<BR><FONT
color=#990000> <STRONG>
scales:[0,5000]</STRONG>
<BR></FONT>
});</DIV>
<DIV><BR><BR>anyone have an idea? </DIV>
<DIV> </DIV>
<DIV>thnks,</DIV>
<DIV><BR>Best regards,</DIV>
<DIV>Youness ELMEDRAOUI</DIV></FONT>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 <BR></BODY></HTML>