Comments (4)
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.
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.
to simplify, how can i download WMSLayer and save it in cache without display it in map ?
from g3m.
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)
- Stereo mode pre-render and post-render hook
- Stereo mode strange camera bug HOT 1
- Shape's createTransformationMatrix is buggy HOT 2
- ios implementation.
- Show balloon after touch mark(Android) HOT 2
- Mark sometimes disappear HOT 4
- Issues in handling Marks HOT 7
- Undefined symbols for architecture x86_64: HOT 4
- Add and remove marks HOT 2
- Precache & zoom
- URLTemplateLayer and SphericalEarth
- Possible issue @ Canvas on android
- LineShape in iOS HOT 9
- Dealloc takes places too early [iOS]
- load online terrain HOT 1
- [Android] Can we open a context menu at the LongPress location? HOT 1
- iOS Use of undeclared identifier
- ScenarioTerrain with high resolution image and dim in geotiff format Android offline
- You are no supported g3m? HOT 4
- Plugin with id 'com.android.library' not found. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from g3m.