Answer the question
In order to leave comments, you need to log in
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
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:
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 questionAsk a Question
731 491 924 answers to any question