JSFiddle - React, Tailwind, and code Playground

by cs09g

HTML

<meta charset="UTF-8">
<title> 마커 생성 </title>
<script type="text/javascript" src="http://api.map.inavi.com/Map/GetApi?key=e36391053096240fa6b2c3edcb671c5d63c81a8a"></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
    },
    title: "마커",
    stopEvent: false
});