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

Locate - locationfound: Add check if map container has leaflet_id / is existing #7813

Merged
merged 6 commits into from
Dec 2, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update test text
  • Loading branch information
Falke-Design committed Nov 27, 2021
commit fde5f65357fb0dad3c8d653e5d7eef2fb3f371ba
2 changes: 1 addition & 1 deletion spec/suites/map/MapSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1327,7 +1327,7 @@ describe("Map", function () {
fn({coords: {latitude: 40.415296, longitude: 10.7419264, accuracy: 1129.5646101470752}});
}).to.not.throwException();
});
it("don't throw error if location is found and map is not existing", function () {
it("don't throw error if location is not found and map is not existing", function () {
Falke-Design marked this conversation as resolved.
Show resolved Hide resolved
map._locateOptions = {setView: true};
var fn = L.Util.bind(map._handleGeolocationError, map);
map.remove();
Expand Down