i am using leaflet API with OSM. I need to implement a functionality where on dragging the marker and dropping it on user preferred location , i need to get its latitude and longitude and save its location to databasee...
For now on double clicking the marker i am able to drag the marker. Below line helped me:
Now when i release the marker i want to find the lat and longitude of the location.. or invoking a function on dragging the marker, returning the lat,lng values...... please help me to achieve this.... Thank You