Skip to content

Commit

Permalink
Merge 60aaa9a into 8e9c2ec
Browse files Browse the repository at this point in the history
  • Loading branch information
georgios-uber committed May 4, 2019
2 parents 8e9c2ec + 60aaa9a commit 1d54b05
Show file tree
Hide file tree
Showing 18 changed files with 8 additions and 11 deletions.
File renamed without changes.
Expand Up @@ -2,9 +2,9 @@
<img src="https://avatars3.githubusercontent.com/u/2105791?v=3&s=200" />
</div>

## Example: react-editor-lite
## Example: react-map-gl-draw

Demonstrates how to draw with `@nebula.gl/react-editor-lite`
Demonstrates how to draw with `react-map-gl-draw`

```
npm install
Expand Down
File renamed without changes.
Expand Up @@ -2,7 +2,7 @@
import React, { Component } from 'react';
import { render } from 'react-dom';
import MapGL from 'react-map-gl';
import { Editor, EditorModes } from '@nebula.gl/react-editor-lite';
import { Editor, EditorModes } from 'react-map-gl-draw';
import {
ToolboxRow,
ToolboxRowWrapping,
Expand Down
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset='UTF-8' />
<title>@nebula.gl/react-editor-lite Example</title>
<title>react-map-gl-draw Example</title>
<link rel="stylesheet" type="text/css" href="app.css" />
</head>
<body>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions examples/webpack.config.local.js
Expand Up @@ -13,7 +13,7 @@ const LIB_DIR = resolve(__dirname, '..');
const CORE_SRC_DIR = resolve(LIB_DIR, './modules/core/src');
const LAYERS_SRC_DIR = resolve(LIB_DIR, './modules/layers/src');
const OVERLAYS_SRC_DIR = resolve(LIB_DIR, './modules/overlays/src');
const REACT_EDITOR_LITE_SRC_DIR = resolve(LIB_DIR, './modules/react-editor-lite/src');
const REACT_EDITOR_LITE_SRC_DIR = resolve(LIB_DIR, './modules/react-map-gl-draw/src');

// const babelConfig = require('../babel.config');

Expand All @@ -40,8 +40,8 @@ function makeLocalDevConfig(EXAMPLE_DIR = LIB_DIR) {
'@nebula.gl/overlays/dist': OVERLAYS_SRC_DIR,
'@nebula.gl/overlays': OVERLAYS_SRC_DIR,

'@nebula.gl/react-editor-lite/dist': REACT_EDITOR_LITE_SRC_DIR,
'@nebula.gl/react-editor-lite': REACT_EDITOR_LITE_SRC_DIR,
'react-map-gl-draw/dist': REACT_EDITOR_LITE_SRC_DIR,
'react-map-gl-draw': REACT_EDITOR_LITE_SRC_DIR,

'@deck.gl/core': resolve(LIB_DIR, './node_modules/@deck.gl/core'),
'@deck.gl/layers': resolve(LIB_DIR, './node_modules/@deck.gl/layers'),
Expand Down
3 changes: 0 additions & 3 deletions modules/core/src/index.js
Expand Up @@ -37,6 +37,3 @@ export { DrawCircleFromCenterHandler } from '@nebula.gl/layers';
export { DrawCircleByBoundingBoxHandler } from '@nebula.gl/layers';
export { DrawEllipseByBoundingBoxHandler } from '@nebula.gl/layers';
export { DrawEllipseUsingThreePointsHandler } from '@nebula.gl/layers';

// @nebular/svg
export { Editor, EditorModes } from '@nebula.gl/react-editor-lite';
File renamed without changes.
@@ -1,5 +1,5 @@
{
"name": "@nebula.gl/react-editor-lite",
"name": "react-map-gl-draw",
"description": "A lite version editing layer with react",
"license": "MIT",
"version": "0.12.0",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 1d54b05

Please sign in to comment.