Giter VIP home page Giter VIP logo

Comments (4)

mdelacalle avatar mdelacalle commented on August 23, 2024

I need to clarify exactly what you want to do.

Do you want to work with offline layers??, in that case you have to fill the cache and play with enable and disable property,
There are several ways for do that, depending the kind of information.
There isn’t a magical solution, the API gives you all you need depending you have.

Thank you

El 16/12/2013, a las 12:27, Saoud Nidhal [email protected] escribió:

Hi,

In my application i have to add many WMSLayer in some time.
For exemple i have OpenStreetMap Layer and i want to add temperature Layer.But, when temperature Layer is not in cash and i have to download it. and when downloading I want to save globe and Open Street Map Layer avaliable for user.

So, Downloading layer in Background (Without black screen for user and save globe state ) and when finish add layer in globe.

Solution to do this?

thanks


Reply to this email directly or view it on GitHub.

from g3m.

NidhalSNSdev avatar NidhalSNSdev commented on August 23, 2024

No, it's not offline.

My question is how can i enable Layer with setEnable(true) without delete map from screen for user.

Now, if i have globe with OSM Layer and when i enable Temperature Layer OSM Layer is not visible for user.

So, download layer in background and enable it without losing the display of the original map

from g3m.

NidhalSNSdev avatar NidhalSNSdev commented on August 23, 2024

to simplify, how can i download WMSLayer and save it in cache without display it in map ?

from g3m.

mdelacalle avatar mdelacalle commented on August 23, 2024

Yes you can download any layer for be used, actually all the tiles that you are downloading are stored on cache.

In this readme you can see how you can prepare and android app to download the layer you want, this cache could be use wherever lately.:
https://github.com/glob3mobile/g3m/blob/purgatory/tools/precachingReadme.txt

To enable, disable layers you can see how is this management in :
https://github.com/glob3mobile/g3m/blob/purgatory/Android/G3MAndroidDemo/src/org/glob3/mobile/demo/SimplestRasterActivity.java

Pay attention to the transparency and which is the base layer and things like that.
Thank you

from g3m.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.