You are here

yamaps.libraries.yml in Yandex.Maps 8

File

yamaps.libraries.yml
View source
  1. yandex-map-api:
  2. version: 1.x
  3. js:
  4. //api-maps.yandex.ru/2.1/?lang=ru_RU: { type: external, scope: header }
  5. yamaps-init:
  6. version: 1.x
  7. css:
  8. theme:
  9. css/yamaps.css: {}
  10. js:
  11. js/yamaps.init.js: {scope: footer}
  12. dependencies:
  13. - core/jquery
  14. - core/drupal
  15. - core/jquery.once
  16. - core/drupalSettings
  17. yamaps-map:
  18. version: 1.x
  19. js:
  20. js/yamaps.layouts.js: {scope: footer}
  21. js/yamaps.maps.js: {scope: footer}
  22. js/yamaps.run.js: {scope: footer}
  23. dependencies:
  24. - yamaps/yamaps-init
  25. yamaps-placemark:
  26. version: 2.x
  27. js:
  28. js/yamaps.placemark.js: {scope: footer}
  29. dependencies:
  30. - yamaps/yamaps-init
  31. yamaps-line:
  32. version: 2.x
  33. js:
  34. js/yamaps.line.js: {scope: footer}
  35. dependencies:
  36. - yamaps/yamaps-init
  37. yamaps-polygon:
  38. version: 2.x
  39. js:
  40. js/yamaps.polygon.js: {scope: footer}
  41. dependencies:
  42. - yamaps/yamaps-init