Sha256: 0dae1437a1154092bf717edad0a6066834ecfc31f5d2810e129da81578380957
Contents?: true
Size: 776 Bytes
Versions: 58
Compression:
Stored size: 776 Bytes
Contents
# frozen_string_literal: true module Decidim module Map module Provider module Geocoding # The geocoding utility class for OpenStreetMap's (OSM) Nominatim based # geocoding services class Osm < ::Decidim::Map::Geocoding # @see Decidim::Map::Geocoding#handle def handle @handle ||= :nominatim end protected # @see Decidim::Map::Utility#configure! def configure!(config) @configuration = config.merge( http_headers: { "User-Agent" => "Decidim/#{Decidim.version} (#{Decidim.application_name})", "Referer" => organization.host } ) end end end end end end
Version data entries
58 entries across 58 versions & 1 rubygems