farm_map_public_path:
  js:
    js/farm_map_public_path.js: { }
  dependencies:
    - core/drupalSettings

farmOS-map:
  remote: https://github.com/farmOS/farmOS-map
  license:
    name: MIT
    url: https://github.com/farmOS/farmOS-map/blob/master/LICENSE
    gpl-compatible: true
  js:
    /libraries/farmOS-map/farmOS-map.js:
      # Skip aggregating farmOS-map.js with other JS since that
      # breaks the lazy loading of behavior chunks.
      preprocess: false
      minified: true
  css:
    theme:
      /libraries/farmOS-map/farmOS-map.css: { }
  dependencies:
    - core/drupalSettings
    - farm_map/farm_map_public_path

farm_map:
  css:
    theme:
      css/farm_map.css: { }
  js:
    js/farm_map.js: { }
  dependencies:
    - core/drupalSettings
    - farm_map/farmOS-map
behavior_wkt:
  js:
    js/farmOS.map.behaviors.wkt.js: { }
  dependencies:
    - core/drupalSettings
    - farm_map/farm_map
behavior_input:
  js:
    js/farmOS.map.behaviors.input.js: { }
  dependencies:
    - farm_map/farm_map
behavior_enable_side_panel:
  js:
    js/farmOS.map.behaviors.enable_side_panel.js: { }
  dependencies:
    - farm_map/farm_map
behavior_popup:
  js:
    js/farmOS.map.behaviors.popup.js: { }
  css:
    theme:
      css/map_popup.css: { }
  dependencies:
    - farm_map/farm_map
