본문 바로가기

개발자공부/Openlayers

[openlayers]오픈레이어스 circle , style circle 차이 [openlayers]오픈레이어스 circle , style circle 차이점 style circle의 경우 확대하나 축소하나 동일 circle 의 경우 확대 축소시 radius 값에 따라서 길이가 변경됨 더보기
[openlayers]오픈레이어스 두 점사이 거리 계산, 해당 반경지점 만큼 원 그리기 var wgs84Sphere= new ol.Sphere(6378137); //http://openlayers.org/en/latest/apidoc/ol.Sphere.html 참고 var distance = wgs84Sphere.haversineDistance(ol.proj.transform(coor1, "EPSG:900913",'EPSG:4326'),ol.proj.transform(coor2, "EPSG:900913",'EPSG:4326')) new ol.Sphere(6378137);WGS84 의 Sphere 객체 생성인것 같다...해당 좌표계를 EPSG:4326 형태로 변경해서 계산해야지 거리 계산이 제대로 나오는것 같다. 127.21427295387993,36.824764450213365 과 127... 더보기
[openlayers] 오픈레이어스 여집합,반전 폴리곤 구현하기 https://cdn.rawgit.com/bjornharrtell/jsts/gh-pages/1.4.0/jsts.min.js를이용워낙 오래되서 까먹음... parser = new jsts.io.OL3Parser(); // jsts buffer 및 union 을 사용하게 해주는 객체 더보기
오픈레이어스 클릭 이벤트, 오버레이, 인터렉션 스타일변경 http://jsbin.com/wacevaxuve/edit?html,output 더보기
브이월드 검색 , NS센터 API 법정동 샘플 http://jsbin.com/riyuguheku/edit?html,output 사용 API 브이월드 지도서비스 API 브이월드 검색 API NS 센터 법정동 검색 API http://openapi.nsdi.go.kr/nsdi/eios/OpenapiList.do 나중에 같이 활용해봐야지 목표는 건물정보도 다 가지고와서 클릭시 정보를 보여주기 더보기
브이월드 검색 API , 오픈레이어스 클러스터기능 활용하기 Create mask on shift-drag poi address 검색 http://jsbin.com/zoliyizuxa/edit?html,output 풀 소스 참고자료 http://dev.vworld.kr/dev/v4dv_search2_s001.do 브이월드 API 검색http://openlayers.org/en/latest/examples/cluster.html?q=cluster openlayers-cluster gis 3달째 전화받느라 공부도 못하고 아는것도 없다. 알려줄사람도없고 정리를 안하니 1도 모르겠다. 하나하나씩 살을 붙여나가야지 더보기