use same hover options on both maps

Makes the popup only show on click. if you right click the popup goes away. (this was the behavior on the viewer pages before)
This commit is contained in:
acalcutt 2023-01-21 16:29:01 -05:00
parent f81a6f604f
commit b0a2c546df

View file

@ -65,7 +65,10 @@
map.addControl(new maplibregl.NavigationControl());
var inspect = new MaplibreInspect({
showInspectMap: true,
showInspectButton: false
showInspectButton: false,
showMapPopupOnHover: false,
showInspectMapPopupOnHover: false,
selectThreshold: 5
});
map.addControl(inspect);
map.on('styledata', function() {