mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-14 07:39:29 -07:00
Slightly denser display of regional cities on map #170
This commit is contained in:
@@ -729,6 +729,16 @@
|
|||||||
"wfo": "LMK"
|
"wfo": "LMK"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"city": "Lubbock",
|
||||||
|
"lat": 33.5836,
|
||||||
|
"lon": -101.8549,
|
||||||
|
"point": {
|
||||||
|
"x": 49,
|
||||||
|
"y": 34,
|
||||||
|
"wfo": "LUB"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"city": "Manchester",
|
"city": "Manchester",
|
||||||
"lat": 42.9956,
|
"lat": 42.9956,
|
||||||
|
|||||||
@@ -364,6 +364,11 @@
|
|||||||
"lat": 38.2542,
|
"lat": 38.2542,
|
||||||
"lon": -85.7594
|
"lon": -85.7594
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"city": "Lubbock",
|
||||||
|
"lat": 33.5836,
|
||||||
|
"lon": -101.8549
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"city": "Manchester",
|
"city": "Manchester",
|
||||||
"lat": 42.9956,
|
"lat": 42.9956,
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ class RegionalForecast extends WeatherDisplay {
|
|||||||
const minMaxLatLon = utils.getMinMaxLatitudeLongitude(sourceXY.x, sourceXY.y, mapOffsetXY.x, mapOffsetXY.y, this.weatherParameters.state);
|
const minMaxLatLon = utils.getMinMaxLatitudeLongitude(sourceXY.x, sourceXY.y, mapOffsetXY.x, mapOffsetXY.y, this.weatherParameters.state);
|
||||||
|
|
||||||
// get a target distance
|
// get a target distance
|
||||||
let targetDistance = 2.5;
|
let targetDistance = 2.4;
|
||||||
if (this.weatherParameters.state === 'HI') targetDistance = 1;
|
if (this.weatherParameters.state === 'HI') targetDistance = 1;
|
||||||
|
|
||||||
// make station info into an array
|
// make station info into an array
|
||||||
|
|||||||
Reference in New Issue
Block a user