Created a test version on this site. It’s impossible to launch a map in any way, but when you click on F12 (developer tools), when the modal window is open, the map immediately appears, what is it connected with and why is the marker not in the center? Help me to understand. Thank you so much in advance!

  • Give an example of the code where you launch (connect) the map to the site - Evgeny Suetin
  • The code can be viewed directly on the site page, everything is stuffed into index.html - Jack London
  • Probably, when you press F12, the browser switches to adaptive mode for another resolution, for example, and the container with the map takes on the form available for displaying the map - lexxl
  • I found a similar question in stackoveflow: stackoverflow.com/questions/10197128/… . It seems that the whole thing is that the map is initialized before it becomes visible. Try to initialize the map after opening a modal window. - pitersky

0