Skip to content

Commit

Permalink
Remove TripsLayer in LayerBrowser (visgl#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaojing Li authored Mar 28, 2017
1 parent cfdb080 commit 8ae9818
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions examples/layer-browser/src/examples/sample-layers.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,6 @@ import * as mainDataSamples from '../data-samples';
import * as extraDataSamples from '../../../sample-layers/data';
const dataSamples = Object.assign({}, mainDataSamples, extraDataSamples);

import TripsLayer from '../../../sample-layers/trips-layer/trips-layer';

const TripsLayerExample = {
layer: TripsLayer,
props: {
id: 'trips-layer ',
data: dataSamples.trips,
getPath: trip => trip.map(d => [
d.begin_shape[0],
d.begin_shape[1],
// cast time range to [0, 1]
d.begin_time / 2000
]),
getColor: f => [0, 80, 200],
trailLength: 0.25,
currentTime: 0.4
}
};

import S2Layer from '../../../sample-layers/s2-layer/s2-layer';

const S2LayerExample = {
Expand Down Expand Up @@ -85,7 +66,6 @@ const LabelLayerExample = {
/* eslint-disable quote-props */
export default {
'Sample Layers': {
'TripsLayer': TripsLayerExample,
'S2Layer': S2LayerExample,

'EnhancedChoroplethLayer': EnhancedChoroplethLayerExample,
Expand Down

0 comments on commit 8ae9818

Please sign in to comment.