Module: GeoblacklightAdmin::ImageService::ImageMapLayer

Defined in:
app/services/geoblacklight_admin/image_service/image_map_layer.rb

Class Method Summary collapse

Class Method Details

.image_url(document, _size) ⇒ String

Formats and returns a thumbnail url from an ESRI Image Map Layer endpoint. information about the layer.

Parameters:

  • (SolrDocument)
  • thumbnail (Integer)

    size

Returns:

  • (String)

    thumbnail url



12
13
14
# File 'app/services/geoblacklight_admin/image_service/image_map_layer.rb', line 12

def self.image_url(document, _size)
  "#{document.viewer_endpoint}/info/thumbnail/thumbnail.png"
end