select features within buffer arcgis javascript

المشرف العام

Administrator
طاقم الإدارة
I am trying to use the arcgis javascript to create a buffer select. when I try to add the script to select the features within the buffer, nothing works, but when I remove the selection part of the script the buffer works. Can any one assist please. Here is the code:



html, body { height: 100%; width: 100%; margin: 0; padding: 0; } h3 { margin: 0 0 5px 0; border-bottom: 1px solid #444; } .shadow { -moz-box-shadow: 0 0 5px #888; -webkit-box-shadow: 0 0 5px #888; box-shadow: 0 0 5px #888; } #map{ margin: 0; padding: 0; } #feedback { background: #fff; color: #444; position: absolute; font-family: arial; height: 200px; left: 30px; margin: 5px; padding: 10px; bottom: 30px; width: 300px; z-index: 40; } #note { font-size: 80%; font-weight: 700; padding: 0 0 10px 0; }



Geodesic Buffering

Note: This sample requires an ArcGIS Server version 10.1 geometry service.
Click the map to generate a line and buffer the line by 660 Feet. Geodesic buffer in red, euclidean in blue. The closer the click point to the equator, the more similar the results will be.


</div></div>



أكثر...
 
أعلى