question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Maximum number of popups or bug?

See original GitHub issue

Please add a code sample or a nbviewer link, copy-pastable if possible

import folium

import folium
number_of_markers = 1610 #Work!
# number_of_markers = 1611 #Will not work! not render
m = folium.Map()
for i in range(number_of_markers):
    mark = folium.CircleMarker(location=(31,31),popup='here')
    mark.add_to(m)
display(m)

Problem description

Hi, I have a regular dataset size of ~5000 and I was trying to add popups to each one of the points to provide explanations about the point. I could not do it; I was able to attach the popup but they are not rendered when I want to display the map. The example above is a simple example.

My folium version is 0.10.0

So my question is whether this is a bug or is a limit of folium? If it is a bug, is there any workaround that you know to have more popups?

Thanks

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
fulloniccommented, Feb 14, 2020

Hi, I didn’t run your code, but if it works with Firefox and not with Chrome maybe is being fixed with PR #812.

0reactions
Conengmocommented, Feb 17, 2020

That’s good to hear, thanks for reporting back!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Maximum number of allowed pop-ups can be bypassed
Though "dom.popup_maximum" (about:config) has a maximum number of 20 pop-up windows, we can for example create 100 pop-up windows and thus flood the...
Read more >
Popups: 10 Problematic Trends and Alternatives
Over several weeks, I captured screenshots of every popup I encountered on websites and in mobile applications: on average, 25 popups per week, ......
Read more >
Dom.popup maximum - MozillaZine Knowledge Base
The number of pop-ups to allow from a single non-click event. (Default: 20). Caveats. Removing entries from this list may allow unwanted pop-ups ......
Read more >
7 Tips To Keep Pop-Ups From Harming Your SEO
Here are seven tips for using pop-ups without harming your SEO. 1. Understand Which Interstitials Are No-Goes. Google's mobile interstitial ...
Read more >
Block pop-up ads and windows in Safari - Apple Support
Find out how to block pop-up windows and handle persistent ads on your iPhone, iPad or Mac. Pop-ups can be ads, notices, offers...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found