[OpenLayers-Users] Hiding Layer at Specific Zoom Levels

Sergeant_york electronicpanda at gmail.com
Sat Jan 19 15:31:21 PST 2013


sorry edit to my above post:

map.events.register('zoomend', this, function() {
if (map.getZoom() > 6)
{
layername.setVisibility(false);
}
});



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Hiding-Layer-at-Specific-Zoom-Levels-tp5028407p5028498.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list