leaflet-users-map
leaflet-users-map copied to clipboard
Added drag functionality; update lat/lng on marker "dragend" event.
After the user clicks "Add me to the map" her or she can add a marker to the map. I've modified the code slightly to allow the user to drag that if it needs to move slightly to a more exact position. The hidden lat/lng text input fields on the marker popup form are automatically updated with the marker's new position.
I'm relatively new to GitHub; this is my first pull request!
Nice addition! I'm hoping to update this to the current versions of Leaflet & Bootstrap and do some general cleanup sometime in the near future. I will definitely incorporate this.
Not silly at all! I'm still figuring all this stuff out as well and contributions like this are perfect- adding bits of functionality here and there without massive changes to the codebase. Thanks again!
On Tue, Aug 27, 2013 at 1:23 PM, Roy Hewitt [email protected]:
As silly as it seems even a small contribution gets me all jacked up!
— Reply to this email directly or view it on GitHubhttps://github.com/bmcbride/leaflet-users-map/pull/5#issuecomment-23354382 .
Bryan R. McBride, GISP bryanmcbride.com