We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In version 4.2.0, calling the following:
this.directions.setDestination(this.destinationLocation); this.directions.setOrigin([e.coords.longitude, e.coords.latitude]); console.log(this.directions); console.log(this.map.getStyle().sources.directions.data);
Correctly populates sources.directions with two features.
sources.directions
However, after upgrading to 4.3.1, this behavior has changed. The same calls no longer populate sources.directions as expected.
this.directions.setDestination
this.directions.setOrigin
console.log(this.map.getStyle().sources.directions.data)
Provide any workaround you've found, or indicate none if not available.
Could you investigate the change between versions and provide guidance on the correct way to populate sources.directions in 4.3.1?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In version 4.2.0, calling the following:
Correctly populates
sources.directions
with two features.However, after upgrading to 4.3.1, this behavior has changed. The same calls no longer populate
sources.directions
as expected.Expected Behavior:
sources.directions
should contain two features.Actual Behavior:
sources.directions
remains empty or does not populate as it did in 4.2.0.Steps to Reproduce:
this.directions.setDestination
.this.directions.setOrigin
.sources.directions
usingconsole.log(this.map.getStyle().sources.directions.data)
.Workaround:
Provide any workaround you've found, or indicate none if not available.
Environment:
Could you investigate the change between versions and provide guidance on the correct way to populate
sources.directions
in 4.3.1?The text was updated successfully, but these errors were encountered: