`<script>
var geocoder = new kakao.maps.services.Geocoder();
geocoder.addressSearch('ADDRESS', function(result, status){
resultLocationLat = result[0].y;
resultLocationLng = result[0].x;
var MapContainer = document.getElementById('drawingMap'),
Map = {
center: new kakao.maps.LatLng(resultLocationLat, resultLocationLng),
level: 3
};
var Map = new kakao.maps.Map(MapContainer, Map);
var options = {
map: Map,
drawingMode: [
kakao.maps.drawing.OverlayType.POLYGON
],
guideTooltip: [
'draw',
'drag',
'edit'
],
markerOptions: {
draggable: true,
removable: true
},
polygonOptions: {
draggable: true,
removable: true,
editable: true,
strokeColor: '#39f',
fillColor: '#39f',
fillOpacity: 0.5,
hintStrokeStyle: 'dash',
hintStrokeOpacity: 0.5
}
};
var manager = new kakao.maps.drawing.DrawingManager(options);
function selectOverlay(type) {
manager.cancel();
manager.select(kakao.maps.drawing.OverlayType[type]);
};
$('.polygon').click(function(){
selectOverlay('POLYGON');
});
$('.savePolygonData').click(function(){
$('.PolygonDataSet').val(JSON.stringify(manager.getData()["polygon"]["0"]["points"]));
});
});
`
해당 코드로 지도에 다각형을 그리는 기능을 구현했을때, 모바일 환경에서는 다각형 그리기가 작동하지않습니다 대체 기능이 있을까요?