Skip to content

Commit 246241e

Browse files
committed
chore: remove layer selection from small public dataset map
1 parent 0a46138 commit 246241e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ckanext/spatial/public/js/spatial_query.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,8 @@ this.ckan.module('spatial-query', function ($, _) {
356356

357357
// OK map time
358358
this.mainMap = map = this._createMap('dataset-map-container');
359+
// Remove layer selection from small dataset map
360+
document.getElementById("dataset-map-container").querySelector(".leaflet-control-layers").style.display = "none";
359361

360362
var expandButton = L.Control.extend({
361363
position: 'topright',

0 commit comments

Comments
 (0)