Skip to content

Error: glify-browser.js:2 Uncaught Error: "layer.canvas" not properly defined #178

Description

@bobr-10
let map = L.map('map', {
    // crs: crs,
    zoom: 3,
    minZoom: 3,
    maxZoom: 10,
    // worldCopyJump: true,
    attributionControl:false,
    zoomControl: false,
    almostSamplingPeriod: 10,
    almostDistance: 25,
    zoomAnimation: false,
    rotate: true,
    // trackResize: false
});

const points = [
    [55.751244, 37.618423],
    [59.939095, 30.315868],
];

const colors = [
    [255, 0, 0],
    [0, 255, 0]
];

L.glify.points({
    map: map,
    data: points,
    color: colors,
    size: 10
});

I'm trying to display the simplest point, but I get this error. What am I doing wrong?
glify-browser.js:2 Uncaught Error: "layer.canvas" not properly defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions