Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion packages/ui/src/components/PreviewMap/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ interface Props {
}

const CONFIRM_LOCAL_STORAGE_KEY = 'BOOLTI_PREVIEW_MAP_OPEN_NAVER_MAP';
const DEFAULT_CENTER_LATITUDE_OFFSET = 0.00005;

const PreviewMap = ({ latitude, longitude, name, isAppWebview }: Props) => {
const confirm = useConfirm();
Expand Down Expand Up @@ -62,6 +63,7 @@ const PreviewMap = ({ latitude, longitude, name, isAppWebview }: Props) => {
}, 1500);
}
};

return (
<Container
style={{ height: 140, borderRadius: 8 }}
Expand Down Expand Up @@ -90,7 +92,7 @@ const PreviewMap = ({ latitude, longitude, name, isAppWebview }: Props) => {
zoomControl={false}
mapTypeControl={false}
zoom={18}
defaultCenter={new navermaps.LatLng(latitude, longitude)}
defaultCenter={new navermaps.LatLng(latitude + DEFAULT_CENTER_LATITUDE_OFFSET, longitude)}
>
<Marker
position={new navermaps.LatLng(latitude, longitude)}
Expand Down
Loading