Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read properties of null (reading 'project') #1306

Closed
jacobtylerwalls opened this issue Sep 15, 2023 · 1 comment
Closed

Comments

@jacobtylerwalls
Copy link
Member

jacobtylerwalls commented Sep 15, 2023

  1. Analysis Area Workflow
  2. Annotation step: Draw a polygon
  3. Save the polygon
  4. Previous step
  5. Next step (you're now at annotation step again)
  6. Select the polygon from step 2
  7. Drag a midline drag handle (not the vertex)
leaflet.draw.js:8 Uncaught TypeError: Cannot read properties of null (reading 'project')
    at i._getMiddleLatLng (leaflet.draw.js:8:31285)
    at i._createMiddleMarker (leaflet.draw.js:8:30386)
    at i.a (leaflet.draw.js:8:30935)
    at i.fire (leaflet.js:5:4951)
    at i._onDragEnd (leaflet.js:5:71668)
    at i.fire (leaflet.js:5:4951)
    at i.finishDrag (leaflet.js:5:60364)
    at i._onUp (leaflet.js:5:60054)
    at HTMLDocument.s (leaflet.js:5:22654)
@jacobtylerwalls
Copy link
Member Author

Never mind, this is just Leaflet/Leaflet.draw#876

@jacobtylerwalls jacobtylerwalls closed this as not planned Won't fix, can't repro, duplicate, stale Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant