-
Notifications
You must be signed in to change notification settings - Fork 4
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
Frame Idea #2 #6
Comments
Maybe magick comes in handy here, the R wrapper for ImageMagick. |
@GTBoon72 interesting. It may be possible to create these frames by making transparent places where the maps are supposed to be and overlaying it on the leaflet maps. |
Played a bit around with magick, and this looks promising. It's not so using partly transparent frames, but a black-and-white mask. Start scriptlibrary(magick) get height, width and crop longer side to match shorter sideii <- magick::image_info(map) create a new image with white background and black circlemask <- magick::image_draw(image_blank(ii_min, ii_min)) create an image composite using both imagescombo <- set background as whitemagick::image_background(combo, 'white') End script |
Wow this looks beautiful! I wonder how I can fit it in the present way If you look at I will try to work on this when I get the time. |
Need to figure out the Shiny Code/CSS to do this:
The text was updated successfully, but these errors were encountered: