import { icon } from "@src/constants" ; const Marker = ( map , pos , name , postId ) => { const markerIcon = `
    <img src=${ icon . podo } alt="marker">` ; return { position : pos . destinationPoint ( 90 , 15 ) , map : map , icon : { content : markerIcon , } , size : new naver . maps . Size ( 22 , 22 ) , origin : new naver . maps . Point ( 0 , 0 ) , draggable : false , title : name , postId : postId , } ; } ; export default Marker ;