Skip to content

Problem with making multiple geocode requests #11

Description

@beije

There seems to be a problem when making multiple geocode requests at the same time, where only the first registered request is properly resolved, while the subsequent requests just disappear.

const position = {
    lat: 63.096,
    lng: 21.61577
};
Geocoder.geocodePosition(position).then(() => {console.log('Pos 1')}).catch(e => console.warn);
Geocoder.geocodePosition(position).then(() => {console.log('Pos 2')}).catch(e => console.warn);

Only the first console.log will fire, and there are no warnings.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions