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:
parent
f81a6f604f
commit
b0a2c546df
1 changed files with 4 additions and 1 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue