I have written a simple code of an app that asks the user the lat and long of a point, then the user can plot it in the map through a button and also erase it through another button; however, the function clear_markers() doesn´t erase the marker in the proxy map. I have tried clear_layer() too but neither works.
I have written a simple code of an app that asks the user the lat and long of a point, then the user can plot it in the map through a button and also erase it through another button; however, the function clear_markers() doesn´t erase the marker in the proxy map. I have tried clear_layer() too but neither works.
Here is my code, cheers: