L
L
Leonid Yakovlev2020-06-04 18:22:55
typescript
Leonid Yakovlev, 2020-06-04 18:22:55

How to stretch openlayer map?

Has anyone worked with openlayer ?
How to stretch the map to the height of the entire component?

I would be very grateful for an answer.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ross Alex, 2020-06-11
@Wacdis

An ancestor, position:relative;
For the map, position:absolute;top:0;left:0;height:100%;width:100%;z-index:1;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question