i'm using leaflet to work with a map. I have a form and an
<input type="submit"...>
when i press the input-button the leaflet-map reloads and looses all layers. the map-div is not inside the form. how to prevent the map from reloading? tried
e.preventDefault and onsubmit="return false;"
any ideas?