What are geoservices for and where are they used?

Geoservices and suggestions are used in the Establishment Interface and Call Center.

Typeahead suggestions are utilized in the block for adding and editing an address:

Geoservice is required to determine the address coordinates when creating an order. It is used to determine whether the delivery zone polygon is included.

For example, if a guest has not yet made orders in the system, then when entering a new address, a list of typeahead suggestions for the most suitable addresses appears.

Once the address is selected from the list, the geoservice is disabled. Information about the address and coordinates is transferred to the system with the order.

If the order was made without coordinates, then a part of the geoservice is connected. With its help, the system receives coordinates for its full address. They are used to search for the delivery zone polygon.

What geoservices are used in the system

  1. Dadata

What is the algorithm for choosing a geoservice

  1. When entering a new address, the system accesses an external address source—Dadata.