Skip to content

Commit

Permalink
Ensure data-inspect attribute is set on leaflet maps
Browse files Browse the repository at this point in the history
  • Loading branch information
spilth committed Aug 28, 2024
1 parent 4e6de07 commit b0fcf64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/helpers/geoblacklight_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ def leaflet_viewer
"map-geom" => @document.geometry.geojson,
"catalog-path" => search_catalog_path,
:available => document_available?,
:inspect => show_attribute_table?,
:basemap => geoblacklight_basemap,
:leaflet_options => leaflet_options
})
Expand All @@ -281,6 +282,7 @@ def ol_viewer
"map-geom" => @document.geometry.geojson,
"catalog-path" => search_catalog_path,
:available => document_available?,
:inspect => show_attribute_table?,
:basemap => geoblacklight_basemap,
:leaflet_options => leaflet_options
})
Expand Down

0 comments on commit b0fcf64

Please sign in to comment.