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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user