T
T
tonybeat2017-04-03 16:08:45
JavaScript
tonybeat, 2017-04-03 16:08:45

Google map not showing up?

Guys, tell me pliz on google maps api
When loading the page, the map for some reason is not loaded.
Although if you stupidly drag the console onto the screen, it immediately starts working

. There is also such a condition, and if there is a mobile phone in local storage, it goes to main and the map is drawn well and correctly, and if it is not there, then it transfers to the authorization window and after authorization map is not rendered:

function settings() {
    if (localStorage.getItem("mobile") === null) {
        document.location.href = "#autorization";
    } else {
        document.location.href = "#main";
    }
};
settings();


You can view:

https://uxui.ru/
authorization by phone choose.
phone enter +79999668008

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question