function addGraphic(geo) { //For each path... for ( var path = 0; path < geo.paths.length; path ++ ) { //For each point in the path... for ( var pt = 0; pt < geo.paths[path].length; pt++ ) { //Do something with each point in here... //X coordinate: geo.paths[path][pt][0] //Y coordinate: geo.paths[path][pt][1] } } }
var polylinePointCollection = geometry.paths;
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.