2016-08-02 2 views
2

하이 맵에서 사용자 정의 맵을 사용하고 있습니다. 내지도가 잘 렌더링되고 포인트를 데이터에 바인딩하려고하면 작동합니다. 내 문제는 포인트 속성을 읽거나 이벤트를 임의의 지점에 첨부 할 수 없다는 것입니다. 콘솔의 오류는 this.point.properties가 정의되지 않았 음을 의미합니다. https://jsfiddle.net/mwendakith/0tyfph44/this.point.properties undefined highmaps

plotOptions: { 
      map: { 
      allAreas: false, 
      dataLabels: { 
       enabled : true, 
       formatter: function(){ 
       if(this.point.properties){ 
        return this.point.properties['name']; 
       } 
       } 
      }, 
      }, 
     }, 

답변