Dragging marker doesn't update form's coordinates.

Console:

    Uncaught TypeError: Cannot read property 'lat' of undefined
    at e.<anonymous> (js_Vydq5CPRBGCkBb_ccJbiJkkBtpBox3H6fv8qbytv_M0.js:4606)
    at e.fire (leaflet.js:5)
    at e._onDragEnd (leaflet.js:9)
    at e.fire (leaflet.js:5)
    at e.finishDrag (leaflet.js:8)
    at e._onUp (leaflet.js:8)
    at h (leaflet.js:6)
    at Object._handlePointer (leaflet.js:8)
    at Object.<anonymous> (leaflet.js:8)

Comments

tormi created an issue. See original summary.

tormi’s picture

Status: Active » Needs review
StatusFileSize
new658 bytes

Patch added.

tormi’s picture

StatusFileSize
new608 bytes

Updated patch (removed private properties).

tormi’s picture

Issue summary: View changes
flocondetoile’s picture

Status: Needs review » Reviewed & tested by the community

Experiencing same issue. Patch #3 fix it.

christianadamski’s picture

StatusFileSize
new664 bytes

Slightly altered patch

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 6: 2943826-6-marker-drag.patch, failed testing. View results

  • ChristianAdamski authored 442f48c on 8.x-2.x
    Issue #2943826 by tormi, ChristianAdamski: Dragging marker doesn't...
christianadamski’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.