good i’m trying that when i click activate a layer in the leaflet map but it gives me this error:
this is my code:
26/5000
I appreciate you can help me.
good i’m trying that when i click activate a layer in the leaflet map but it gives me this error:
this is my code:
26/5000
I appreciate you can help me.
You are messing with context visibility and variables. If you need to store some vars/data and access it from different methods, you need to store it properly, for example as component’s context properties:
in one method/function
this.something = 'foo';
in another one where you need to reference it:
console.log(this.something);