-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transparent polygon #6
Comments
nice! not quite a duplicate of #3 - since this seems to refer to a static polygon property. any interest in opening a PR? |
Im sorry but I have no knowledge how this works. citilogics-geoloop-panel/src/geoloop.js Line 138 in 8eb1db5
|
it's a little scary in there! as the frames are animating, an old frame will be set to fully transparent, and the new frame will be set to fully opaque here: citilogics-geoloop-panel/src/geoloop.js Line 230 in 8eb1db5
... so we'll need some logic related to restoring the user-setting opacity rather than assuming fully opaque. This is a great idea in combination with #3 - so I plan to spend some effort on this in the coming weeks. I'm thinking there's a more elegant approach to this than the barebones frame-out/frame-in opacity setting logic. |
btw, @flopp999 - I wonder if you could share a few words about how you are using this plugin, and your specific case for the polygon opacity. I know it seems pretty intuitive, but I'd like to learn a bit about how this is being used in the wild. My original use case was pretty narrow. |
We have meteorological measurement stations in different locations and we want to view their data in a nice way and we think this plugin can be very nice :) |
+1, doing the same kind of thing here. |
this might have been solved by #10 |
I would be nice to have the possibility to change the opacity of the polygon with a scale from 0-100% then you would see city names etc through the areas
The text was updated successfully, but these errors were encountered: