[OpenLayers-Users] Hiding Layer at Specific Zoom Levels

Sergeant_york electronicpanda at gmail.com
Sat Jan 19 15:29:22 PST 2013


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



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


More information about the Users mailing list