Sha256: a95258056837829dc0f644ee98891af95306ae30ce5cadca0b722ae1f91551fc

Contents?: true

Size: 478 Bytes

Versions: 10

Compression:

Stored size: 478 Bytes

Contents

# frozen_string_literal: true

module GeoblacklightAdmin
  class ImageService
    module ImageMapLayer
      ##
      # Formats and returns a thumbnail url from an ESRI Image Map Layer endpoint.
      # information about the layer.
      # @param [SolrDocument]
      # @param [Integer] thumbnail size
      # @return [String] thumbnail url
      def self.image_url(document, _size)
        "#{document.viewer_endpoint}/info/thumbnail/thumbnail.png"
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
geoblacklight_admin-0.7.0 app/services/geoblacklight_admin/image_service/image_map_layer.rb
geoblacklight_admin-0.6.3 app/services/geoblacklight_admin/image_service/image_map_layer.rb
geoblacklight_admin-0.6.2 app/services/geoblacklight_admin/image_service/image_map_layer.rb
geoblacklight_admin-0.6.1 app/services/geoblacklight_admin/image_service/image_map_layer.rb
geoblacklight_admin-0.6.0 app/services/geoblacklight_admin/image_service/image_map_layer.rb
geoblacklight_admin-0.5.1 app/services/geoblacklight_admin/image_service/image_map_layer.rb
geoblacklight_admin-0.5.0 app/services/geoblacklight_admin/image_service/image_map_layer.rb
geoblacklight_admin-0.4.2 app/services/geoblacklight_admin/image_service/image_map_layer.rb
geoblacklight_admin-0.4.1 app/services/geoblacklight_admin/image_service/image_map_layer.rb
geoblacklight_admin-0.4.0 app/services/geoblacklight_admin/image_service/image_map_layer.rb