Created
May 17, 2011 15:35
-
-
Save ajturner/976709 to your computer and use it in GitHub Desktop.
Demonstration of map.getLayers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mymap.getLayers(); | |
var layers = mymap.getLayers(); | |
// Ouput: | |
// layers = [ | |
// { | |
// title: "My First Layer", | |
// source: "finder:45", | |
// styles: {...}, | |
// opacity: 1, | |
// visibility: 1, | |
// order: 1 | |
// }] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment