You are here

leaflet.libraries.yml in Leaflet 8

Same filename and directory in other branches
  1. 2.1.x leaflet.libraries.yml
  2. 2.0.x leaflet.libraries.yml

File

leaflet.libraries.yml
View source
  1. general:
  2. version: 1.x
  3. css:
  4. component:
  5. css/leaflet_general.css: {}
  6. leaflet:
  7. remote: http://leafletjs.com/
  8. version: 1.4.0
  9. license:
  10. name: Leaflet-License
  11. url: https://github.com/Leaflet/Leaflet/blob/v1.4.0/LICENSE
  12. gpl-compatible: true
  13. js:
  14. js/leaflet/dist/leaflet.js: {}
  15. css:
  16. component:
  17. js/leaflet/dist/leaflet.css: {}
  18. leaflet-drupal:
  19. version: VERSION
  20. js:
  21. js/leaflet.drupal.js: {}
  22. dependencies:
  23. - core/jquery
  24. - core/jquery.once
  25. - core/drupal
  26. - leaflet/leaflet
  27. leaflet-geoman:
  28. version: 2.x
  29. css:
  30. theme:
  31. '//unpkg.com/@geoman-io/leaflet-geoman-free@latest/dist/leaflet-geoman.css': {type: external, minified: true}
  32. js:
  33. '//unpkg.com/@geoman-io/leaflet-geoman-free@latest/dist/leaflet-geoman.min.js': {type: external, minified: true}
  34. dependencies:
  35. - leaflet/leaflet
  36. leaflet-widget:
  37. version: 1.x
  38. js:
  39. js/leaflet.widget.js: {}
  40. dependencies:
  41. - core/jquery
  42. - leaflet/general
  43. - leaflet/leaflet-geoman
  44. # Control Fullscreen
  45. leaflet.fullscreen:
  46. header: true
  47. remote: https://github.com/Leaflet/Leaflet.fullscreen
  48. version: '1.0.1'
  49. license:
  50. name: ISC License
  51. url: https://github.com/Leaflet/Leaflet.fullscreen/blob/gh-pages/LICENSE
  52. gpl-compatible: true
  53. css:
  54. component:
  55. 'https://api.mapbox.com/mapbox.js/plugins/leaflet-fullscreen/v1.0.1/leaflet.fullscreen.css': { type: external}
  56. js:
  57. 'https://api.mapbox.com/mapbox.js/plugins/leaflet-fullscreen/v1.0.1/Leaflet.fullscreen.min.js': { type: external, minified: true }
  58. dependencies:
  59. - leaflet/leaflet
  60. # Gesture Handling Leaflet Library
  61. leaflet.gesture_handling:
  62. header: true
  63. remote: https://github.com/elmarquis/Leaflet.GestureHandling
  64. version: '1.0.1'
  65. license:
  66. name: MIT License
  67. url: https://raw.githubusercontent.com/elmarquis/Leaflet.GestureHandling/master/LICENSE
  68. gpl-compatible: no
  69. css:
  70. component:
  71. 'https://unpkg.com/leaflet-gesture-handling/dist/leaflet-gesture-handling.min.css': { type: external}
  72. js:
  73. 'https://unpkg.com/leaflet-gesture-handling': { type: external, minified: true }
  74. dependencies:
  75. - leaflet/leaflet
  76. leaflet.geocoder:
  77. version: 1.x
  78. css:
  79. component:
  80. css/leaflet_geocoder.css: {}
  81. js:
  82. js/leaflet.geocoder.js: {}
  83. dependencies:
  84. - core/drupal.autocomplete
  85. - leaflet/leaflet-drupal