Comments (9)
G3M doesn't support mixing of layers with transparency, I recommend to merge the layers on the server side.
from g3m.
Currently we don't support that capability because of performance. Probably in the next future we are going to add that, if you need urgently that please contact with us we can give you the workaround or our change our roadmap if was needed.
from g3m.
If the WMS server support generation of PNGs with alpha channel (with a parameter such opacity or transparency) you can send this parameter using the method WMSLayer.setExtraParameter(string). The current version does support to mix layers respecting the alpha channel present in the PNGs.
from g3m.
Add, to Layer class, float _transparency instance variable, and use it as an alpha factor when merging layers.
from g3m.
Can you give us more details to implement this solution
from g3m.
Work in progress. I hope in a few time we will have this capability available
from g3m.
Now Layers have an extra parameter (optional) that sets their transparency [0..1] when merging with other layers. G3MiOSDemo has an example where Spain is shown as a mix of BlueMarble layer and PNOA layer with a transparency of 0.5.
from g3m.
great!
from g3m.
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.