Skip to content

Commit

Permalink
replacing data
Browse files Browse the repository at this point in the history
  • Loading branch information
Abel committed Jul 8, 2018
1 parent b753e28 commit 3c22fa6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const MAPBOX_TOKEN = "pk.eyJ1IjoiYWJlbGgiLCJhIjoiY2pid2JibThoMjdhdjJxcjBiOGNuZnc

// Source data CSV
const DATA_URL =
'https://raw.githubusercontent.com/uber-common/deck.gl-data/master/examples/3d-heatmap/heatmap-data.csv'; // eslint-disable-line
'https://raw.githubusercontent.com/abelriboulot/kta/master/apartments.csv'; // eslint-disable-line

class App extends Component {
constructor(props) {
Expand Down
10 changes: 5 additions & 5 deletions src/deckgl-overlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ const colorRange = [
[209, 55, 78]
];

const elevationScale = {min: 1, max: 50};
const elevationScale = {min: 1, max: 30};

const defaultProps = {
radius: 1000,
radius: 400,
upperPercentile: 100,
coverage: 1
};
Expand All @@ -35,9 +35,9 @@ export default class DeckGLOverlay extends Component {

static get defaultViewport() {
return {
longitude: -1.4157267858730052,
latitude: 52.232395363869415,
zoom: 6.6,
longitude: 139.8157267858730052,
latitude: 35.652395363869415,
zoom: 8.6,
minZoom: 5,
maxZoom: 15,
pitch: 40.5,
Expand Down

0 comments on commit 3c22fa6

Please sign in to comment.