I am developing a Creatium website builder, and one of the components used in building pages is Yandex Map. Some time ago, the search stopped working in this component.
Why fixing the search could cost us 120 rubles a year, and how we avoided it - under the cut.
This is the key function of the component, because it is through the search that customers indicate the address that will be shown on the map.
Yandex support explained that requests to the Geocoder API (responsible for searching) now require an API key, and since we are a commercial project, this API is paid for us.
And he is worth 120 rubles per year with a limit of 1000 requests per day is the minimum price. Even if I use 50 requests per day on a commercial project, the price does not change.
Do we need a paid API?
At the same time, Google Maps Platform
We cannot refuse Yandex.Maps, as they are already used on our clients' websites. We also cannot replace them with Google maps - they differ too much in appearance.
So we made a hybrid. The search is conducted using the API from Google, and the search result is shown on the map from Yandex.
Thus, we βfixedβ the search on the map and saved ourselves 120 rubles a year.
UPDATED: The proposed method violates the rules of the Google Maps Platform, as it turned out in the comments, and therefore is not a recommendation.
Source: habr.com