D
D
Dark_Rider2018-08-23 16:20:12
Yandex
Dark_Rider, 2018-08-23 16:20:12

Why is maps.yandex.ru not rendering?

I have a script that renders a certain piece of the map by cron. (With the help of cutycapt+xvfb)
Lately (about 2 months) ago the rendering stopped working.
It just shows the background.
Similarly, this is done on many online
Services for creating screenshots: https :
//mini.s-shot.ru/1024x768/PNG/1024/Z100/?map...
similar result.
Even on Windows it stopped working!
Java scripts included.
The fantasy is over.
What did I miss?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dark_Rider, 2018-08-23
@Dark_Rider

You know, on some online screenshots it renders normally, on some it doesn't.
I associate this either with different user agents (by the way, I also changed them to no avail), or in general with different engines.
Since I came across one site, it allowed screenshots from different browsers, so it was correctly displayed only on the latest versions of fox and chrome, otherwise it was exactly the same as I had.
I will try to install the chronium and run it
UPD - I was right.
xvfb-run --server-args='-screen 0, 1024x768x24' chromium --no-sandbox -start-maximized http://mysite.ru > /dev/null
There is a script at mysite.ru that updates the file.
The file was updated, fought for a week! Hurrah)))

V
Vadim Popov, 2018-08-23
@vadimpopov94

I had this with a mapkit from Yandex for Android, I wrote to technical support, it turned out that they did not activate the map key on their side, fixed it and the render worked.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question