I am looking for a possibility to get suggestions without country name.
I have the following js code:
... var autocomplete_pickup = new google.maps.places.Autocomplete(pickup_field, {
types: ["address"], componentRestrictions: {country: "de"}
}); ...
The result is e.g.
Bahnhofstrasse 4, Hamburg, Deutschland
Now I want to have for that example only
Bahnhofstrasse 4, Hamburg
I have limited the countries only to Germany and therefore is not necessary to show the country name.
Do you have an idea? Thanks. Heinz-Peter