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
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