Hello. Thank you for contacting the Toolset support.
When you add a distance filter, the whole distance filter UI is output by a single shortcode that is why it's not possible to use the same solution from the other ticket which you shared as reference where the solution mentioned is wrapping the shortcode in a label.
The possible solution could only be fixed by modifying the plugin source code that outputs the distance filter where we change the output markup to add labels etc. We are happy to report it to our internal system but you can not expect the solution very soon.
The only possible workaround could be you should add some custom JS to output the distance filter.
Download and unzip the file provided with the above path and replace the file with the same name at:
plugins/toolset-maps/includes/
Note:
- Please note that if you update the Toolset Maps plugin, you will have to apply the patch again as its not yet included as permanent fix within the Toolset maps plugin.