Skip to content

Commit

Permalink
unsaved changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Sep 23, 2024
1 parent 1150b46 commit 66ac622
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ export interface Props {
mapCenter?: MapCenterAndZoom;
getTooltipRenderer?: () => RenderToolTipContent;
onApiAvailable?: (api: MapApi) => void;
/*
* Set to false to exclude sharing attributes 'data-*'.
*/
isSharable?: boolean;
}

export function MapRenderer(props: Props) {
Expand Down Expand Up @@ -64,8 +68,8 @@ export function MapRenderer(props: Props) {
getParentApi={() => ({
type: MAP_RENDERER_TYPE,
getTooltipRenderer: props.getTooltipRenderer,
hideFilterActions:
typeof props.hideFilterActions === 'boolean' ? props.hideFilterActions : false,
hideFilterActions: props.hideFilterActions,
isSharable: props.isSharable,
getSerializedStateForChild: () => {
return {
rawState: {
Expand Down

0 comments on commit 66ac622

Please sign in to comment.