<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=koi8-r">
<TITLE>Message</TITLE>
<META name=GENERATOR content="MSHTML 8.00.6001.19328"></HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV><FONT color=#0000ff size=2 face=Arial><EM><FONT color=#000000 size=3
face="Times New Roman">var vectorPoint = new
OpenLayers.Layer.Vector("LayerName",<BR>
{</FONT></EM></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><EM><FONT
face="Times New Roman"><FONT face=System><FONT color=#000000><FONT size=3><SPAN
class=125532815-24102012><FONT
face="Times New Roman">
</FONT></SPAN><STRONG>minScale: <SPAN
class=125532815-24102012>5500</SPAN>,</STRONG></FONT></FONT></FONT><BR><FONT
color=#000000
size=3>
styleMap: new OpenLayers.StyleMap(<BR>
{ "default":
styleMarkersLabels,<BR>
<BR>
"select": { pointRadius: 1}<BR>
})<BR>
});</FONT></FONT></EM><BR></DIV></FONT>
<DIV><FONT color=#0000ff size=2 face=Arial> </DIV></FONT>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left><FONT size=2
face=Tahoma>-----Original Message-----<BR><B>From:</B>
openlayers-users-bounces@lists.osgeo.org
[mailto:openlayers-users-bounces@lists.osgeo.org] <B>On Behalf Of
</B>adidas<BR><B>Sent:</B> 24 October 2012 16:25<BR><B>To:</B>
openlayers-users@lists.osgeo.org<BR><B>Subject:</B> Re: [OpenLayers-Users]
Display a layer at the specified zoom<BR><BR></FONT></DIV>
<DIV class=moz-cite-prefix>Thanks. But how i can do it for layer
vector?<BR>Code:<BR><I>var vectorPoint = new
OpenLayers.Layer.Vector("LayerName",</I><I><BR></I><I>
{</I><I><BR></I><I>
styleMap: new
OpenLayers.StyleMap(</I><I><BR></I><I>
{ "default":
styleMarkersLabels,</I><I><BR></I><I>
</I><I><BR></I><I>
"select": {
pointRadius: 1}</I><I><BR></I><I>
})</I><I><BR></I><I>
});</I><BR><BR>23.10.2012 18:06, Till
Adams пишет:<BR></DIV>
<BLOCKQUOTE cite=mid:5086B287.9040606@terrestris.de type="cite"><PRE wrap="">Hi,
use
minResolution or minScale
<A class=moz-txt-link-freetext href="http://dev.openlayers.org/releases/OpenLayers-2.12/doc/apidocs/files/OpenLayers/Layer-js.html#OpenLayers.Layer.minResolution">http://dev.openlayers.org/releases/OpenLayers-2.12/doc/apidocs/files/OpenLayers/Layer-js.html#OpenLayers.Layer.minResolution</A>
Regards, Till
On 23.10.2012 17:00, adidas wrote:
</PRE>
<BLOCKQUOTE type="cite"><PRE wrap="">Hello! How to display a layer at the specified zoom? For example, the
layer is displayed at a zoom more than 14 and etc.
Thanks for answer.
_______________________________________________
Users mailing list
<A class=moz-txt-link-abbreviated href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</A>
<A class=moz-txt-link-freetext href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</A>
</PRE></BLOCKQUOTE><PRE wrap=""></PRE></BLOCKQUOTE><BR></BLOCKQUOTE></BODY></HTML>