Closed hanjool closed 4 years ago
해당 내용으로 확인중에 해결하여 이와같은 문제 있으신 분들이 있을거 같아 링크 남깁니다.
@okchangwon could you give a short code example of how we are supposed to add a marker to the map?
I succeeded to access Kakao' API but I have the error Vue warn]: Error in callback for watcher "map": "TypeError: this.P is not a function"
with the following code:
data: () => ({
map: null
}),
methods: {
mapLoaded(map) {
this.map = map;
window.kakao.maps.Marker({
map: this.map,
position: window.kakao.maps.LatLng(37.486979, 127.104046)
});
}
}
I am not really fluent in Korean (but have to work with Kakao Map) so I might have missed something.
방법을 모르겠네요 ..
답변에 미리 감사 드립니다.