WorldWindEarth / worldwind-react-globe

A React component for interacting with the Web WorldWind virtual globe SDK from NASA and ESA
https://worldwind.earth/worldwind-react-globe/
MIT License
44 stars 19 forks source link

Simplify layer creation with string literals #1

Closed emxsys closed 6 years ago

emxsys commented 6 years ago

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.

emxsys commented 6 years ago

Globe now accepts string identifiers or numbers when adding layers to the globe.