question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

_handleGeolocationResponse: exception when map is already removed

See original GitHub issue

See #2001

Seeing this error at

./src/dom/DomUtil.js:247: return el._leaflet_pos || new Point(0, 0);

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:19 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
johnd0ecommented, Nov 17, 2021

map instance self has still the id.

map.getContainer()._leaflet_id

What exactly do you mean with this?

if (!this.listens('locationfound')) { return; }

But just checked, listeners do not get removed on map remove, so this will not work.

0reactions
Falke-Designcommented, Dec 13, 2021

When this milestone is completed, I think it will need sure 2 months.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Geolocation in Android throwing exception when I search for ...
When I search by country name, it works perfect, but when I search for the City or places, app crashes. Here is the...
Read more >
Error Messages | Maps JavaScript API - Google Developers
Map Loading Errors; Maps JavaScript API Error Codes. Checking Errors in Your Browser; Handling unsupported browsers; If your code still isn't working.
Read more >
Using Geolocation and Google Maps - CODE Magazine
When using the geolocation object, the first thing you should do is check to ensure that the user's browser supports the object. After...
Read more >
Global Error Handling in ASP.NET Core Web API - Code Maze
The exception handling features help us deal with the unforeseen errors which could appear in our code. To handle exceptions we can use...
Read more >
Geolocation API - W3C
The Geolocation API provides access to geographical location ... Now relies on the Permissions specification to handle permission grants, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found