Object - OL Map Layer Toggle
어제 못한 것들
카카오 첫위치 고치기
네이버도 이벤트 없에고
왜 카카오 생겨야 작동하지?
마커 개수 즉시변영 안되는 오류
어색하게 드래그 이후에 움직이는 부분
카카오 zoom 조금 다른거 extent 로 ? 개귀찬... (8181예상인데 ol3는 지원안함)
첫위치는 그냥 settimeout 처리 왜인진 모르지만 zoom 이 달라서... (epsg5181 때문인듯)

카카오에서 api 주길래 받아봤는데 5181은 감이 안잡힌다 내부적으론 콩나물이라는데..
Kakao 지도 API
Kakao 지도 API를 이용해보세요. 다양한 샘플과 상세한 매뉴얼로 개발자분들의 시간을 아껴드리겠습니다!
http://apis.map.kakao.com/web/sample/transCoord/

일단 작동하니까! 줌 차이는 나중에 하기로 하고
OpenLayers v6.1.1 API - Class: MapBrowserEvent
https://openlayers.org/en/latest/apidoc/module-ol_MapBrowserEvent-MapBrowserEvent.html#dragging

드디어 찾은 pointerdrag!! - mapbrowser event 에 있다
ol은 문서가 버전이 많아서 그런가 너무 개판이다... 찾기가 너무 힘들어
이제 마커 추가
일단
makePvr 부르는 곳에 전부 makeOlPvr 추가대충 요래 만드는데
Icon Colors
Example assigning a custom color to an icon. The features in this examples are all using the same image with the different colors coming from the javascript file. Note that icon files need to obey the same origin policy or send proper CORS headers for this to work.
https://openlayers.org/en/latest/examples/icon-color.html?q=marker

- 이거 도움 됐다
근데 안나옴!!
레이어 추가를 대충해서 그런가봄
Multiple ways to add layers in OpenLayers
Let's review them. We encourage you to play in your favorite code editor with them using the official TopoJSON example as it's a simple example with at least two layers available (you could add more of them on your own) 1. At `ol.Map` instantiation 2.
https://medium.com/@ThomasG77/multiple-ways-to-add-layers-in-openlayers-2c9569beb948

이래도 안댐 ㅎ 지도만들때 하나 나오는지 확인해보자
ㅋㅋ 별건 아니고
pvr.Lon 이 아니라 pvr.Lng였다..
Seonglae Cho