LeafletSlider
LeafletSlider copied to clipboard
Not working with Canvas Layer
How can this be used with markers inside a canvas?
Which canvas layer are you using? What's the actual problem? Do you have a live demo?
I don't have a demo but this is how I do it. Looping on geojson features so for each feature I add:
loop start...
var myRenderer = L.canvas({ padding: 0.5 });
var circleMarker = L.circleMarker(latLng, {
renderer: myRenderer,
color: '#3388ff'
}).addTo(map);
end of loop...
Now I want to use all these markers which are inside canvas to be used with your slider.
Hi I have this issue too, same code as above to render a canvas from multiple points, but no slider shown...
@EParisot can you please create demo on jsfiddle.net or so
Hi ! thank for your fast reply ! I finaly managed to make it work (a bit shamed but did not load jqueryUI's CSS...), it have nothing to do with the renderer or canvas, so I gess you can close this issue, the answer is YES ! Thanks again !