Compare commits

..

3 Commits

Author SHA1 Message Date
Matt Walsh
34dedb44c1 6.3.3 2025-12-09 05:03:08 +00:00
Matt Walsh
18633708f9 Slightly denser display of regional cities on map #170 2025-12-09 05:02:58 +00:00
Matt Walsh
9b12255e0a Add image to README 2025-12-08 13:35:13 -06:00
6 changed files with 21 additions and 4 deletions

View File

@@ -1,3 +1,5 @@
![Weatherstar 4000+ Current Conditions](https://github.com/netbymatt/ws4kp/blob/main/server/images/social/1200x600.png)
# WeatherStar 4000+
A live version of this project is available at https://weatherstar.netbymatt.com

View File

@@ -729,6 +729,16 @@
"wfo": "LMK"
}
},
{
"city": "Lubbock",
"lat": 33.5836,
"lon": -101.8549,
"point": {
"x": 49,
"y": 34,
"wfo": "LUB"
}
},
{
"city": "Manchester",
"lat": 42.9956,

View File

@@ -364,6 +364,11 @@
"lat": 38.2542,
"lon": -85.7594
},
{
"city": "Lubbock",
"lat": 33.5836,
"lon": -101.8549
},
{
"city": "Manchester",
"lat": 42.9956,

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "ws4kp",
"version": "6.3.2",
"version": "6.3.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "ws4kp",
"version": "6.3.2",
"version": "6.3.3",
"license": "MIT",
"dependencies": {
"dotenv": "^17.0.1",

View File

@@ -1,6 +1,6 @@
{
"name": "ws4kp",
"version": "6.3.2",
"version": "6.3.3",
"description": "Welcome to the WeatherStar 4000+ project page!",
"main": "index.mjs",
"type": "module",

View File

@@ -51,7 +51,7 @@ class RegionalForecast extends WeatherDisplay {
const minMaxLatLon = utils.getMinMaxLatitudeLongitude(sourceXY.x, sourceXY.y, mapOffsetXY.x, mapOffsetXY.y, this.weatherParameters.state);
// get a target distance
let targetDistance = 2.5;
let targetDistance = 2.4;
if (this.weatherParameters.state === 'HI') targetDistance = 1;
// make station info into an array