K
K
Konstantin2021-03-22 09:05:04
API
Konstantin, 2021-03-22 09:05:04

How to combine address verification and checking for entry into the delivery zone?

We have the Yandex.maps API:
https://yandex.ru/dev/maps/jsbox/2.1/input_validation/
https://yandex.ru/dev/maps/jsbox/2.1/delivery_zones/

We can't combine these 2 examples.

Perhaps the check is not needed, but it is necessary that there be a custom input, outside the map, under the site interface.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Shamanov, 2021-03-22
@dukonst

you can just hide the field on Yandex maps and add an onchange event to the custom address field, in which the value from the custom field would be transferred to the hidden map field.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question