M
M
m1rvi2021-03-14 12:47:48
AJAX
m1rvi, 2021-03-14 12:47:48

How to choose a Yandex.map zone based on the user's address?

I'm making a website for a pizzeria

At the pizza delivery point, you need to show the user a map with zones and, based on the address data entered by him, determine the zone and the minimum amount of free delivery for this zone, which is located in the database

. How to implement this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2021-03-14
@m1rvi

1) Geocode the address - get the coordinates
2) Check these coordinates for belonging to the zone polygon
3) Set the price.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question