Closed emxsys closed 6 years ago
Globe now accepts string identifiers or numbers when adding layers to the globe.
defaultLayers
array defining valid string identifiers for layers. This array can be used in the UI.addLayer
now accept a string matching an entry in the defaultLayers
array. Partial strings are OK. The first matching entry is used if a partial string is provided. The strings are case-sensitive.addLayer
now accept a number corresponding to an index in the 'defaultLayers' array.
Manifest an array of string literals for all the default layers available to the Globe. The individual layer names can be used by the developer to add layers to the Globe without having to traverse the WorldWind library to discover them on his or her own.