Skip to content

Commit

Permalink
Merge pull request #7 from OpenHistoricalMap/gin-styleoptions-demos
Browse files Browse the repository at this point in the history
changed default date and range, starting view
  • Loading branch information
gregallensworth authored Feb 10, 2023
2 parents 0515b03 + f716d12 commit 82565b9
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 82565b9

Please sign in to comment.