mirror of
https://github.com/maputnik/editor.git
synced 2026-08-24 14:07:33 +00:00
Block popup on click in inspect mode
This commit is contained in:
@@ -121,6 +121,7 @@ export default class MapboxGlMap extends React.Component {
|
|||||||
showMapPopupOnHover: false,
|
showMapPopupOnHover: false,
|
||||||
showInspectMapPopupOnHover: true,
|
showInspectMapPopupOnHover: true,
|
||||||
showInspectButton: false,
|
showInspectButton: false,
|
||||||
|
blockHoverPopupOnClick: true,
|
||||||
assignLayerColor: (layerId, alpha) => {
|
assignLayerColor: (layerId, alpha) => {
|
||||||
return Color(colors.brightColor(layerId, alpha)).desaturate(0.5).string()
|
return Color(colors.brightColor(layerId, alpha)).desaturate(0.5).string()
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user