Open ear7h opened 6 years ago
The first error makes me think that the MapSnapshotter
is not suitable for a server environment. And, we should use the atto
approach and use the headless_frontend
class.
In addition the mapbox-gl-native
repo has a similar bare-bones rendering tool which use headless_frontend
.
https://github.com/mapbox/mapbox-gl-native/blob/master/bin/render.cpp#L86
Running
TestNewSnapshotter
fails with the following error in a Docker container:Running
TestSnapshotterSnapshot
fails with the following error: