Fix zoom propagation.

This commit is contained in:
Paulo Gustavo Veiga 2024-02-09 22:43:46 -08:00
parent e7355bc2fe
commit 91c2c600e4
2 changed files with 6 additions and 1 deletions

View File

@ -45,6 +45,10 @@ class MapInfoImpl implements MapInfo {
return this.title;
}
getLockedMsg(): string | undefined {
return this.lockedMsg;
}
setTitle(value: string): void {
throw (this.title = value);
}

View File

@ -204,6 +204,7 @@ const EditorPage = ({ mapId, isTryMode }: EditorPropsType): React.ReactElement =
locale: userLocale.code,
mode: mapMetadata.mode,
enableAppBar: true,
zoom: mapMetadata.zoom,
};
persistence = buildPersistenceManagerForEditor(mapMetadata.mode);
@ -212,7 +213,7 @@ const EditorPage = ({ mapId, isTryMode }: EditorPropsType): React.ReactElement =
client,
mapMetadata.title,
mapMetadata.isLocked,
'',
mapMetadata.isLockedBy,
mapMetadata.zoom,
);
}