services:
  plugin.manager.leaflet_tile_layer_plugin:
    class: Drupal\geofield_map\LeafletTileLayerPluginManager
    arguments: ['@container.namespaces', '@cache.discovery', '@module_handler', '@request_stack']

  plugin.manager.geofield_map.themer:
    class: Drupal\geofield_map\MapThemerPluginManager
    arguments: ['@container.namespaces', '@cache.discovery', '@module_handler', '@config.factory', '@string_translation', '@entity_type.manager']

  geofield_map.marker_icon:
      class: Drupal\geofield_map\Services\MarkerIconService
      arguments: ['@config.factory', '@string_translation', '@file_system', '@entity_type.manager', '@module_handler', '@link_generator', '@plugin.manager.element_info', '@stream_wrapper_manager', '@request_stack', '@extension.path.resolver', '@logger.factory']

  geofield_map.google_maps:
    class: Drupal\geofield_map\Services\GoogleMapsService
    arguments: ['@config.factory', '@language_manager', '@request_stack']

  geofield_map.geocoder:
    class: Drupal\geofield_map\Services\GeocoderService
