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
The method "map.buildings.findBuildingAtLatLng" is not finding any building.
Expected behavior:
This method should retrive a building juste like the version used in the example.
Actual behavior:
Buildings are never found, no matter the provided coordinates.
const map = Leaflet.Wrld.map( $('[data-component="map"]')[0], 'API_KEY', ); map.on('initialstreamingcomplete', () => { let intersection = map.buildings.findBuildingAtLatLng([ 37.795159, -122.404336 ]); console.log(intersection); // {found: 0, point: {lat: 0, lng: 0, alt: 0}} });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
The method "map.buildings.findBuildingAtLatLng" is not finding any building.
Steps to Reproduce
Expected behavior:
This method should retrive a building juste like the version used in the example.
Actual behavior:
Buildings are never found, no matter the provided coordinates.
Code
The text was updated successfully, but these errors were encountered: