본문 바로가기

JAVASCRIPT13

[JQuery File Upload] API를 이용한 파일 업로드 테스트 출처 : GitHub - blueimp/jQuery-File-Upload: File Upload widget with multiple file selection, drag&drop support, progress bar, validation and preview images, audio and video for jQuery. Supports cross-domain, chunked and resumable file uploads. Works with any server-side platform (Google App Engine, PHP, Python, Ruby on Rails, Java, etc.) that supports standard HTML form file uploads. GitHub - blue.. 2022. 7. 31.
[HTML5 FILE API] 첨부 파일 URL 경로 획득 하기 출처 : How to get full path of selected file on change of using javascript, jquery-ajax? - Stack Overflow 2022. 7. 28.
[JavaScript] async , await 키워드를 이용한 비동기 , 동기 메서드 호출 예제 image를 동기화 , 비동기화로 로드하는 것을 테스트 해보았습니다. async function drawImage() { let imgobj = document.createElement("img"); // promise 선언 let imgPromise = new Promise( (resolve , reject) => { resolve(); }); // resolve가 호출 될때 에는 , then() 메서드가 실행 // , reject 일시에는 catch() imgPromise.then(() => { imgobj.onload = () => { let cur_img_width = this.naturalWidth; let cur_img_height = this.naturalHeight; }; }); conso.. 2022. 3. 29.
[VWorldMap API] EPSG:4326 경도위도 값을 , EPSG:3857 좌표계로 변환 javascript 함수 변환 함수 출처 : coordinate system - Convert EPSG:4326 to EPSG:3857 in OpenLayers and React - Geographic Information Systems Stack Exchange Convert EPSG:4326 to EPSG:3857 in OpenLayers and React Is there a way to convert coordinates from EPSG:4326 to EPSG:3857 in OpenLayers. Or does any one have a method that does this in Javascript? gis.stackexchange.com Vworld Map 예제 출처 : 공간정보 오픈플랫폼 오픈API (vworld.kr.. 2022. 1. 9.