Browse Source

corona update

tobby48 5 years ago
parent
commit
3c162a95ee

+ 1
- 1
src/main/python/kr/co/swh/lecture/opensource/project/colona/templates/1-map.html View File

@@ -2,7 +2,7 @@
2 2
 <head>
3 3
     <meta charset="UTF-8">
4 4
     <title>간단한 지도 표시하기</title>
5
-    <script type="text/javascript" src="https://openapi.map.naver.com/openapi/v3/maps.js?ncpClientId=o88z15l7bh"></script>
5
+    <script type="text/javascript" src="https://openapi.map.naver.com/openapi/v3/maps.js?ncpClientId=6msw8dshkf"></script>
6 6
 </head>
7 7
 <body>
8 8
 <div id="map" style="width:100%;height:400px;"></div>

+ 1
- 1
src/main/python/kr/co/swh/lecture/opensource/project/colona/templates/2-one-marker.html View File

@@ -2,7 +2,7 @@
2 2
 <head>
3 3
     <meta charset="UTF-8">
4 4
     <title>간단한 지도 표시하기</title>
5
-    <script type="text/javascript" src="https://openapi.map.naver.com/openapi/v3/maps.js?ncpClientId=o88z15l7bh"></script>
5
+    <script type="text/javascript" src="https://openapi.map.naver.com/openapi/v3/maps.js?ncpClientId=6msw8dshkf"></script>
6 6
 </head>
7 7
 <body>
8 8
 <div id="map" style="width:100%;height:400px;"></div>

+ 1
- 1
src/main/python/kr/co/swh/lecture/opensource/project/colona/templates/3-one-label.html View File

@@ -2,7 +2,7 @@
2 2
 <head>
3 3
     <meta charset="UTF-8">
4 4
     <title>간단한 지도 표시하기</title>
5
-    <script type="text/javascript" src="https://openapi.map.naver.com/openapi/v3/maps.js?ncpClientId=o88z15l7bh"></script>
5
+    <script type="text/javascript" src="https://openapi.map.naver.com/openapi/v3/maps.js?ncpClientId=6msw8dshkf"></script>
6 6
 </head>
7 7
 <body>
8 8
 <div id="map" style="width:100%;height:400px;"></div>

+ 1
- 1
src/main/python/kr/co/swh/lecture/opensource/project/colona/templates/4-clicked-one-label.html View File

@@ -2,7 +2,7 @@
2 2
 <head>
3 3
     <meta charset="UTF-8">
4 4
     <title>간단한 지도 표시하기</title>
5
-    <script type="text/javascript" src="https://openapi.map.naver.com/openapi/v3/maps.js?ncpClientId=o88z15l7bh"></script>
5
+    <script type="text/javascript" src="https://openapi.map.naver.com/openapi/v3/maps.js?ncpClientId=6msw8dshkf"></script>
6 6
 </head>
7 7
 <body>
8 8
 <div id="map" style="width:100%;height:400px;"></div>

+ 1
- 1
src/main/python/kr/co/swh/lecture/opensource/project/colona/templates/5-two-marker.html View File

@@ -2,7 +2,7 @@
2 2
 <head>
3 3
     <meta charset="UTF-8">
4 4
     <title>간단한 지도 표시하기</title>
5
-    <script type="text/javascript" src="https://openapi.map.naver.com/openapi/v3/maps.js?ncpClientId=o88z15l7bh"></script>
5
+    <script type="text/javascript" src="https://openapi.map.naver.com/openapi/v3/maps.js?ncpClientId=6msw8dshkf"></script>
6 6
 </head>
7 7
 <body>
8 8
 <div id="map" style="width:100%;height:400px;"></div>

+ 1
- 1
src/main/python/kr/co/swh/lecture/opensource/project/colona/templates/6-two-label.html View File

@@ -2,7 +2,7 @@
2 2
 <head>
3 3
     <meta charset="UTF-8">
4 4
     <title>간단한 지도 표시하기</title>
5
-    <script type="text/javascript" src="https://openapi.map.naver.com/openapi/v3/maps.js?ncpClientId=o88z15l7bh"></script>
5
+    <script type="text/javascript" src="https://openapi.map.naver.com/openapi/v3/maps.js?ncpClientId=6msw8dshkf"></script>
6 6
 </head>
7 7
 <body>
8 8
 <div id="map" style="width:100%;height:700px;"></div>

+ 19
- 0
src/main/resources/freemarker/map.ftl View File

@@ -0,0 +1,19 @@
1
+<html>
2
+<head>
3
+    <meta charset="UTF-8">
4
+    <title>간단한 지도 표시하기</title>
5
+    <script type="text/javascript" src="https://openapi.map.naver.com/openapi/v3/maps.js?ncpClientId=6msw8dshkf"></script>
6
+</head>
7
+<body>
8
+<div id="map" style="width:100%;height:400px;"></div>
9
+
10
+<script>
11
+var mapOptions = {
12
+    center: new naver.maps.LatLng(37.3595704, 127.105399),
13
+    zoom: 10
14
+};
15
+
16
+var map = new naver.maps.Map('map', mapOptions);
17
+</script>
18
+</body>
19
+</html>