How do I remove unneeded controls?
When you're adding controls through the Basic Editor, you might sometimes add a duplicate control by accident, or add a control that says "No values found for [some field name]". To remove any of those unneeded controls, you can use the Basic Editor or the Advanced Editor.
- Click the settings icon on the rightto open the Basic Editor, then scroll down to "Add custom control". You'll see all existing controls listed out below.
- When hovering over an existing control, click on the edit pencil to edit your existing control, or click on the trash icon to delete it.
// Line 1 of your Advanced Editor:
...There will be other code inside this block
If you don't want any controls or "No values found for [some field name]" messages on your map, simply delete the entire
@controlsblock, then click "Save" at the bottom of the editor.
If you have some controls in there that you would like to preserve, you'll first need to learn the basics of how to read
@controlscode, so that you can tell which controls you want to delete and which you want to keep.
- If you want to delete all controls in a certain region of your map, then delete all the code saying
bottometc. Delete the whole block to delete all the controls in that region.
- If you want to delete just one control, locate it in the list of your controls and delete that whole block. You can recognize a control block by the fact that the first line is