I use Google autocomplete, everything works.

But there is a task: in the results of the issue, instead of markers, print a label with the name of the place type.

All types of places should be three: airport , hotel , address .

enter image description here

  • everything works right, what do you want to see? - L. Vadim
  • @L.Vadim in my question is understandable, a person wants to replace the marker icon near the place with a type icon for the place (for example, an airplane near the airports). Just do it will not work, places-api does not provide such an opportunity. And in general, how did you plan to limit the issue only to airports, hotels and addresses? At the moment, you can restrict only to addresses, or only places (all), although there is a restriction on groups of objects, the componentRestrictions parameter, but at the moment it supports only the type of the object "Countries" - Vadim Leshkevich
  • @ VadimLeshkevich I meant it that everything works as planned - L. Vadim

0