A
A
Arman2015-03-02 10:29:22
css
Arman, 2015-03-02 10:29:22

How to make Yandex maps full screen with a menu?

Good afternoon.
Tell me where to dig on this issue? You need to do something like 2gis.ru , but with Yandex maps, i.e. :
1. when we open the page, the map is already full screen
2. on the map, as part of the interface, there will be a menu, menu - links that open other sections, cities, etc.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
Hazrat Hajikerimov, 2015-03-02
@Arik

Make header with absolute positioning and stick to top:0; left: 0; and the map is also positioned absolute and full width with width: 100vw; height: 100vh;
and to header z-index: 10; what would be at the top
An example of how I did it:
download?id=CAZKyhVesrEhDVy54gg0wzDyVfRv

K
Konstantin Kitmanov, 2015-03-02
@k12th

You can make the map "full screen" following this example from the documentation , but the controls are placed on top using position: absolute and a large z-index.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question