From c961602ac002264e55da5d76514bd2ad64f247ac Mon Sep 17 00:00:00 2001 From: Tom Wayson Date: Sun, 25 Feb 2018 08:13:40 -0800 Subject: [PATCH] add demo for arcgis-rest-feature-service --- demos/feature-service-browser/README.md | 6 ++ demos/feature-service-browser/index.html | 85 ++++++++++++++++++++++ demos/feature-service-browser/package.json | 17 +++++ 3 files changed, 108 insertions(+) create mode 100644 demos/feature-service-browser/README.md create mode 100644 demos/feature-service-browser/index.html create mode 100644 demos/feature-service-browser/package.json diff --git a/demos/feature-service-browser/README.md b/demos/feature-service-browser/README.md new file mode 100644 index 0000000000..12dccc614a --- /dev/null +++ b/demos/feature-service-browser/README.md @@ -0,0 +1,6 @@ +# Running this demo + +1. Make sure you run `npm run bootstrap` in the root folder to setup the dependencies +1. `npm start` +1. Visit http://localhost:8080 +1. Enter a search term and click "Search" to see results diff --git a/demos/feature-service-browser/index.html b/demos/feature-service-browser/index.html new file mode 100644 index 0000000000..40ea0d9274 --- /dev/null +++ b/demos/feature-service-browser/index.html @@ -0,0 +1,85 @@ + + + + + + + +
+
+
+
+

search features!

+
+
+ +
+ +
+
+
+
+
+
+ + + + + + + + + + +
Tree IDTypeCondition
+ +
+
+
+ + + + + + + diff --git a/demos/feature-service-browser/package.json b/demos/feature-service-browser/package.json new file mode 100644 index 0000000000..24f589afc1 --- /dev/null +++ b/demos/feature-service-browser/package.json @@ -0,0 +1,17 @@ +{ + "name": "feature-service-browser", + "version": "1.0.3", + "private": true, + "description": "Vanilla JavaScript demo of @esri/arcgis-rest-feature-service", + "author": "", + "license": "Apache-2.0", + "dependencies": { + "@esri/arcgis-rest-feature-service": "^1.0.3" + }, + "devDependencies": { + "http-server": "*" + }, + "scripts": { + "start": "http-server ." + } +}