Skip to content

Instantly share code, notes, and snippets.

@mdix
Last active December 26, 2015 10:09
Show Gist options
  • Save mdix/7135120 to your computer and use it in GitHub Desktop.
Save mdix/7135120 to your computer and use it in GitHub Desktop.
var layerIsOpenend;
layerIsOpenend = currentLayerStatus;
if (layerIsOpened) {
layer.remove();
outputStateOfOtherLayers();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment