JSFiddle - React, Tailwind, and code Playground

by cs09g

HTML

<meta charset="UTF-8">
<title> 마커 생성 </title>
<script type="text/javascript" src="http://133.186.139.183/maps/js/v2.0/map.js"></script>
<script>
	// 지도 사용을 위한 인증을 진행 합니다.
	Map.authentification("aQHUUEF1CxR9ytxu");
</script>
<div id="map"></div>

CSS

#map {
    width: 100%;
    height: 500px;
}

JavaScript

var map = new thinkware.maps.Map("map", {
    center: {
        twX: 169030, 
        twY: 517922
    },
    level: 10,
    type: "i",
    callback: success = function() {
        console.log("success");
    },
});
var marker = new thinkware.maps.Marker({
    map: map,
    position: {
        twX: 169030, 
        twY: 517922
    },
    stopEvent: false
});
marker.setAnimation("jump");