File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -121,17 +121,16 @@ Distributed as an ES module which should work "out-of-the-box" with most popular
121121### Browser - Script tag via UMD CDN
122122
123123``` html
124- <script src =" https://unpkg.com/@esri/arcgis-rest-request@4/dist/bundled/request.umd.min.js" ></script >
125- <script src =" https://unpkg.com/@esri/arcgis-rest-feature-service@4/dist/bundled/feature-service.umd.min.js" ></script >
124+ <!-- arcgis-rest-request and arcgis-rest-feature-service are dependencies: -->
125+ <script src =" https://unpkg.com/@esri/arcgis-rest-request@4" ></script >
126+ <script src =" https://unpkg.com/@esri/arcgis-rest-feature-service@4" ></script >
126127<script src =" https://unpkg.com/query-all-features" ></script >
127128
128129<script >
129130 queryAllFeatures .queryAllFeatures ({url: " https://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/0" }).then ((results ) => {
130131 console .log (' results' , results);
131- document .body .innerHTML = ` ${ results .features .length } results: <br /><br /><pre >` + JSON .stringify (results, null , 4 ) + ' </pre>' ;
132132 }, (err ) => {
133133 console .log (' err' , err);
134- document .body .innerHTML = err;
135134 });
136135 </script >
137136```
You can’t perform that action at this time.
0 commit comments