Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with Canvas Layer #57

Open
jfaraklit opened this issue Jan 8, 2018 · 5 comments
Open

Not working with Canvas Layer #57

jfaraklit opened this issue Jan 8, 2018 · 5 comments

Comments

@jfaraklit
Copy link

How can this be used with markers inside a canvas?

@dwilhelm89
Copy link
Owner

Which canvas layer are you using? What's the actual problem?
Do you have a live demo?

@jfaraklit
Copy link
Author

jfaraklit commented Jan 9, 2018

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.

@EParisot
Copy link

Hi I have this issue too, same code as above to render a canvas from multiple points, but no slider shown...

@Falke-Design
Copy link

@EParisot can you please create demo on jsfiddle.net or so

@EParisot
Copy link

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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants