티스토리 뷰
var map = gisMap.mainMap;
this.modify = new ol.interaction.Modify({
features: this.select.getFeatures()
});
map.addInteraction(this.modify);
this.modify.on('modifyend',function(e){
console.log("addModifyInteraction.modifyend 이벤트 후 작업");
_callback(e);
var features = e.features.getArray();
var coord = features[0].getGeometry().getCoordinates();
var dataRow = features[0].getProperties();
});
'Skill > OpenLayers' 카테고리의 다른 글
[openLayers] select된 feature가져와서 point의 위치 바꾸기 (0) | 2020.10.27 |
---|---|
[openLayers] 좌표 Array(배열)을 통한 Feature 생성 (0) | 2020.10.27 |
[openLayers] ol.Interaction.Select의 위치 알아내기 (0) | 2020.10.26 |
[openLayers] ol.interaction.Snap사용법 (0) | 2020.10.26 |
[OpenLayers] 지도를 원하는 위치와 Zoom으로 조정하기 (0) | 2020.10.07 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- QueryDSL
- setter
- sumifs
- getter
- lombok
- ul li로 테이블
- 프로젝트명변경
- JQuery
- devtools
- oracle
- Keycode
- border-collapse
- 전후방탐색
- CSS
- element위치
- springboot
- $.extend
- 정규식
- draw.io
- Javascript
- $.each
- excel
- @ExceptionHandler
- spring
- PostgreSQL
- caniuse
- 진열사랑
- 여러 컬럼 update
- object key
- DatePicker
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
글 보관함