Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working with multiple layers #124

Open
bridgesense opened this issue Oct 8, 2024 · 0 comments
Open

Working with multiple layers #124

bridgesense opened this issue Oct 8, 2024 · 0 comments

Comments

@bridgesense
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant