You are here

geolocation.libraries.yml in Geolocation Field 8

Same filename and directory in other branches
  1. 8.3 geolocation.libraries.yml
  2. 8.2 geolocation.libraries.yml

File

geolocation.libraries.yml
View source
  1. # Google Maps geocoder function.
  2. geolocation.geocoder:
  3. version: 8.x-1.x
  4. js:
  5. js/geolocation-geocoder.js: {}
  6. dependencies:
  7. - core/jquery.ui.autocomplete
  8. # Geolocation views field geocoder function.
  9. geolocation.views.field.geocoder:
  10. version: 8.x-1.x
  11. js:
  12. js/geolocation-views-field-geocoder.js: {}
  13. dependencies:
  14. - geolocation/geolocation.geocoder
  15. # Geolocation views filter geocoder function.
  16. geolocation.views.filter.geocoder:
  17. version: 8.x-1.x
  18. js:
  19. js/geolocation-views-filter-geocoder.js: {}
  20. dependencies:
  21. - geolocation/geolocation.geocoder
  22. # HTML5 widget library.
  23. geolocation.widgets.html5:
  24. version: 1.x
  25. css:
  26. theme:
  27. css/geolocation-widget-html5.css: {}
  28. js:
  29. js/geolocation-widget-html5.js: { scope: footer }
  30. #
  31. #
  32. # Google Maps API
  33. #
  34. # TODO: Seperate into module.
  35. #
  36. #
  37. # Geolocation Google Maps API integration library.
  38. geolocation.googlemapsapi:
  39. version: 8.x-1.x
  40. dependencies:
  41. - core/drupal
  42. - core/jquery
  43. - core/underscore
  44. - core/drupalSettings
  45. js:
  46. js/geolocation-google-maps-api.js: {}
  47. # Google Maps geocoder function.
  48. geolocation.geocoder.googlegeocodingapi:
  49. version: 8.x-1.x
  50. js:
  51. js/geolocation-google-geocoding-api-geocoder.js: {}
  52. dependencies:
  53. - core/jquery.once
  54. - geolocation/geolocation.geocoder
  55. - geolocation/geolocation.googlemapsapi
  56. # Google Maps display formatter.
  57. geolocation.formatter.googlemap:
  58. version: 8.x-1.x
  59. css:
  60. theme:
  61. css/geolocation-formatter-map.css: {}
  62. js:
  63. js/geolocation-formatter-googlemap.js: {}
  64. dependencies:
  65. - geolocation/geolocation.googlemapsapi
  66. # Google geocoder widget library.
  67. geolocation.widgets.googlegeocoder:
  68. version: 1.x
  69. css:
  70. theme:
  71. css/geolocation-widget-googlegeocoder.css: {}
  72. js:
  73. js/geolocation-widget-googlegeocoder.js: { scope: footer }
  74. dependencies:
  75. - geolocation/geolocation.geocoder
  76. - geolocation/geolocation.googlemapsapi
  77. # CommonMap widget library.
  78. geolocation.commonmap:
  79. css:
  80. theme:
  81. css/geolocation-common-map.css: {}
  82. js:
  83. js/geolocation-common-map.js: {}
  84. dependencies:
  85. - core/drupal
  86. - core/drupalSettings
  87. - core/drupal.ajax
  88. - core/jquery
  89. - core/jquery.once
  90. - geolocation/geolocation.googlemapsapi
  91. # External marker clusterer.
  92. geolocation.markerclusterer:
  93. remote: https://github.com/googlemaps/js-marker-clusterer
  94. version: 1.x
  95. license:
  96. name: Apache License, Version 2.0
  97. url: http://www.apache.org/licenses/LICENSE-2.0
  98. gpl-compatible: true
  99. js:
  100. https://cdn.rawgit.com/googlemaps/js-marker-clusterer/gh-pages/src/markerclusterer.js: { type: external }
  101. # Form element library.
  102. geolocation.google_map_form_element:
  103. js:
  104. js/geolocation-google-map-form-element.js: {}
  105. dependencies:
  106. - geolocation/geolocation.googlemapsapi