Spaces:
Running
Running
web fef05907404e
Browse files- .gitattributes +4 -0
- BUILD.json +1 -0
- README.md +3 -1
- _expo/static/js/web/entry-deb5718a943de1112e7d0b4b43e5fdb2.js +0 -0
- assets/assets/fonts/Pretendard-Bold.f8a9b84216af5155ffe0e8661203f36f.otf +3 -0
- assets/assets/fonts/Pretendard-ExtraBold.67e8e4773c05f2988c52dfe6ea337f33.otf +3 -0
- assets/assets/fonts/Pretendard-SemiBold.6fe301765c4f438e2034a0a47b609c61.otf +3 -0
- assets/assets/logo.07c08339de4e97b3c7cb5c3c5e471dd1.png +3 -0
- assets/assets/map-arrow-bus-dim.ed3f0351d5d5c759e61b274b9e43997f.png +0 -0
- assets/assets/map-arrow-bus.4d99323084692ac5c93ce2dfff21fea0.png +0 -0
- assets/assets/map-arrow-walk-dim.ae4b2371a18ca7cc3aab35acd4bff182.png +0 -0
- assets/assets/map-arrow-walk.7caeddfacd5eb4a1b0696bb590bdac05.png +0 -0
- assets/node_modules/@react-navigation/elements/lib/module/assets/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png +0 -0
- assets/node_modules/@react-navigation/elements/lib/module/assets/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png +0 -0
- assets/node_modules/@react-navigation/elements/lib/module/assets/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png +0 -0
- assets/node_modules/@react-navigation/elements/lib/module/assets/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png +0 -0
- assets/node_modules/@react-navigation/elements/lib/module/assets/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png +0 -0
- assets/node_modules/@react-navigation/elements/lib/module/assets/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png +0 -0
- assets/node_modules/@react-navigation/elements/lib/module/assets/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png +0 -0
- assets/node_modules/@react-navigation/elements/lib/module/assets/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png +0 -0
- assets/node_modules/@react-navigation/elements/lib/module/assets/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png +0 -0
- assets/node_modules/@react-navigation/elements/lib/module/assets/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png +0 -0
- assets/node_modules/@react-navigation/elements/lib/module/assets/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png +0 -0
- assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png +0 -0
- assets/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png +0 -0
- assets/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png +0 -0
- assets/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png +0 -0
- assets/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png +0 -0
- assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png +0 -0
- assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png +0 -0
- check.html +0 -32
- check2.html +0 -30
- index.html +37 -1
- map.html +0 -25
- map2.html +0 -25
- metadata.json +1 -0
- style.css +0 -28
.gitattributes
CHANGED
|
@@ -33,3 +33,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
assets/assets/fonts/Pretendard-Bold.f8a9b84216af5155ffe0e8661203f36f.otf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
assets/assets/fonts/Pretendard-ExtraBold.67e8e4773c05f2988c52dfe6ea337f33.otf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
assets/assets/fonts/Pretendard-SemiBold.6fe301765c4f438e2034a0a47b609c61.otf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
assets/assets/logo.07c08339de4e97b3c7cb5c3c5e471dd1.png filter=lfs diff=lfs merge=lfs -text
|
BUILD.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"sha": "5f5bb646", "builtAt": "2026-10-23T03:52:52+09:00", "expo": "54.0.27"}
|
README.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
| 1 |
---
|
| 2 |
-
title: 한걸음
|
| 3 |
emoji: 👣
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: green
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
---
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: 한걸음 나란히
|
| 3 |
emoji: 👣
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: green
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
+
|
| 10 |
+
한걸음 — 지원자 웹 「나란히」(보기 전용). 짓는 곳은 `scripts/deploy-web.py` 다.
|
_expo/static/js/web/entry-deb5718a943de1112e7d0b4b43e5fdb2.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/assets/fonts/Pretendard-Bold.f8a9b84216af5155ffe0e8661203f36f.otf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e91915fab54df71cc9598ebf608b2bdb54c6fe3c066ac61dff0bc44fca71cc7
|
| 3 |
+
size 1576660
|
assets/assets/fonts/Pretendard-ExtraBold.67e8e4773c05f2988c52dfe6ea337f33.otf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c35fe941b7568d52a96010561540e47f9d3948dfde66ba25bc1908233e0a40cd
|
| 3 |
+
size 1568512
|
assets/assets/fonts/Pretendard-SemiBold.6fe301765c4f438e2034a0a47b609c61.otf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c89bc43027dc7cde5726e96223376f8eec09302b2fc1f8147fd5b57cfc376118
|
| 3 |
+
size 1583704
|
assets/assets/logo.07c08339de4e97b3c7cb5c3c5e471dd1.png
ADDED
|
Git LFS Details
|
assets/assets/map-arrow-bus-dim.ed3f0351d5d5c759e61b274b9e43997f.png
ADDED
|
assets/assets/map-arrow-bus.4d99323084692ac5c93ce2dfff21fea0.png
ADDED
|
assets/assets/map-arrow-walk-dim.ae4b2371a18ca7cc3aab35acd4bff182.png
ADDED
|
assets/assets/map-arrow-walk.7caeddfacd5eb4a1b0696bb590bdac05.png
ADDED
|
assets/node_modules/@react-navigation/elements/lib/module/assets/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png
ADDED
|
|
assets/node_modules/@react-navigation/elements/lib/module/assets/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png
ADDED
|
|
assets/node_modules/@react-navigation/elements/lib/module/assets/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png
ADDED
|
|
assets/node_modules/@react-navigation/elements/lib/module/assets/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png
ADDED
|
|
assets/node_modules/@react-navigation/elements/lib/module/assets/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png
ADDED
|
|
assets/node_modules/@react-navigation/elements/lib/module/assets/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png
ADDED
|
|
assets/node_modules/@react-navigation/elements/lib/module/assets/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png
ADDED
|
|
assets/node_modules/@react-navigation/elements/lib/module/assets/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png
ADDED
|
|
assets/node_modules/@react-navigation/elements/lib/module/assets/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png
ADDED
|
|
assets/node_modules/@react-navigation/elements/lib/module/assets/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png
ADDED
|
|
assets/node_modules/@react-navigation/elements/lib/module/assets/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png
ADDED
|
|
assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png
ADDED
|
assets/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png
ADDED
|
assets/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png
ADDED
|
assets/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png
ADDED
|
assets/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png
ADDED
|
assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png
ADDED
|
assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png
ADDED
|
check.html
DELETED
|
@@ -1,32 +0,0 @@
|
|
| 1 |
-
<!doctype html>
|
| 2 |
-
<html lang="ko"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>연결 확인</title>
|
| 3 |
-
<style>body{font-family:sans-serif;margin:16px}#map{width:100%;height:320px;border:1px solid #ccc}</style></head>
|
| 4 |
-
<body>
|
| 5 |
-
<h3>네이버 지도</h3><div id="map"></div><p id="nv">불러오는 중…</p>
|
| 6 |
-
<h3>구글 로그인</h3><div id="g"></div><p id="gs">불러오는 중…</p>
|
| 7 |
-
<pre id="log"></pre>
|
| 8 |
-
<script>
|
| 9 |
-
(function(){var L=function(t){return function(){var a=[].slice.call(arguments).join(' ');var e=document.getElementById('log');if(e)e.textContent+=t+': '+a+'\n';};};console.error=L('E');console.warn=L('W');console.log=L('L');})();
|
| 10 |
-
setTimeout(function(){if(typeof naver!=='undefined'&&naver.maps&&window.__r.naver==='pending'&&!window.__called){window.__called=1;initNaver();}},5000);
|
| 11 |
-
setTimeout(function(){var e=document.getElementById('log');e.textContent+='naver='+(typeof naver)+' maps='+(typeof naver!=='undefined'&&typeof naver.maps)+' Map='+(typeof naver!=='undefined'&&naver.maps&&typeof naver.maps.Map)+'\n';},12000);
|
| 12 |
-
window.__r = {naver: 'pending', google: 'pending', errors: []};
|
| 13 |
-
window.addEventListener('error', function (e) { window.__r.errors.push(String(e.message)); });
|
| 14 |
-
window.navermap_authFailure = function () { window.__r.naver = 'authFailure'; document.getElementById('nv').textContent = '네이버 인증 실패'; };
|
| 15 |
-
function initNaver() {
|
| 16 |
-
window.__called=1;
|
| 17 |
-
try {
|
| 18 |
-
new naver.maps.Map('map', {center: new naver.maps.LatLng(37.5665, 126.978), zoom: 14});
|
| 19 |
-
setTimeout(function () { if (window.__r.naver === 'pending') { window.__r.naver = 'ok'; document.getElementById('nv').textContent = '네이버 지도 됨'; } }, 4000);
|
| 20 |
-
} catch (e) { window.__r.naver = 'error ' + e; }
|
| 21 |
-
}
|
| 22 |
-
function initGoogle() {
|
| 23 |
-
try {
|
| 24 |
-
google.accounts.id.initialize({client_id: '953544112562-is8okrmh6pevd4ggsfek3fjmasrec0rj.apps.googleusercontent.com', callback: function () {}});
|
| 25 |
-
google.accounts.id.renderButton(document.getElementById('g'), {theme: 'outline', size: 'large'});
|
| 26 |
-
setTimeout(function () { var f = document.querySelector('#g iframe'); window.__r.google = f ? 'button' : 'nobutton'; document.getElementById('gs').textContent = window.__r.google; }, 4000);
|
| 27 |
-
} catch (e) { window.__r.google = 'error ' + e; }
|
| 28 |
-
}
|
| 29 |
-
</script>
|
| 30 |
-
<script src="https://oapi.map.naver.com/openapi/v3/maps.js?ncpKeyId=dt51v42hgx&callback=initNaver" async onload="document.getElementById('nv').textContent+=' [스크립트 받음]'" onerror="document.getElementById('nv').textContent='스크립트 못 받음'"></script>
|
| 31 |
-
<script src="https://accounts.google.com/gsi/client" onload="initGoogle()" async></script>
|
| 32 |
-
</body></html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
check2.html
DELETED
|
@@ -1,30 +0,0 @@
|
|
| 1 |
-
<!doctype html>
|
| 2 |
-
<html lang="ko"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>연결 확인</title>
|
| 3 |
-
<style>body{font-family:sans-serif;margin:16px}#map{width:100%;height:320px;border:1px solid #ccc}</style></head>
|
| 4 |
-
<body>
|
| 5 |
-
<h3>네이버 지도</h3><div id="map"></div><p id="nv">불러오는 중…</p>
|
| 6 |
-
<h3>구글 로그인</h3><div id="g"></div><p id="gs">불러오는 중…</p>
|
| 7 |
-
<pre id="log"></pre>
|
| 8 |
-
<script>
|
| 9 |
-
(function(){var L=function(t){return function(){var a=[].slice.call(arguments).join(' ');var e=document.getElementById('log');if(e)e.textContent+=t+': '+a+'\n';};};console.error=L('E');console.warn=L('W');console.log=L('L');})();
|
| 10 |
-
setTimeout(function(){var e=document.getElementById('log');e.textContent+='naver='+(typeof naver)+' maps='+(typeof naver!=='undefined'&&typeof naver.maps)+' Map='+(typeof naver!=='undefined'&&naver.maps&&typeof naver.maps.Map)+'\n';},12000);
|
| 11 |
-
window.__r = {naver: 'pending', google: 'pending', errors: []};
|
| 12 |
-
window.addEventListener('error', function (e) { window.__r.errors.push(String(e.message)); });
|
| 13 |
-
window.navermap_authFailure = function () { window.__r.naver = 'authFailure'; document.getElementById('nv').textContent = '네이버 인증 실패'; };
|
| 14 |
-
function initNaver() {
|
| 15 |
-
try {
|
| 16 |
-
new naver.maps.Map('map', {center: new naver.maps.LatLng(37.5665, 126.978), zoom: 14});
|
| 17 |
-
setTimeout(function () { if (window.__r.naver === 'pending') { window.__r.naver = 'ok'; document.getElementById('nv').textContent = '네이버 지도 됨'; } }, 4000);
|
| 18 |
-
} catch (e) { window.__r.naver = 'error ' + e; }
|
| 19 |
-
}
|
| 20 |
-
function initGoogle() {
|
| 21 |
-
try {
|
| 22 |
-
google.accounts.id.initialize({client_id: '953544112562-is8okrmh6pevd4ggsfek3fjmasrec0rj.apps.googleusercontent.com', callback: function () {}});
|
| 23 |
-
google.accounts.id.renderButton(document.getElementById('g'), {theme: 'outline', size: 'large'});
|
| 24 |
-
setTimeout(function () { var f = document.querySelector('#g iframe'); window.__r.google = f ? 'button' : 'nobutton'; document.getElementById('gs').textContent = window.__r.google; }, 4000);
|
| 25 |
-
} catch (e) { window.__r.google = 'error ' + e; }
|
| 26 |
-
}
|
| 27 |
-
</script>
|
| 28 |
-
<script src="https://oapi.map.naver.com/openapi/v3/maps.js?ncpClientId=dt51v42hgx&callback=initNaver" async onload="document.getElementById('nv').textContent+=' [스크립트 받음]'" onerror="document.getElementById('nv').textContent='스크립트 못 받음'"></script>
|
| 29 |
-
<script src="https://accounts.google.com/gsi/client" onload="initGoogle()" async></script>
|
| 30 |
-
</body></html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
index.html
CHANGED
|
@@ -1 +1,37 @@
|
|
| 1 |
-
<!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="utf-8" />
|
| 5 |
+
<meta httpEquiv="X-UA-Compatible" content="IE=edge" />
|
| 6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
| 7 |
+
<title>한걸음</title>
|
| 8 |
+
<!-- The `react-native-web` recommended style reset: https://necolas.github.io/react-native-web/docs/setup/#root-element -->
|
| 9 |
+
<style id="expo-reset">
|
| 10 |
+
/* These styles make the body full-height */
|
| 11 |
+
html,
|
| 12 |
+
body {
|
| 13 |
+
height: 100%;
|
| 14 |
+
}
|
| 15 |
+
/* These styles disable body scrolling if you are using <ScrollView> */
|
| 16 |
+
body {
|
| 17 |
+
overflow: hidden;
|
| 18 |
+
}
|
| 19 |
+
/* These styles make the root element full-height */
|
| 20 |
+
#root {
|
| 21 |
+
display: flex;
|
| 22 |
+
height: 100%;
|
| 23 |
+
flex: 1;
|
| 24 |
+
}
|
| 25 |
+
</style>
|
| 26 |
+
</head>
|
| 27 |
+
|
| 28 |
+
<body>
|
| 29 |
+
<!-- Use static rendering with Expo Router to support running without JavaScript. -->
|
| 30 |
+
<noscript>
|
| 31 |
+
You need to enable JavaScript to run this app.
|
| 32 |
+
</noscript>
|
| 33 |
+
<!-- The root element for your Expo app. -->
|
| 34 |
+
<div id="root"></div>
|
| 35 |
+
<script src="/_expo/static/js/web/entry-deb5718a943de1112e7d0b4b43e5fdb2.js" defer></script>
|
| 36 |
+
</body>
|
| 37 |
+
</html>
|
map.html
DELETED
|
@@ -1,25 +0,0 @@
|
|
| 1 |
-
<!doctype html>
|
| 2 |
-
<html lang="ko"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>지도 확인</title>
|
| 3 |
-
<style>body{font-family:sans-serif;margin:16px}.m{width:100%;height:260px;border:1px solid #ccc;margin-bottom:6px}</style></head>
|
| 4 |
-
<body>
|
| 5 |
-
<h3>네이버 지도 — 열쇠 이름 ncpKeyId</h3><div id="a" class="m"></div><p id="as">불러오는 중…</p>
|
| 6 |
-
<h3>네이버 지도 — 열쇠 이름 ncpClientId</h3><div id="b" class="m"></div><p id="bs">불러오는 중…</p>
|
| 7 |
-
<script>
|
| 8 |
-
window.navermap_authFailure = function () { document.getElementById('as').textContent += ' · 인증 실패(authFailure)'; document.getElementById('bs').textContent += ' · 인증 실패(authFailure)'; };
|
| 9 |
-
function draw(id, sid) {
|
| 10 |
-
var s = document.getElementById(sid);
|
| 11 |
-
try {
|
| 12 |
-
new naver.maps.Map(id, {center: new naver.maps.LatLng(37.5665, 126.978), zoom: 15});
|
| 13 |
-
s.textContent = '지도 만듦 — 지도가 보이면 됨';
|
| 14 |
-
} catch (e) { s.textContent = '오류: ' + e; }
|
| 15 |
-
}
|
| 16 |
-
function load(param, id, sid) {
|
| 17 |
-
var sc = document.createElement('script');
|
| 18 |
-
sc.src = 'https://oapi.map.naver.com/openapi/v3/maps.js?' + param + '=dt51v42hgx';
|
| 19 |
-
sc.onload = function () { draw(id, sid); };
|
| 20 |
-
sc.onerror = function () { document.getElementById(sid).textContent = '스크립트 못 받음'; };
|
| 21 |
-
document.body.appendChild(sc);
|
| 22 |
-
}
|
| 23 |
-
load('ncpKeyId', 'a', 'as');
|
| 24 |
-
</script>
|
| 25 |
-
</body></html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
map2.html
DELETED
|
@@ -1,25 +0,0 @@
|
|
| 1 |
-
<!doctype html>
|
| 2 |
-
<html lang="ko"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>지도 확인</title>
|
| 3 |
-
<style>body{font-family:sans-serif;margin:16px}.m{width:100%;height:260px;border:1px solid #ccc;margin-bottom:6px}</style></head>
|
| 4 |
-
<body>
|
| 5 |
-
<h3>네이버 지도 — 열쇠 이름 ncpKeyId</h3><div id="a" class="m"></div><p id="as">불러오는 중…</p>
|
| 6 |
-
<h3>네이버 지도 — 열쇠 이름 ncpClientId</h3><div id="b" class="m"></div><p id="bs">불러오는 중…</p>
|
| 7 |
-
<script>
|
| 8 |
-
window.navermap_authFailure = function () { document.getElementById('as').textContent += ' · 인증 실패(authFailure)'; document.getElementById('bs').textContent += ' · 인증 실패(authFailure)'; };
|
| 9 |
-
function draw(id, sid) {
|
| 10 |
-
var s = document.getElementById(sid);
|
| 11 |
-
try {
|
| 12 |
-
new naver.maps.Map(id, {center: new naver.maps.LatLng(37.5665, 126.978), zoom: 15});
|
| 13 |
-
s.textContent = '지도 만듦 — 지도가 보이면 됨';
|
| 14 |
-
} catch (e) { s.textContent = '오류: ' + e; }
|
| 15 |
-
}
|
| 16 |
-
function load(param, id, sid) {
|
| 17 |
-
var sc = document.createElement('script');
|
| 18 |
-
sc.src = 'https://oapi.map.naver.com/openapi/v3/maps.js?' + param + '=dt51v42hgx';
|
| 19 |
-
sc.onload = function () { draw(id, sid); };
|
| 20 |
-
sc.onerror = function () { document.getElementById(sid).textContent = '스크립트 못 받음'; };
|
| 21 |
-
document.body.appendChild(sc);
|
| 22 |
-
}
|
| 23 |
-
load('ncpClientId', 'b', 'bs');
|
| 24 |
-
</script>
|
| 25 |
-
</body></html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
metadata.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":0,"bundler":"metro","fileMetadata":{}}
|
style.css
DELETED
|
@@ -1,28 +0,0 @@
|
|
| 1 |
-
body {
|
| 2 |
-
padding: 2rem;
|
| 3 |
-
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
|
| 4 |
-
}
|
| 5 |
-
|
| 6 |
-
h1 {
|
| 7 |
-
font-size: 16px;
|
| 8 |
-
margin-top: 0;
|
| 9 |
-
}
|
| 10 |
-
|
| 11 |
-
p {
|
| 12 |
-
color: rgb(107, 114, 128);
|
| 13 |
-
font-size: 15px;
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
-
}
|
| 17 |
-
|
| 18 |
-
.card {
|
| 19 |
-
max-width: 620px;
|
| 20 |
-
margin: 0 auto;
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
-
}
|
| 25 |
-
|
| 26 |
-
.card p:last-child {
|
| 27 |
-
margin-bottom: 0;
|
| 28 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|