{"id":39099,"date":"2024-11-02T02:36:59","date_gmt":"2024-11-02T02:36:59","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=39099"},"modified":"2024-11-26T06:42:26","modified_gmt":"2024-11-26T06:42:26","slug":"%ec%bb%a4%ec%8a%a4%ed%85%80-%eb%a7%88%ec%bb%a4-%eb%b0%8f-%ec%a0%95%eb%b3%b4%ec%b0%bd-%eb%a7%8c%eb%93%a4%ea%b8%b0-%ec%a0%95%eb%b3%b4%ec%b0%bd%ec%97%90-%ec%9e%a5%ec%86%8c-%ec%a0%95%eb%b3%b4-%eb%b0%8f","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/39099\/","title":{"rendered":"\ucee4\uc2a4\ud140 \ub9c8\ucee4 \ubc0f \uc815\ubcf4\ucc3d \ub9cc\ub4e4\uae30, \uc815\ubcf4\ucc3d\uc5d0 \uc7a5\uc18c \uc815\ubcf4 \ubc0f \uc774\ubbf8\uc9c0, \ub9c1\ud06c \ucd94\uac00\ud558\uae30"},"content":{"rendered":"<p>\uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc0ac\uc6a9\uc790\uc5d0\uac8c \ub354 \ub9ce\uc740 \uc815\ubcf4\ub97c \uc81c\uacf5\ud558\uace0, \uacbd\ud5d8\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\uae30 \uc704\ud574 \ub9f5(Mapping) \uae30\ub2a5\uc740 \uc544\uc8fc \uc911\uc694\ud569\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8(React)\uc640 \uad6c\uae00 \ub9f5 API\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucee4\uc2a4\ud140 \ub9c8\ucee4 \ubc0f \uc815\ubcf4\ucc3d\uc744 \ub9cc\ub4e4\uace0, \ud574\ub2f9 \uc815\ubcf4\ucc3d\uc5d0 \uc7a5\uc18c \uc815\ubcf4, \uc774\ubbf8\uc9c0 \ubc0f \ub9c1\ud06c\ub97c \ucd94\uac00\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. \ud658\uacbd \uc138\ud305\ud558\uae30<\/h2>\n<p>\uc2dc\uc791\ud558\uae30 \uc804\uc5d0 \ud504\ub85c\uc81d\ud2b8 \ud658\uacbd\uc744 \uc124\uc815\ud574\uc57c \ud569\ub2c8\ub2e4. Create React App\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc0c8\ub85c\uc6b4 \ub9ac\uc561\ud2b8 \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>npx create-react-app custom-marker-example\ncd custom-marker-example\nnpm install @react-google-maps\/api<\/code><\/pre>\n<h2>2. \uad6c\uae00 \ub9f5 API \ud0a4 \uc5bb\uae30<\/h2>\n<p>\uad6c\uae00 \ub9f5\uc744 \uc0ac\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294 API \ud0a4\uac00 \ud544\uc694\ud569\ub2c8\ub2e4. \uad6c\uae00 \ud074\ub77c\uc6b0\ub4dc \ud50c\ub7ab\ud3fc\uc5d0\uc11c \uc0c8\ub85c\uc6b4 \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud558\uace0, &#8216;Maps JavaScript API&#8217;\ub97c \ud65c\uc131\ud654\ud55c \ud6c4 API \ud0a4\ub97c \uc0dd\uc131\ud558\uc138\uc694.<\/p>\n<h2>3. \uae30\ubcf8 \ub9f5 \ucef4\ud3ec\ub10c\ud2b8 \ub9cc\ub4e4\uae30<\/h2>\n<p>\uc774\uc81c \uae30\ubcf8\uc801\uc778 \ub9f5 \ucef4\ud3ec\ub10c\ud2b8\ub97c \ub9cc\ub4e4\uc5b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. App.js \ud30c\uc77c\uc744 \uc5f4\uace0 \ub2e4\uc74c \ucf54\ub4dc\ub97c \ucd94\uac00\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>import React from 'react';\nimport { GoogleMap, LoadScript } from '@react-google-maps\/api';\n\nconst containerStyle = {\n  width: '800px',\n  height: '400px'\n};\n\nconst center = {\n  lat: -3.745,\n  lng: -38.523\n};\n\nfunction MyMapComponent() {\n  return (\n    <loadscript api=\"\" googlemapsapikey=\"YOUR_API_KEY\" \uad6c\uae00=\"\" \uc5ec\uae30\uc5d0=\"\" \uc785\ub825\ud558\uc138\uc694=\"\" \ud0a4\ub97c=\"\">\n      <googlemap center=\"{center}\" mapcontainerstyle=\"{containerStyle}\" zoom=\"{10}\">\n        {\/* \uc5ec\uae30\uc5d0 \ub9c8\ucee4\ub97c \ucd94\uac00\ud560 \uac83\uc785\ub2c8\ub2e4 *\/}\n      <\/googlemap>\n    <\/loadscript>\n  );\n}\n\nexport default MyMapComponent;<\/code><\/pre>\n<h2>4. \ucee4\uc2a4\ud140 \ub9c8\ucee4 \ucd94\uac00\ud558\uae30<\/h2>\n<p>\uad6c\uae00 \ub9f5\uc5d0 \ucee4\uc2a4\ud140 \ub9c8\ucee4\ub97c \ucd94\uac00\ud558\ub824\uba74, \ub2e4\uc74c\uacfc \uac19\uc774 \ucef4\ud3ec\ub10c\ud2b8\ub97c \uc218\uc815\ud569\ub2c8\ub2e4. \ub9c8\ucee4\uc758 \uc704\uce58\uc640 \uc774\ubbf8\uc9c0\ub97c \uc124\uc815\ud558\uc5ec \uc0ac\uc6a9\uc790\uc5d0\uac8c \uba85\ud655\ud55c \uc815\ubcf4\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>import React from 'react';\nimport { GoogleMap, LoadScript, Marker } from '@react-google-maps\/api';\n\nconst containerStyle = {\n  width: '800px',\n  height: '400px'\n};\n\nconst center = {\n  lat: -3.745,\n  lng: -38.523\n};\n\nconst markerPosition = {\n  lat: -3.745,\n  lng: -38.523\n};\n\nfunction MyMapComponent() {\n  return (\n    <loadscript googlemapsapikey=\"YOUR_API_KEY\">\n      <googlemap center=\"{center}\" mapcontainerstyle=\"{containerStyle}\" zoom=\"{10}\">\n        <marker 'http:=\"\" 50)=\"\" ==\"\" custom-marker.png',=\"\" example.com=\"\" icon=\"{{\" new=\"\" onclick=\"{()\" position=\"{markerPosition}\" scaledsize:=\"\" url=\"\" url:=\"\" window.google.maps.size(50,=\"\" }}=\"\" \ub9c8\ucee4=\"\" \ub9c8\ucee4\uc758=\"\" \uc774\ubbf8\uc9c0=\"\" \uc870\uc808=\"\" \ucee4\uc2a4\ud140=\"\" \ud06c\uae30=\"\"> {\n            alert('Marker clicked');\n          }}\n        \/&gt;\n      <\/marker><\/googlemap>\n    <\/loadscript>\n  );\n}\n\nexport default MyMapComponent;<\/code><\/pre>\n<h2>5. \uc815\ubcf4\ucc3d(InfoWindow) \ucd94\uac00\ud558\uae30<\/h2>\n<p>\uc815\ubcf4\ucc3d\uc740 \uc0ac\uc6a9\uc790\uc5d0\uac8c \ucd94\uac00 \uc815\ubcf4\ub97c \uc81c\uacf5\ud560 \uc218 \uc788\ub294 \uc720\uc6a9\ud55c \ub3c4\uad6c\uc785\ub2c8\ub2e4. \ub9c8\ucee4\uc640 \ud568\uaed8 \uc815\ubcf4\ucc3d\uc744 \ucd94\uac00\ud558\uc5ec \uc7a5\uc18c\uc5d0 \ub300\ud55c \uc124\uba85, \uc774\ubbf8\uc9c0 \ubc0f \ub9c1\ud06c\ub97c \ud45c\uc2dc\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>import React, { useState } from 'react';\nimport { GoogleMap, LoadScript, Marker, InfoWindow } from '@react-google-maps\/api';\n\nconst containerStyle = {\n  width: '800px',\n  height: '400px'\n};\n\nconst center = {\n  lat: -3.745,\n  lng: -38.523\n};\n\nconst markerPosition = {\n  lat: -3.745,\n  lng: -38.523\n};\n\nfunction MyMapComponent() {\n  const [selected, setSelected] = useState(null);\n\n  return (\n    <loadscript googlemapsapikey=\"YOUR_API_KEY\">\n      <googlemap center=\"{center}\" mapcontainerstyle=\"{containerStyle}\" zoom=\"{10}\">\n        <marker 'http:=\"\" 50)=\"\" ==\"\" custom-marker.png',=\"\" example.com=\"\" icon=\"{{\" new=\"\" onclick=\"{()\" position=\"{markerPosition}\" scaledsize:=\"\" url:=\"\" window.google.maps.size(50,=\"\" }}=\"\"> {\n            setSelected(markerPosition);\n          }}\n        \/&gt;\n\n        {selected ? (\n          <infowindow ==\"\" oncloseclick=\"{()\" position=\"{selected}\"> {\n              setSelected(null);\n            }}\n          &gt;\n            <div>\n              <h2>\uc7a5\uc18c \uc81c\ubaa9<\/h2>\n              <p>\uc5ec\uae30\uc5d0\ub294 \uc7a5\uc18c\uc5d0 \ub300\ud55c \uac04\ub2e8\ud55c \uc124\uba85\uc744 \ucd94\uac00\ud569\ub2c8\ub2e4.<\/p>\n              <img decoding=\"async\" '100%',=\"\" 'auto'=\"\" alt=\"\uc7a5\uc18c \uc774\ubbf8\uc9c0\" height:=\"\" src=\"http:\/\/example.com\/image.jpg\" style=\"{{\" width:=\"\" }}=\"\"\/>\n              <a href=\"http:\/\/example.com\" rel=\"noopener noreferrer\" target=\"_blank\">\uc790\uc138\ud55c \uc815\ubcf4 \ubcf4\uae30<\/a>\n            <\/div>\n          <\/infowindow>\n        ) : null}\n      <\/marker><\/googlemap>\n    <\/loadscript>\n  );\n}\n\nexport default MyMapComponent;<\/code><\/pre>\n<h2>6. \ub2e4\uc218\uc758 \ub9c8\ucee4 \ubc0f \uc815\ubcf4\ucc3d \ucd94\uac00\ud558\uae30<\/h2>\n<p>\uc774\uc81c \uc5ec\ub7ec \ub9c8\ucee4\uc640 \uc815\ubcf4\ucc3d\uc744 \ucd94\uac00\ud558\ub294 \ubc29\ubc95\uc744 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \uc7a5\uc18c \ubaa9\ub85d\uc744 \ubc30\uc5f4\ub85c \uc800\uc7a5\ud558\uace0 \ub9f5\uc5d0\uc11c \ub3d9\uc801\uc73c\ub85c \ub80c\ub354\ub9c1\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>import React, { useState } from 'react';\nimport { GoogleMap, LoadScript, Marker, InfoWindow } from '@react-google-maps\/api';\n\nconst containerStyle = {\n  width: '800px',\n  height: '400px'\n};\n\nconst center = {\n  lat: -3.745,\n  lng: -38.523\n};\n\nconst locations = [\n  {\n    id: 1,\n    title: \"\uc7a5\uc18c 1\",\n    position: { lat: -3.745, lng: -38.523 },\n    description: \"\uc7a5\uc18c 1 \uc124\uba85\",\n    imageUrl: \"http:\/\/example.com\/image1.jpg\",\n    link: \"http:\/\/example.com\/location1\"\n  },\n  {\n    id: 2,\n    title: \"\uc7a5\uc18c 2\",\n    position: { lat: -3.755, lng: -38.513 },\n    description: \"\uc7a5\uc18c 2 \uc124\uba85\",\n    imageUrl: \"http:\/\/example.com\/image2.jpg\",\n    link: \"http:\/\/example.com\/location2\"\n  },\n  \/\/ \ucd94\uac00 \uc7a5\uc18c\ub97c \uc5ec\uae30\uc5d0 \ub354\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4\n];\n\nfunction MyMapComponent() {\n  const [selected, setSelected] = useState(null);\n\n  return (\n    <loadscript googlemapsapikey=\"YOUR_API_KEY\">\n      <googlemap center=\"{center}\" mapcontainerstyle=\"{containerStyle}\" zoom=\"{10}\">\n        {locations.map(location =&gt; (\n          <marker 'http:=\"\" 50)=\"\" ==\"\" custom-marker.png',=\"\" example.com=\"\" icon=\"{{\" key=\"{location.id}\" new=\"\" onclick=\"{()\" position=\"{location.position}\" scaledsize:=\"\" url:=\"\" window.google.maps.size(50,=\"\" }}=\"\"> {\n              setSelected(location);\n            }}\n          \/&gt;\n        ))}\n\n        {selected ? (\n          <infowindow ==\"\" oncloseclick=\"{()\" position=\"{selected.position}\"> {\n              setSelected(null);\n            }}\n          &gt;\n            <div>\n              <h2>{selected.title}<\/h2>\n              <p>{selected.description}<\/p>\n              <img decoding=\"async\" '100%',=\"\" 'auto'=\"\" alt=\"\uc7a5\uc18c \uc774\ubbf8\uc9c0\" height:=\"\" src=\"{selected.imageUrl}\" style=\"{{\" width:=\"\" }}=\"\"\/>\n              <a href=\"{selected.link}\" rel=\"noopener noreferrer\" target=\"_blank\">\uc790\uc138\ud55c \uc815\ubcf4 \ubcf4\uae30<\/a>\n            <\/div>\n          <\/infowindow>\n        ) : null}\n      <\/marker><\/googlemap>\n    <\/loadscript>\n  );\n}\n\nexport default MyMapComponent;<\/code><\/pre>\n<h2>7. \uc2a4\ud0c0\uc77c \ubc0f \ucd5c\uc801\ud654<\/h2>\n<p>\uc0ac\uc6a9\uc790 \uacbd\ud5d8\uc744 \uc704\ud55c \uc2a4\ud0c0\uc77c\uc740 \ub9e4\uc6b0 \uc911\uc694\ud569\ub2c8\ub2e4. CSS\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub9c8\ucee4\uc640 \uc815\ubcf4\ucc3d\uc758 \ub514\uc790\uc778\uc744 \uac1c\uc120\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub610\ud55c, \ub9c8\ucee4\ub098 \uc815\ubcf4\ucc3d\uc744 \ub3d9\uc801\uc73c\ub85c \uc870\uc808\ud558\uc5ec \uc131\ub2a5\uc744 \ucd5c\uc801\ud654\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, Lazy loading \ub610\ub294 \ucf54\ub4dc \uc2a4\ud50c\ub9ac\ud305\uc744 \uace0\ub824\ud558\uc5ec \uc0ac\uc6a9\uc790\uc5d0\uac8c \ub354 \ub098\uc740 \uc131\ub2a5\uc744 \uc81c\uacf5\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>8. \uacb0\ub860<\/h2>\n<p>\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8\uc5d0\uc11c \uad6c\uae00 \ub9f5\uc744 \ud65c\uc6a9\ud558\uc5ec \ucee4\uc2a4\ud140 \ub9c8\ucee4 \ubc0f \uc815\ubcf4\ucc3d\uc744 \ub9cc\ub4dc\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \ubc30\uc6e0\uc2b5\ub2c8\ub2e4. \uc7a5\uc18c\uc5d0 \ub300\ud55c \uc815\ubcf4, \uc774\ubbf8\uc9c0 \ubc0f \ub9c1\ud06c\ub97c \ud3ec\ud568\ud558\ub294 \ubc29\ubc95\uc744 \uc18c\uac1c\ud588\uc73c\uba70, \ub2e4\uc218\uc758 \ub9c8\ucee4\ub97c \uad00\ub9ac\ud558\ub294 \ubc29\ubc95\ub3c4 \uc124\uba85\ud588\uc2b5\ub2c8\ub2e4. \uc774 \uae30\uc220\uc740 \ub2e4\uc591\ud55c \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0 \uc801\uc6a9\ud560 \uc218 \uc788\uc73c\uba70, \uc0ac\uc6a9\uc790\uc5d0\uac8c \ud48d\ubd80\ud55c \uacbd\ud5d8\uc744 \uc81c\uacf5\ud558\ub294 \ub370 \ud070 \ub3c4\uc6c0\uc774 \ub420 \uac83\uc785\ub2c8\ub2e4. \ub354 \ub098\uc544\uac00 \uc8fc\uc5b4\uc9c4 \ub370\uc774\ud130\ub97c \ubc14\ud0d5\uc73c\ub85c \ub2e4\uc591\ud55c \ub9c8\ucee4\uc640 \uc815\ubcf4\ucc3d\uc744 \uc790\uc720\ub86d\uac8c \uad6c\uc131\ud558\uc5ec \uc0ac\uc6a9\uc790\uc758 \ud544\uc694\uc5d0 \ub9de\ucd98 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc81c\uc791\ud574 \ubcf4\uc138\uc694.<\/p>\n<h2>9. \ucc38\uace0 \uc790\ub8cc<\/h2>\n<ul>\n<li><a href=\"https:\/\/react-google-maps-api-docs.netlify.app\/\">react-google-maps\/api \uacf5\uc2dd \ubb38\uc11c<\/a><\/li>\n<li><a href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/tutorial\">\uad6c\uae00 \ub9f5 API \uacf5\uc2dd \ubb38\uc11c<\/a><\/li>\n<li><a href=\"https:\/\/reactjs.org\/docs\/getting-started.html\">\ub9ac\uc561\ud2b8 \uacf5\uc2dd \ubb38\uc11c<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc0ac\uc6a9\uc790\uc5d0\uac8c \ub354 \ub9ce\uc740 \uc815\ubcf4\ub97c \uc81c\uacf5\ud558\uace0, \uacbd\ud5d8\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\uae30 \uc704\ud574 \ub9f5(Mapping) \uae30\ub2a5\uc740 \uc544\uc8fc \uc911\uc694\ud569\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8(React)\uc640 \uad6c\uae00 \ub9f5 API\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucee4\uc2a4\ud140 \ub9c8\ucee4 \ubc0f \uc815\ubcf4\ucc3d\uc744 \ub9cc\ub4e4\uace0, \ud574\ub2f9 \uc815\ubcf4\ucc3d\uc5d0 \uc7a5\uc18c \uc815\ubcf4, \uc774\ubbf8\uc9c0 \ubc0f \ub9c1\ud06c\ub97c \ucd94\uac00\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. \ud658\uacbd \uc138\ud305\ud558\uae30 \uc2dc\uc791\ud558\uae30 \uc804\uc5d0 \ud504\ub85c\uc81d\ud2b8 \ud658\uacbd\uc744 \uc124\uc815\ud574\uc57c \ud569\ub2c8\ub2e4. Create React App\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc0c8\ub85c\uc6b4 \ub9ac\uc561\ud2b8 \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4. npx &hellip; <a href=\"https:\/\/atmokpo.com\/w\/39099\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\ucee4\uc2a4\ud140 \ub9c8\ucee4 \ubc0f \uc815\ubcf4\ucc3d \ub9cc\ub4e4\uae30, \uc815\ubcf4\ucc3d\uc5d0 \uc7a5\uc18c \uc815\ubcf4 \ubc0f \uc774\ubbf8\uc9c0, \ub9c1\ud06c \ucd94\uac00\ud558\uae30&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[191],"tags":[],"class_list":["post-39099","post","type-post","status-publish","format-standard","hentry","category-react"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\ucee4\uc2a4\ud140 \ub9c8\ucee4 \ubc0f \uc815\ubcf4\ucc3d \ub9cc\ub4e4\uae30, \uc815\ubcf4\ucc3d\uc5d0 \uc7a5\uc18c \uc815\ubcf4 \ubc0f \uc774\ubbf8\uc9c0, \ub9c1\ud06c \ucd94\uac00\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/39099\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ucee4\uc2a4\ud140 \ub9c8\ucee4 \ubc0f \uc815\ubcf4\ucc3d \ub9cc\ub4e4\uae30, \uc815\ubcf4\ucc3d\uc5d0 \uc7a5\uc18c \uc815\ubcf4 \ubc0f \uc774\ubbf8\uc9c0, \ub9c1\ud06c \ucd94\uac00\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc0ac\uc6a9\uc790\uc5d0\uac8c \ub354 \ub9ce\uc740 \uc815\ubcf4\ub97c \uc81c\uacf5\ud558\uace0, \uacbd\ud5d8\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\uae30 \uc704\ud574 \ub9f5(Mapping) \uae30\ub2a5\uc740 \uc544\uc8fc \uc911\uc694\ud569\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8(React)\uc640 \uad6c\uae00 \ub9f5 API\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucee4\uc2a4\ud140 \ub9c8\ucee4 \ubc0f \uc815\ubcf4\ucc3d\uc744 \ub9cc\ub4e4\uace0, \ud574\ub2f9 \uc815\ubcf4\ucc3d\uc5d0 \uc7a5\uc18c \uc815\ubcf4, \uc774\ubbf8\uc9c0 \ubc0f \ub9c1\ud06c\ub97c \ucd94\uac00\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. \ud658\uacbd \uc138\ud305\ud558\uae30 \uc2dc\uc791\ud558\uae30 \uc804\uc5d0 \ud504\ub85c\uc81d\ud2b8 \ud658\uacbd\uc744 \uc124\uc815\ud574\uc57c \ud569\ub2c8\ub2e4. Create React App\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc0c8\ub85c\uc6b4 \ub9ac\uc561\ud2b8 \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4. npx &hellip; \ub354 \ubcf4\uae30 &quot;\ucee4\uc2a4\ud140 \ub9c8\ucee4 \ubc0f \uc815\ubcf4\ucc3d \ub9cc\ub4e4\uae30, \uc815\ubcf4\ucc3d\uc5d0 \uc7a5\uc18c \uc815\ubcf4 \ubc0f \uc774\ubbf8\uc9c0, \ub9c1\ud06c \ucd94\uac00\ud558\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/39099\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-02T02:36:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:42:26+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/example.com\/image.jpg\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/39099\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39099\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\ucee4\uc2a4\ud140 \ub9c8\ucee4 \ubc0f \uc815\ubcf4\ucc3d \ub9cc\ub4e4\uae30, \uc815\ubcf4\ucc3d\uc5d0 \uc7a5\uc18c \uc815\ubcf4 \ubc0f \uc774\ubbf8\uc9c0, \ub9c1\ud06c \ucd94\uac00\ud558\uae30\",\"datePublished\":\"2024-11-02T02:36:59+00:00\",\"dateModified\":\"2024-11-26T06:42:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39099\/\"},\"wordCount\":21,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39099\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/example.com\/image.jpg\",\"articleSection\":[\"React\ud504\ub860\ud2b8\uc5d4\ub4dc\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/39099\/\",\"url\":\"https:\/\/atmokpo.com\/w\/39099\/\",\"name\":\"\ucee4\uc2a4\ud140 \ub9c8\ucee4 \ubc0f \uc815\ubcf4\ucc3d \ub9cc\ub4e4\uae30, \uc815\ubcf4\ucc3d\uc5d0 \uc7a5\uc18c \uc815\ubcf4 \ubc0f \uc774\ubbf8\uc9c0, \ub9c1\ud06c \ucd94\uac00\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39099\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39099\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/example.com\/image.jpg\",\"datePublished\":\"2024-11-02T02:36:59+00:00\",\"dateModified\":\"2024-11-26T06:42:26+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39099\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/39099\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/39099\/#primaryimage\",\"url\":\"http:\/\/example.com\/image.jpg\",\"contentUrl\":\"http:\/\/example.com\/image.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/39099\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ucee4\uc2a4\ud140 \ub9c8\ucee4 \ubc0f \uc815\ubcf4\ucc3d \ub9cc\ub4e4\uae30, \uc815\ubcf4\ucc3d\uc5d0 \uc7a5\uc18c \uc815\ubcf4 \ubc0f \uc774\ubbf8\uc9c0, \ub9c1\ud06c \ucd94\uac00\ud558\uae30\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\ucee4\uc2a4\ud140 \ub9c8\ucee4 \ubc0f \uc815\ubcf4\ucc3d \ub9cc\ub4e4\uae30, \uc815\ubcf4\ucc3d\uc5d0 \uc7a5\uc18c \uc815\ubcf4 \ubc0f \uc774\ubbf8\uc9c0, \ub9c1\ud06c \ucd94\uac00\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/39099\/","og_locale":"ko_KR","og_type":"article","og_title":"\ucee4\uc2a4\ud140 \ub9c8\ucee4 \ubc0f \uc815\ubcf4\ucc3d \ub9cc\ub4e4\uae30, \uc815\ubcf4\ucc3d\uc5d0 \uc7a5\uc18c \uc815\ubcf4 \ubc0f \uc774\ubbf8\uc9c0, \ub9c1\ud06c \ucd94\uac00\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc0ac\uc6a9\uc790\uc5d0\uac8c \ub354 \ub9ce\uc740 \uc815\ubcf4\ub97c \uc81c\uacf5\ud558\uace0, \uacbd\ud5d8\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\uae30 \uc704\ud574 \ub9f5(Mapping) \uae30\ub2a5\uc740 \uc544\uc8fc \uc911\uc694\ud569\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8(React)\uc640 \uad6c\uae00 \ub9f5 API\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucee4\uc2a4\ud140 \ub9c8\ucee4 \ubc0f \uc815\ubcf4\ucc3d\uc744 \ub9cc\ub4e4\uace0, \ud574\ub2f9 \uc815\ubcf4\ucc3d\uc5d0 \uc7a5\uc18c \uc815\ubcf4, \uc774\ubbf8\uc9c0 \ubc0f \ub9c1\ud06c\ub97c \ucd94\uac00\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. \ud658\uacbd \uc138\ud305\ud558\uae30 \uc2dc\uc791\ud558\uae30 \uc804\uc5d0 \ud504\ub85c\uc81d\ud2b8 \ud658\uacbd\uc744 \uc124\uc815\ud574\uc57c \ud569\ub2c8\ub2e4. Create React App\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc0c8\ub85c\uc6b4 \ub9ac\uc561\ud2b8 \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4. npx &hellip; \ub354 \ubcf4\uae30 \"\ucee4\uc2a4\ud140 \ub9c8\ucee4 \ubc0f \uc815\ubcf4\ucc3d \ub9cc\ub4e4\uae30, \uc815\ubcf4\ucc3d\uc5d0 \uc7a5\uc18c \uc815\ubcf4 \ubc0f \uc774\ubbf8\uc9c0, \ub9c1\ud06c \ucd94\uac00\ud558\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/39099\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-02T02:36:59+00:00","article_modified_time":"2024-11-26T06:42:26+00:00","og_image":[{"url":"http:\/\/example.com\/image.jpg","type":"","width":"","height":""}],"author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/39099\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/39099\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\ucee4\uc2a4\ud140 \ub9c8\ucee4 \ubc0f \uc815\ubcf4\ucc3d \ub9cc\ub4e4\uae30, \uc815\ubcf4\ucc3d\uc5d0 \uc7a5\uc18c \uc815\ubcf4 \ubc0f \uc774\ubbf8\uc9c0, \ub9c1\ud06c \ucd94\uac00\ud558\uae30","datePublished":"2024-11-02T02:36:59+00:00","dateModified":"2024-11-26T06:42:26+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/39099\/"},"wordCount":21,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"image":{"@id":"https:\/\/atmokpo.com\/w\/39099\/#primaryimage"},"thumbnailUrl":"http:\/\/example.com\/image.jpg","articleSection":["React\ud504\ub860\ud2b8\uc5d4\ub4dc"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/39099\/","url":"https:\/\/atmokpo.com\/w\/39099\/","name":"\ucee4\uc2a4\ud140 \ub9c8\ucee4 \ubc0f \uc815\ubcf4\ucc3d \ub9cc\ub4e4\uae30, \uc815\ubcf4\ucc3d\uc5d0 \uc7a5\uc18c \uc815\ubcf4 \ubc0f \uc774\ubbf8\uc9c0, \ub9c1\ud06c \ucd94\uac00\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"primaryImageOfPage":{"@id":"https:\/\/atmokpo.com\/w\/39099\/#primaryimage"},"image":{"@id":"https:\/\/atmokpo.com\/w\/39099\/#primaryimage"},"thumbnailUrl":"http:\/\/example.com\/image.jpg","datePublished":"2024-11-02T02:36:59+00:00","dateModified":"2024-11-26T06:42:26+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/39099\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/39099\/"]}]},{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/39099\/#primaryimage","url":"http:\/\/example.com\/image.jpg","contentUrl":"http:\/\/example.com\/image.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/39099\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\ucee4\uc2a4\ud140 \ub9c8\ucee4 \ubc0f \uc815\ubcf4\ucc3d \ub9cc\ub4e4\uae30, \uc815\ubcf4\ucc3d\uc5d0 \uc7a5\uc18c \uc815\ubcf4 \ubc0f \uc774\ubbf8\uc9c0, \ub9c1\ud06c \ucd94\uac00\ud558\uae30"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/39099","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=39099"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/39099\/revisions"}],"predecessor-version":[{"id":39100,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/39099\/revisions\/39100"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=39099"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=39099"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=39099"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}