Module: GeoblacklightAdmin::ImageService::TiledMapLayer

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

Class Method Summary collapse

Class Method Details

.image_url(document, _size) ⇒ String

Formats and returns an image url from an ESRI Tiled Map Layer endpoint.

Parameters:

  • (SolrDocument)

Returns:

  • (String)

    image url



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

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