From 4a47a1a265267b7b26a1df13c1fc30ef45e38644 Mon Sep 17 00:00:00 2001 From: Michael Van den Bergh <19687652+mvdbster@users.noreply.github.com> Date: Thu, 18 Oct 2018 13:24:53 +0200 Subject: [PATCH 1/6] Update README.md --- README.md | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ad3ee91..5c67fe7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,19 @@ # react-sceneview -A simple Esri [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html) react component: +A simple Esri [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html) react component. + +## Table of Contents + +## Table of Contents + +- [Examples](#examples) +- [Props](#props) +- [Installing](#installing) +- [Issues](#issues) +- [Contributing](#contributing) +- [Licensing](#licensing) + +## Examples ```jsx import React from 'react'; @@ -185,6 +198,28 @@ If using client-side graphics, the following props are required: | :------------ | :------------- | :------ | :---------- | | onSelect | function | | Callback to handle selection. | +## Installing + +Download the repository and install the dependencies: + +``` +$ npm install +``` + +Build the library: + +``` +$ npm build +``` + +Run the example: + +``` +$ npm build +``` + + + ## Issues Find a bug or want to request a new feature? Please let us know by submitting an issue. From 3e1cfef6fa6b62cfc14996a28f10916494843038 Mon Sep 17 00:00:00 2001 From: Michael Van den Bergh <19687652+mvdbster@users.noreply.github.com> Date: Thu, 18 Oct 2018 13:25:19 +0200 Subject: [PATCH 2/6] Update README.md --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 5c67fe7..04c4425 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,6 @@ A simple Esri [SceneView](https://developers.arcgis.com/javascript/latest/api-re ## Table of Contents -## Table of Contents - - [Examples](#examples) - [Props](#props) - [Installing](#installing) From c74a3e613c00ba70093d8ff2834d31281155fab5 Mon Sep 17 00:00:00 2001 From: Michael Van den Bergh <19687652+mvdbster@users.noreply.github.com> Date: Thu, 18 Oct 2018 13:25:39 +0200 Subject: [PATCH 3/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 04c4425..74b56d4 100644 --- a/README.md +++ b/README.md @@ -213,7 +213,7 @@ $ npm build Run the example: ``` -$ npm build +$ npm example ``` From 062890eea301fdfa3846456b0483c1d6ff5bebda Mon Sep 17 00:00:00 2001 From: Michael Van den Bergh <19687652+mvdbster@users.noreply.github.com> Date: Thu, 18 Oct 2018 14:54:41 +0200 Subject: [PATCH 4/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 74b56d4..41d7e3e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # react-sceneview -A simple Esri [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html) react component. +A simple Esri [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html) react component that builds on the [ArcGIS API for JavaScript](https://developers.arcgis.com/javascript/index.html). ## Table of Contents From 060b9b8f7bd4c85a9498a5bc4b3abdb858532814 Mon Sep 17 00:00:00 2001 From: Michael Van den Bergh <19687652+mvdbster@users.noreply.github.com> Date: Thu, 18 Oct 2018 14:56:08 +0200 Subject: [PATCH 5/6] Update README.md --- README.md | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/README.md b/README.md index 41d7e3e..2774554 100644 --- a/README.md +++ b/README.md @@ -70,26 +70,6 @@ Dynamically add and remove layers: ``` -Supports various selection modes (_e.g._, lasso, rectangle) and has a polygon drawing tool: - -```jsx - - - - - - -``` - -```jsx - - - - - - -``` - Supports client-side graphics: dynamically add and remove graphics from feature layer. ```jsx @@ -184,18 +164,6 @@ If using client-side graphics, the following props are required: | :------------ | :------------- | :------ | :---------- | | position | string | | Position of the UI widget. One of `['top-left', 'top-right', 'bottom-right', 'bottom-left']`. Default is `'top-left'`. | -### DrawingTool - -| Name | Type | Default | Description | -| :------------ | :------------- | :------ | :---------- | -| onDraw | function | | Callback to handle an update of the polygon being drawn. Returns a `geometry` object with `points` and a `spatialReference`. | - -### LineSelectionTool, RectangleSelectionTool, LassoSelectionTool - -| Name | Type | Default | Description | -| :------------ | :------------- | :------ | :---------- | -| onSelect | function | | Callback to handle selection. | - ## Installing Download the repository and install the dependencies: From 5929cd1a823d096e6ee292141d0470297a8125d0 Mon Sep 17 00:00:00 2001 From: Michael Van den Bergh <19687652+mvdbster@users.noreply.github.com> Date: Thu, 18 Oct 2018 15:32:51 +0200 Subject: [PATCH 6/6] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2774554..7007668 100644 --- a/README.md +++ b/README.md @@ -175,13 +175,13 @@ $ npm install Build the library: ``` -$ npm build +$ npm run build ``` Run the example: ``` -$ npm example +$ npm run example ```