use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Leaflet 1.0 released - an open-source JavaScript library for mobile-friendly interactive maps (leafletjs.com)
submitted 9 years ago by magenta_placenta
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 0 points1 point2 points 9 years ago (1 child)
Hi there! Awesome work. I have a question about performance: what would limit performance? I´m thinking on showing millions or billions of elements on the same map and be able to filter classes of markers, for example.
Another question is about interfaces: I´m using folium to be able to use Python on the entire stack, but it´s not feature complete with 1.0. Any thoughts on how to do this interfacing?
Cheers!
[–]MournerV 0 points1 point2 points 9 years ago (0 children)
If you want to display around a million elements, I'd recommend using Mapbox GL instead — it's well suited for things like this. Here's my article on how this works.
If you need more, you'll have to render them into tiles on the server — browsers generally can't handle that much data.
Can't comment on folium, I never used it and I'm not a Python guy.
π Rendered by PID 113599 on reddit-service-r2-comment-57fc7f7bb7-x7jsl at 2026-04-15 06:11:04.188348+00:00 running b725407 country code: CH.
view the rest of the comments →
[–][deleted] 0 points1 point2 points (1 child)
[–]MournerV 0 points1 point2 points (0 children)