mirror of
https://github.com/maputnik/editor.git
synced 2026-12-01 06:14:20 +00:00
Block popup on click in inspect mode
This commit is contained in:
1 parent
e8b0bd4d0a
commit
044349e65f
1 file changed
+1
@@ -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()
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user