G
G
Granteza2018-01-31 18:37:54
JavaScript
Granteza, 2018-01-31 18:37:54

Google maps - gray background in the modal window. How to solve the problem?

Instead of a map - a gray background and a piece of a map in the corner.
The map appears only if you make "resize" to full screen.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Larin, 2018-01-31
@fanrok

Solved a similar problem like this

function MapReload() {
    google.maps.event.trigger(map, 'resize');
}

You can run from anywhere.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question