Open scottxu opened 7 years ago
L.glify.points({ map: map, click: function (e, point, xy) { //set up a standalone popup (use a popup as a layer) L.popup() .setLatLng(point) .setContent("marker longitude:" + point[L.glify.longitudeKey] + ', latitude:' + point[L.glify.latitudeKey]) .openOn(map); console.log(point); }, data: JSON.parse(points), color: function(){return {r: 0, g: 0, b: 0}}, size: 10, vertexShaderSource: function() { return L.glify.shader.vertex; }, fragmentShaderSource: function() { return L.glify.shader.fragment.square; } });
This seems to be fixed with the current version.