Is it possible to have an orthographic projection with OpenLayers?
I didn't find anything specific on the matter.
@Mike’s answer is what I needed. As I am using OpenLayers 4.6.5, I had to change the last part of the code, otherwise it doesn't work. I modified the creation of the circle in
var circle = new ol.geom.Circle([0, 0], 6370997);
var style = new ol.style.Fill({
color: "black"
});
I imagine that the function to trigger the circle, should be changed in
map.on("postrender", function(e){
....
});
However I am not sure how to change the function internal code.