Why Grid and Hexbin Layers aren't working? - grid

Why Grid and Hexbin Layers aren't working? I'm trying to choose them, but i got an empty page. It's a bug?

Related

How to produce SVG that would fill the entire screen?

The code below creates a circle using the R grid graphics. I would expect the chart to fill the entire screen instead it fills only a fraction (top-left) of the screen. I am on a Windows computer and here is what the produced svg looks like when I open it using Chrome. How can I draw a circle that would fill the entire screen? I am looking to understand how things work so would appreciate someone teaching me the part I am missing here or pointing me to a reference that I can learn from.
library("grid")
library("gridSVG")
grid.newpage()
grid.circle()
grid.export("rectangle.svg")

3D models for React App Dynamically Generated

I need to create a 3D box (transparent) and put inside of it another 3D shapes, such as cylinders and boxes. All of them need to be rendered dynamically based on data fetched from a Data Base. The 3D shapes inside need to respect the edges of the main box and their positions will be determinate by de data which cames from the DB. Any collision must be avoided and the 3D box must be allowed a rotation interaction to allow a visualization from different point of views. When rotated, all the 3D shapes inside must obay the perspective of the main box and their initial positions.
In this perspective, I need help to identify: What is the best and light way to do this for a React application?
I tried CSS 3D Transforms. However, it is not easy to put all the 3D geometric shapes together without any collision or did not see problems when all the set of shapes are rotated. This is the link that I am following: https://3dtransforms.desandro.com/box, to give one idea of what I am searching.
Thanks in advance!
UPDATE: This is some of pictures of what I am trying to do with CSS 3D transform. However, the geometric coordinates is not organized to allow the identification of a pattern to generate the shapes automatically. Besides,the position of inner shapes is not good for all the points of view, as it possible to see in bottom point of view.

Hide mixed area in an AngularNVD3 charts

is there a a way to hide mixed area in an angular nvd3 charts?
in fact what I'm trying to do is to display only the difference between two area, I tried to put the first one with color white as the background color as it's always smaller then the second one, but it doesn't work, I checked also the mix-blend-mode option but wasn't able to do that, any suggestion please?
here is a plunker with an example

How can I create an openlayers layer which includes the borders for the city?

First of all, I am a newbie in the field of GIS and openlayers so please bear with me. I am using an openstreetmap and would like to show the borders of the governorates on the map while adding a background for each governorate (see image below for an implemented example http://afghanistanelectiondata.org/open/maps/tiles/afghanistan-hillshade-english)
1-I wonder how the background and the borders are drawn? and how they exist no matter how much we zoom in and out?
2- From where are the images with the borders are brought, do we draw them or should we bring a map with the borders and put it over the map?
3- Anyone who has an example which wrap all the concepts all together (preferably with Drupal)?
The background and borders are pre-rendered tileset, generated and served with MapBox. You'll need to do some reading up on creating tiles and using them in OpenLayers.
You'll bring the map with the borders and put it over the map. But first, you'll need to create transparent tiles that have the governorates borders on them.
Here's a simple OpenLayers TileCache demo.

ggplot2 - autosize chart and axis titles

I have create some ggplot2 bar plots which print fine to screen. When I print in PDF device, however, the chart and axis titles are too large - they sometimes extend past the left and right of the x-axis. None of these charts have any opts() set aside from title/axis-title - its all the defaults. What am I missing here? Is there a way to tell ggplot to auto-size this text so that the charts look good in PDF? Can I do this without explicitly setting opts()?
The best solution I can think of is to create a function to create a theme (like theme_bw()) and give it enough parameters so that its smart about sizing. Will keep this post open for a few days to see if there are any other clever ideas

Resources