Leaflet/Leaflet.fullscreen

Working with multiple layers

bridgesense opened this issue · 0 comments

There doesn't appear to be an example of how to initialize additional layers, such as heatmap.js, when loading into fullscreen.

var map = new L.Map('map-canvas', {
          center: new L.LatLng(45.523064, -122.676483),
          zoom: 6,
          layers: [baseLayer, heatmapLayer],
          fullscreenControl: true
        });

In this example, the heatmapLayer shows on the standard canvas, but doesn't extend to the newly created full screen map.