Mapbox example / add mapbox css to avoid warning in console

Also remove manipulation of the mapbox canvas (not necessary anymore).
This commit is contained in:
Olivier Guyot
2019-05-13 11:37:05 +02:00
parent 88b6b18cc0
commit 1deabaa1c0
2 changed files with 1 additions and 1 deletions

View File

@@ -58,7 +58,6 @@ class Mapbox extends Layer {
this.mbmap = new mapboxgl.Map(options);
this.mbmap.on('load', function() {
this.mbmap.getCanvas().remove();
this.loaded = true;
this.map_.render();
this.mbmap.getContainer().querySelector('.mapboxgl-control-container').remove();