Skip to content

Commit

Permalink
changed default date and range, starting view
Browse files Browse the repository at this point in the history
  • Loading branch information
gregallensworth committed Feb 10, 2023
1 parent 9552dd8 commit f716d12
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index-layeroptions.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const START_ZOOM = 8.0;
const START_CENTER = [ 47.6062, -122.3321 ];
const START_ZOOM = 5.0;
const START_CENTER = [ 39.828175, -98.5795 ];

let MAP;
let OHMLAYER;
Expand Down Expand Up @@ -75,8 +75,8 @@ function selectLayer (which) {
const tsoptions = {
vectorLayer: OHMLAYER,
vectorSourceName: 'osm',
range: ['1800-01-01', '2020-12-31'],
date: '1950-06-15',
range: ['1800-01-01', '2022-01-01'],
date: '2022-01-01',
stepInterval: 1,
stepAmount: '10year',
onDateChange: function (date) {
Expand Down

0 comments on commit f716d12

Please sign in to comment.