Module: GeoblacklightAdmin::ImageService::DynamicMapLayer

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

Class Method Summary collapse

Class Method Details

.image_url(document, _size) ⇒ String

Formats and returns a thumbnail url from an ESRI Dynamic Map Layer endpoint.

Parameters:

  • (SolrDocument)

Returns:

  • (String)

    image url



10
11
12
# File 'app/services/geoblacklight_admin/image_service/dynamic_map_layer.rb', line 10

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