Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. # ArcGIS JS ## ArcGIS JS API 샘플 파일은 `\workspace\ArcGISAPI\WebContent\html\SampleB.html` 파일입니다. 라벨 출력하는 부분은 샘플에서 338번째 줄입니다. <code> map.drawMarker(labelPoint.x, labelPoint.y, marker.url, marker.width, marker.height, feature.attributes.BLD_NM); </code> 이 부분은 실질적으로 `\workspace\ArcGISAPI\WebContent\js\map.js`파일에서 처리합니다. map.js 파일의 871번째 줄 입니다. <code> //Text_symbol var displaytext = name; var font = new Font("9pt",Font.STYLE_NORMAL, Font.VARIANT_NORMAL,Font.WEIGHT_BOLD,"Helvetica"); var textSymbol = new TextSymbol(displaytext,font,new dojo.Color("#666633")); textSymbol.setOffset(0,-12); map.graphics.add(new esri.Graphic(geometry, textSymbol)); </code> ## ArcGIS JS Setting ### Installing the ArcGIS API for JavaScript™ Library API 파일들을 모두 복사합니다. http://''<myserver>''/arcgis_js_api/library/3.10/ \library\3.10\3.10\init.js 파일을 수정합니다. ''[HOSTNAME_AND_PATH_TO_JSAPI]'' 문자열 대신에 ''<myserver>''으로 변경합니다. \library\3.10\3.10\js\dojo\dojo\dojo.js 파일을 수정합니다. ''[HOSTNAME_AND_PATH_TO_JSAPI]'' 문자열 대신에 ''<myserver>''으로 변경합니다. open/arcgis-js.txt Last modified: 2024/10/05 06:15by 127.0.0.1