Skip to content

Commit

Permalink
move some stuff around, add 2 rows to sprite png
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Nov 30, 2020
1 parent f5031f2 commit 722c6cc
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 5 deletions.
2 changes: 0 additions & 2 deletions html/early.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ let traceRate = 0;
let _aircraft_type_cache = null;
let tfrs = false;

let databaseFolder = "db2";

let uuid = null;

try {
Expand Down
Binary file removed html/images/sprites001.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,7 @@

<div id="container_splitter"></div>

<script>let databaseFolder = "db2";</script>
<script src="libs/jquery-3.5.1.min.js"></script>
<script src="libs/elm-pep-01.js"></script>
<script src="libs/jquery-ui-1.12.1.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion html/markers.js
Original file line number Diff line number Diff line change
Expand Up @@ -1120,7 +1120,7 @@ function svgShapeToURI(shape, fillColor, strokeColor, strokeWidth, scale){

let glIconSize = 72;
let glImapWidth = 8;
let glImapHeight = 9;
let glImapHeight = 11;

let refCross = {
w: glIconSize,
Expand Down
2 changes: 1 addition & 1 deletion html/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,7 @@ function webglAddLayer() {
let glStyle = {
symbol: {
symbolType: 'image',
src: 'images/sprites002.png',
src: 'images/sprites003.png',
size: [ 'get', 'size' ],
offset: [0, 0],
textureCoord: [ 'array',
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ do

cp -r -T html "$TMP"
cp -r -T "$ipath/git-db/db" "$TMP/db-$DB_VERSION"
sed -i -e "s/let databaseFolder = .*/let databaseFolder = \"db-$DB_VERSION\";/" "$TMP/early.js"
sed -i -e "s/let databaseFolder = .*;/let databaseFolder = \"db-$DB_VERSION\";/" "$TMP/index.html"
echo "{ \"tar1090Version\": \"$TAR_VERSION\", \"databaseVersion\": \"$DB_VERSION\" }" > "$TMP/version.json"

# keep some stuff around
Expand Down

0 comments on commit 722c6cc

Please sign in to comment.