JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://app.essoduke.org/js/tinyMap/jquery.tinyMap-3.2.5.min.js"></script>
<div id="map" class="map"></div>

CSS

.map{width:250px;height:250px}

JavaScript

$('#map').tinyMap({
    'center': ['25.034516521123315','121.56496524810791'],
    'zoom'  : 14,
    'marker': [
        {
            'addr': ['25.034516521123315','121.56496524810791'],
            'event': {
                // created 事件於標記建立成功時執行。
                'created': function () {
                    console.info('Marker create finished:');
                    console.log(this);
                },
                // Click 事件
                'click' : function (e) {
                    alert('緯度: ' + e.latLng.lat() + ', 經度: ' + e.latLng.lng());
                },
                // Mouseover 事件
                'mouseover': {
                    'func': function (e) {
                        alert('我只能執行一次');
                    },
                    'once': true // 僅執行一次
                }
            }
        }
    ]
});