diff --git a/src/ROverlay.tsx b/src/ROverlay.tsx index 098fe73e..b897055d 100644 --- a/src/ROverlay.tsx +++ b/src/ROverlay.tsx @@ -39,6 +39,8 @@ export interface ROverlayProps extends PropsWithChildren { autoPosition?: boolean; /** Called immediately on click */ onClick?: (event: MouseEvent) => void; + /** Stop event propagation */ + stopEvent?: boolean; } /** @@ -62,7 +64,8 @@ export class ROverlayBase

extends RlayersBase