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.

In previous version, the pluggin was able to hide easily elemnts (elementsToHide: 'p, h2, .leaflet-control-zoom') In the last version I cannot find this option. I know that exist the option “hiden” but it hide all the controls. Actually I need to hide only zoom bar since I need to show some texts and the scale bar. Is ther any option to choose what I want to show? Could you write a simple example? Thanks so much

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
rowanwinscommented, Feb 26, 2018

And also add hideControlContainer option to false, I think that’ll keep your scale bar in place

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hiding DOM elements - ally.js
Use the hidden attribute to completely hide an element. · Use the aria-hidden attribute to hide an element from the accessibility tree. ·...
Read more >
10 Ways to Hide Elements in CSS - SitePoint
10 Ways to Hide Elements in CSS · 1. opacity and filter: opacity() · 2. color Alpha Transparency · 3. transform · 4....
Read more >
CSS Layout - The display Property - W3Schools
Display: none;. display: none; is commonly used with JavaScript to hide and show elements without deleting and recreating them. Take a look at...
Read more >
8 Proper Ways to Hide Elements on Your Website With CSS ...
1. Use display: none · 2. Use visibility: hidden · 3. Hide an Element Via CSS on a Specific Page or Post ·...
Read more >
Hide or show elements in HTML using display property
To hide an element, set the style display property to “none”. document.getElementById("element").style.display = "none";. To show an element, ...
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