var vectorPoint = new OpenLayers.Layer.Vector("LayerName",
{
minScale: 5500,
styleMap: new OpenLayers.StyleMap(
{ "default": styleMarkersLabels,
"select": { pointRadius: 1}
})
});
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of adidas
Sent: 24 October 2012 16:25
To: [email protected]
Subject: Re: [OpenLayers-Users] Display a layer at the specified zoom
Thanks. But how i can do it for layer vector?
Code:
var vectorPoint = new OpenLayers.Layer.Vector("LayerName",
{
styleMap: new OpenLayers.StyleMap(
{ "default": styleMarkersLabels,
"select": { pointRadius: 1}
})
});
23.10.2012 18:06, Till Adams пишет:
Hi,
use
minResolution or minScale
http://dev.openlayers.org/releases/OpenLayers-2.12/doc/apidocs/files/OpenLay
ers/Layer-js.html#OpenLayers.Layer.minResolution
Regards, Till
On 23.10.2012 17:00, adidas wrote:
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
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users