Closed Dionjazz closed 6 months ago
You can already do that. In the example folder you will see that I'm initializing FlutterEarthGlobeController like this
_controller = FlutterEarthGlobeController(
rotationSpeed: 0.05,
isBackgroundFollowingSphereRotation: true,
background: Image.asset('assets/2k_stars.jpg').image,
surface: Image.asset('assets/2k_earth-day.jpg').image);
You could use instead:
_controller = FlutterEarthGlobeController(
rotationSpeed: 0.05,
isBackgroundFollowingSphereRotation: true,
background: Image.asset('assets/2k_stars.jpg').image,
surface: Image.network('https://www.solarsystemscope.com/textures/download/2k_mars.jpg').image);
Thanks for reply! But i meant the ability to add additional surfaces, like a list of layers.
If I understand correctly you want to have multiple surface layers on top of each other?
Yes!
Unfortunately this feature isn't implemented yet.
Currently there isn't a target time for this feature. As a faster solution you could always create custom texture images with Photoshop or GIMP and create a multi layered texture image.
How would one go about implementing such a feature? Very cool project.
Are there any plans to introduce the ability to add image surfaces from the network?