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.

Unable to remove active source

See original GitHub issue

I’m trying to figure out how to remove all active sources in the editor. For example, if you go to https://maputnik.github.io/editor, click the “Sources” menu, and try to remove #openmaptiles from active sources, it doesn’t work and an error occurs:

layers[1]: source "openmaptiles" not found
layers[37]: source "openmaptiles" not found

How can I remove the default active source?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
orangemugcommented, Nov 29, 2017

Ah ok sorry I misunderstood. There is a ?style= parameter for loading a style from the url if that helps.

Example https://maputnik.github.io/editor/?style=https://raw.githubusercontent.com/lukasmartinelli/osm-liberty/gh-pages/style.json#3.81/50.40/20.75 replace with whatever style you’d like to load

Anyway it looks like your problem is solved, so I’ll close the issue.

1reaction
ericsvendsencommented, Nov 29, 2017

Yes, I see that now. Sorry, that should have been obvious to me. Now once I figure out how to default to an empty style I’ll be all set. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I remove sources from "current list" in word?
First delete all the citation from the document and then try to delete from the Source Manager.
Read more >
Unable to remove network "has active endpoints" · Issue #17217
I just experienced the bug that makes impossible to remove a network that has no containers attached to. Restarting the docker daemon solved...
Read more >
Unable to remove source folder from project.
Hello, I am running the latest version of MPLABX for linux (Ubuntu 13.04) and can't seem to remove a source folder.
Read more >
Removing Conda environment - python - Stack Overflow
Save this question. Show activity on this post. I try running again the command to remove it and I still get the same...
Read more >
How to remove Activation Lock - Apple Support
Learn what to do if you see the Activation Lock screen on your device, or if you're asked to remove Activation Lock on...
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