Smart M.App discussions

Looking for answers in regards to M.Apps, M.App Exchange or M.App Studio? Smart M.App Tech Discussion board is where you can search, ask your questions and assist others by sharing your knowledge. Join the conversation, connect, contribute and share.
Showing results for 
Search instead for 
Do you mean 
Frequent Contributor
Posts: 130
Registered: ‎10-16-2015
Accepted Solution

Marker not removed

I'm creating a editable Smart M.App where the user can edit features in the map. For this I'm using Leaflet directly and L.Leaflet.Editable


Everything works fine, but I just noticed that I cannot remove Markers from the map using map.removeLayer( markerLayer). It simply does nothing.


Other types of layers like L.Circle or L.Polygon work fine.


Since the Leaflet library is compressed I cannot see what's going on.


Are there any modifications to the Leaflet library that might cause this? Are Markers handled in a special way?

Frequent Contributor
Posts: 130
Registered: ‎10-16-2015

Re: Marker not removed

never mind. Caused by something else