Coder Social home page Coder Social logo

Comments (9)

maxdenaro avatar maxdenaro commented on July 19, 2024 1

Я сам пробовал в теге script, все работает. Видимо, вы где-то допустили ошибку

from gulp-maxgraph.

maxdenaro avatar maxdenaro commented on July 19, 2024 1

Может, и есть еще какой-то вариант) но я пока нашел такой, самый простой

from gulp-maxgraph.

maxdenaro avatar maxdenaro commented on July 19, 2024

Здравствуйте.
Попробуйте прописать атрибут defer или подключить скрипт карты в самом низу страницы. И точно там же, внизу, прописать сам код инициализации, прямо в теге <script>.

from gulp-maxgraph.

Artem-Golovchansky avatar Artem-Golovchansky commented on July 19, 2024

Все варианты перепробовал. Не инициализируется карта. Консоль по-прежнему ошибок не отражает. Только появляется это предупреждение
image

В "кабинете разработчика" в статистике считаются мои обновления карты на странице. Т.е. api работает. Но карты нет

Не прописываются ли какие-то атрибуты тут:
image

from gulp-maxgraph.

Artem-Golovchansky avatar Artem-Golovchansky commented on July 19, 2024

Здравствуйте, прописал код в теге, внизу страницы. Всё заработало, когда прописал тип script. Благодарю за ответы. Вопрос закрыт.

Немного только жаль, что не получается написать код этого скрипта отдельно, как и другие элементы.

from gulp-maxgraph.

Artem-Golovchansky avatar Artem-Golovchansky commented on July 19, 2024

from gulp-maxgraph.

maxdenaro avatar maxdenaro commented on July 19, 2024

Добрый день. Видимо ваши изображения не приложились) не вижу, что там в коде

from gulp-maxgraph.

Artem-Golovchansky avatar Artem-Golovchansky commented on July 19, 2024

from gulp-maxgraph.

maxdenaro avatar maxdenaro commented on July 19, 2024

Я не вижу ваши изображения(
Создавайте новый ишью, может там будет показывать.

from gulp-maxgraph.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.