mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-01-15 23:21:22 +01:00
Block popup on click in inspect mode
This commit is contained in:
parent
e8b0bd4d0a
commit
044349e65f
1 changed files with 1 additions and 0 deletions
|
@ -121,6 +121,7 @@ export default class MapboxGlMap extends React.Component {
|
|||
showMapPopupOnHover: false,
|
||||
showInspectMapPopupOnHover: true,
|
||||
showInspectButton: false,
|
||||
blockHoverPopupOnClick: true,
|
||||
assignLayerColor: (layerId, alpha) => {
|
||||
return Color(colors.brightColor(layerId, alpha)).desaturate(0.5).string()
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue