Skip to content

Commit

Permalink
🏷️ chore: kakao map api 톡신 μœ„ν•œ νƒ€μž… μ •μ˜ #5
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMirror21 committed Oct 19, 2024
1 parent d3dde6f commit 8367789
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/types/api/map.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
export type GeoDocument = {
region_type: 'B' | 'H'; // 'B'와 'H'만 κ°€λŠ₯ν•œ κ²ƒμœΌλ‘œ κ°€μ •
address_name: string;
region_1depth_name: string;
region_2depth_name: string;
region_3depth_name: string;
region_4depth_name: string;
code: string;
x: number;
y: number;
};

export type GeoApiResponse = {
documents: GeoDocument[];
};

export type GeoPosition = {
lon: number;
lat: number;
};

0 comments on commit 8367789

Please sign in to comment.