B
B
Bogdan Pasechnik2012-11-29 18:50:35
Yandex
Bogdan Pasechnik, 2012-11-29 18:50:35

How to use the dark design of Yandex maps?

Something like this symbian-blog.com/wp-content/uploads/yandex_maps/ya...
or searchenginesru.s3.amazonaws.com/pics/Yandex.Navig...
or 7phones.ru/wp-content/ uploads/2012/06/yandex.png
In the Yandex mobile application, you can switch between night and day mode. And I need to use the night mode on the site.
I did not find such a function in the api ...
I found such a tool from google gmaps-samples-v3.googlecode.com/svn/trunk/styledma...
It is ideal for my purposes. Only Yandex is needed.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
T
tripcollor, 2017-10-28
@tripcollor

Maybe someone will come in handy.
There was also a need to make a dark map in Yandex.
But in api there is no such possibility as google has.
As a result, I solved the problem with blending modes in css.
Below are screenshots and you can see the code there.

what happened
59f4b827ab6b8519630527.png59f4b82f1536b306351259.png

P
Pavel Tyslyatsky, 2012-11-29
@tbicr

The map on the site consists of js API and data (tiles, tiles).
In essence, the API simply loads the tiles and shows them to the user, and such a display of tiles is called a layer ( Layer ).
The easiest way is to write the path to the night mode tiles.
The most difficult way is to take ready-made tiles and use tricky filters to make a night mode.
The variant presented by you with google maps is present in the API itself . I don’t know if this functionality supports api or Yandex tile services.
Since I don’t know the url of the night mode tiles from Yandex, I can offer tiles based on OSM, for example from cloudmade: maps.cloudmade.com/editor. Or look for other tile services. You can also try your luck and try to see with a fidler where the mobile application is knocking in the night mode.

A
Alexey, 2012-11-29
@alexxxst

I think it's just inverted.

D
dobersoft, 2012-12-04
@dobersoft

You can make a proxy that converts tiles on the fly. For example, it changes their palette.
At the same time, you can cache tiles to speed up loading.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question