-
Notifications
You must be signed in to change notification settings - Fork 0
feat : 지도 화면에 실제 핀 데이터 연결 #182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| import type { MapPin } from '@/features/map/types'; | ||
|
|
||
| /** | ||
| * 개발 환경에서 실제 API 응답이 비어있을 때(근처에 등록된 PIN이 없을 때) | ||
| * 배선/렌더링을 확인할 수 있도록 서울시청 근처(공공장소)에 고정으로 띄우는 목데이터. | ||
| * 화면 중심 기준으로 계산하지 않는다 — 지도를 움직여도 따라오지 않고 실제 | ||
| * 위치에 고정돼 있어야 하기 때문. 프로덕션 빌드(import.meta.env.DEV === false) | ||
| * 에서는 절대 사용하지 않는다. | ||
| */ | ||
| export const DEV_MOCK_MAP_PINS: MapPin[] = [ | ||
| { | ||
| id: 'dev-mock:1', | ||
| lat: 37.5663, | ||
| lng: 126.9779, | ||
| coverUrl: undefined, | ||
| nickname: '냥코', | ||
| introduction: '도가니 살리기 위잉잉잉~', | ||
| }, | ||
| { | ||
| id: 'dev-mock:2', | ||
| lat: 37.5658, | ||
| lng: 126.9784, | ||
| coverUrl: undefined, | ||
| nickname: '한강러버', | ||
| introduction: '야경 보면서 듣기 딱 좋아요', | ||
| }, | ||
| { | ||
| id: 'dev-mock:3', | ||
| lat: 37.5669, | ||
| lng: 126.9773, | ||
| coverUrl: undefined, | ||
| nickname: '산책러', | ||
| introduction: '퇴근길 산책 플레이리스트', | ||
| }, | ||
| { | ||
| id: 'dev-mock:4', | ||
| lat: 37.5661, | ||
| lng: 126.977, | ||
| coverUrl: undefined, | ||
| nickname: '댄스머신', | ||
| introduction: '기분 좋아지는 노래 추천', | ||
| }, | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.