Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
TJKoury committed Jan 5, 2024
1 parent 7f741ed commit da8deec
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<meta name="HandheldFriendly" content="true" />

<title>SDA TAP LAB</title>
<script type="module" crossorigin src="/assets/app-77eb364c.js"></script>
<script type="module" crossorigin src="/assets/app-ca1f45d2.js"></script>
<link rel="stylesheet" href="/assets/index-bf9a10ba.css">
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "spaceaware.io",
"private": true,
"version": "0.0.0+1704421456955",
"version": "0.0.0+1704421659433",
"type": "module",
"scripts": {
"postinstall": "npm run copy:orbpro",
Expand Down
7 changes: 1 addition & 6 deletions src/stores/settings.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,7 @@ storeViewer.subscribe(async (viewer) => {
let tileset: any;
//@ts-ignore
GoogleMaps.defaultApiKey = atob("QUl6YVN5RGlzTDdOODMwaUtLTWZ6RllQT1FCeVQteXh5U2FzLTI0");
let oldGrid: boolean = false;
let oldLabels: boolean = false;

subscriptions.push(
settings.google3DTiles.subscribe(async (u: boolean) => {

Expand All @@ -310,15 +309,11 @@ storeViewer.subscribe(async (viewer) => {
}
if (!viewer.scene.primitives.contains(tileset) && u) {
viewer.scene.primitives.add(tileset);
oldGrid = get(settings.showLatLonGrid);
oldLabels = get(settings.showLatLonLabels);
settings.showLatLonGrid.set(false);
settings.showLatLonLabels.set(false);
} else if (!u) {
viewer.scene.primitives.remove(tileset);
tileset = undefined;
settings.showLatLonGrid.set(oldGrid);
settings.showLatLonGrid.set(oldLabels);
}

await saveAndUpdate();
Expand Down

0 comments on commit da8deec

Please sign in to comment.