You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
searchByPlaceId return type MaplibreGeocoderPlaceResults is an object with a "place" property with a value of an array of CarmenGeoJSON features:
type MaplibreGeocoderPlaceResults = {
place: CarmenGeojsonFeature[];
};
in index.ts line 919 this array is wrapped in another array: results = [res.place];
This causes an error to be thrown when the user selects a place from the results, and the map is not moved to the selected place as is expected.
Either place in the MaplibreGeocoderPlaceResults type needs to be updated to accept a single feature, or res.place should not be wrapped in an array in index.ts line 919.
The text was updated successfully, but these errors were encountered:
searchByPlaceId return type MaplibreGeocoderPlaceResults is an object with a "place" property with a value of an array of CarmenGeoJSON features:
in index.ts line 919 this array is wrapped in another array:
results = [res.place];
This causes an error to be thrown when the user selects a place from the results, and the map is not moved to the selected place as is expected.
Either
place
in the MaplibreGeocoderPlaceResults type needs to be updated to accept a single feature, orres.place
should not be wrapped in an array in index.ts line 919.The text was updated successfully, but these errors were encountered: