Sha256: 2a9d15fbd24011414c912244eed23e0a839de9d13714453f10105deeeef3d355

Contents?: true

Size: 402 Bytes

Versions: 12

Compression:

Stored size: 402 Bytes

Contents

# frozen_string_literal: true

module GeoblacklightSidecarImages
  class ImageService
    module TiledMapLayer
      ##
      # Formats and returns an image url from an ESRI Tiled Map Layer endpoint.
      # @param [SolrDocument]
      # @return [String] image url
      def self.image_url(document, _size)
        "#{document.viewer_endpoint}/info/thumbnail/thumbnail.png"
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
geoblacklight_sidecar_images-0.9.2 app/services/geoblacklight_sidecar_images/image_service/tiled_map_layer.rb
geoblacklight_sidecar_images-1.0.0 app/services/geoblacklight_sidecar_images/image_service/tiled_map_layer.rb
geoblacklight_sidecar_images-0.9.1 app/services/geoblacklight_sidecar_images/image_service/tiled_map_layer.rb
geoblacklight_sidecar_images-0.9.0 app/services/geoblacklight_sidecar_images/image_service/tiled_map_layer.rb
geoblacklight_sidecar_images-0.8.1 app/services/geoblacklight_sidecar_images/image_service/tiled_map_layer.rb
geoblacklight_sidecar_images-0.8.0 app/services/geoblacklight_sidecar_images/image_service/tiled_map_layer.rb
geoblacklight_sidecar_images-0.7.0 app/services/geoblacklight_sidecar_images/image_service/tiled_map_layer.rb
geoblacklight_sidecar_images-0.6.5 app/services/geoblacklight_sidecar_images/image_service/tiled_map_layer.rb
geoblacklight_sidecar_images-0.6.4 app/services/geoblacklight_sidecar_images/image_service/tiled_map_layer.rb
geoblacklight_sidecar_images-0.6.2 app/services/geoblacklight_sidecar_images/image_service/tiled_map_layer.rb
geoblacklight_sidecar_images-0.6.1 app/services/geoblacklight_sidecar_images/image_service/tiled_map_layer.rb
geoblacklight_sidecar_images-0.6.0 app/services/geoblacklight_sidecar_images/image_service/tiled_map_layer.rb