Skip to content

Working with multiple layers #124

@odysseyalive

Description

@odysseyalive

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions