{"id":26833677,"url":"https://github.com/mr-won/flutter_naver_map","last_synced_at":"2025-03-30T15:29:39.506Z","repository":{"id":138422887,"uuid":"589147533","full_name":"mr-won/Flutter_Naver_Map","owner":"mr-won","description":"플러터 네이버 맵 라이브러리의 사용","archived":false,"fork":false,"pushed_at":"2023-01-15T09:45:36.000Z","size":297,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T02:27:08.114Z","etag":null,"topics":["flutter","flutter-map","map-api","naver-map-api"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mr-won.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-01-15T08:10:36.000Z","updated_at":"2025-01-18T06:12:26.000Z","dependencies_parsed_at":"2023-05-18T23:15:49.549Z","dependency_job_id":null,"html_url":"https://github.com/mr-won/Flutter_Naver_Map","commit_stats":null,"previous_names":["wonttan/flutter_naver_map","wonchihyeon/flutter_naver_map","chihyunwon/flutter_naver_map","mr-won/flutter_naver_map","chihyeonwon/flutter_naver_map"],"tags_count":null,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-won%2FFlutter_Naver_Map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-won%2FFlutter_Naver_Map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-won%2FFlutter_Naver_Map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-won%2FFlutter_Naver_Map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mr-won","download_url":"https://codeload.github.com/mr-won/Flutter_Naver_Map/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246338213,"owners_count":20761340,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flutter","flutter-map","map-api","naver-map-api"],"created_at":"2025-03-30T15:29:38.961Z","updated_at":"2025-03-30T15:29:39.489Z","avatar_url":"https://github.com/mr-won.png","language":"C++","readme":"# map\n```\nflutter_naver_map 라이브러리의 사용법을 정리해보았습니다.\n향후 프로젝트에서 네이버 맵에서 제공하는 주변 개방 화장실 찾기, 맛집 찾기 등\n위치 기반 앱 프로젝트를 생성할 때 도움이 되는 라이브러리입니다.\n```\n\n### flutter_naver_map library 설치\n```\npub.dev 에서 제공하는 flutter_naver_map 라이브러리르 설치합니다.\n터미널에서 flutter pub add fltter_naver_map 명령어를 치고 패키지를 import합니다.\n다른 개발문서의 라이브러리는 영어로 작성되어 있는 것이 일반적인 데 특이하게 한글로 되어있어\n쉽게 개발할 수 있었습니다.\n```\n\n### 위치 기반 앱 권한 얻기\n```\n위치 기반 역시 개인정보에 민감한 정보로 개개인의 동의를 얻어야만 위치 정보에 접근할 수 있습니다.\n따라서 접근과 관련된 권한을 설정해줍니다.\n\n\u003cmanifest\u003e\n    \u003c!-- 네이버 맵에서 현 위치 탐색 기능을 사용할 때만, 해당 권한 2개를 선언합니다 --\u003e\n    \u003cuses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/\u003e\n    \u003cuses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/\u003e\n\n    \u003capplication\u003e\n        \u003cactivity\u003e \u003c!-- something --\u003e \u003c/activity\u003e\n        \n        \u003c!-- 플러터 자동 생성. 지우시면 안 됩니다. --\u003e\n        \u003cmeta-data\n            android:name=\"flutterEmbedding\"\n            android:value=\"2\"/\u003e\n                \n        \u003c!-- 네이버 맵 SDK의 Client ID를 넣는 곳입니다. 필수로 넣어야, 지도가 동작합니다. --\u003e        \n        \u003cmeta-data\n            android:name=\"com.naver.maps.map.CLIENT_ID\"\n            android:value=\"여기에 Map Sdk의 Client ID를 넣습니다\" /\u003e\n    \u003c/application\u003e\n\u003c/manifest\u003e\n\n여기서 Map Sdk의 Client ID를 얻는 방법을 알아보겠습니다.\n```\n\n### 네이버 클라우드 플랫폼에서 네이버 맵 API 얻기\n```\nhttps://www.ncloud.com/product/applicationService/maps에 접속해서 Maps 개발하고자 하는\n분야를 모두 체크한뒤 안드로이드 앱의 패키지 이름을 입력하여 추가해주면 됩니다.\n```\n![image](https://user-images.githubusercontent.com/58906858/212531542-34751677-5231-4e04-a089-3ab0e6825080.png)\n\n### 네이버 맵 API 클라이언트 ID 얻기\n```\n패키지 이름을 입력하고 Application을 등록하면 인증정보 버튼을 눌러서 클라이언트 ID를 얻을 수 있습니다.\n이 클라이언트 ID는 보안상으로 중요한 역할을 하기 때문에 타인에게 노출되지 않도록 조심해야 합니다.\n```\n![image](https://user-images.githubusercontent.com/58906858/212531661-c593c7fc-aa3d-4304-95a1-f0891152bbba.png)\n\n### 네이버 map 앱 실행하기\n```\n앱을 실행하면 다음과 같이 위치 정보 접근 권한을 요청합니다.\n앱 사용중만 허용을 누르면 네이버 앱이 나옵니다. 하지만 실질적인 처음 위치 정보를 주지 않았기에\n맵에는 반영되지 않았습니다. 다음 프로젝트에서 앱 위치 정보를 주고 활용해보겠습니다.\n```\n![image](https://user-images.githubusercontent.com/58906858/212533901-1e45839b-dd42-488a-bfc3-3a191ba30325.png)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-won%2Fflutter_naver_map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmr-won%2Fflutter_naver_map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-won%2Fflutter_naver_map/lists"}