Add much more cities to the Regional Observations map view
This commit is contained in:
parent
a23eb483ea
commit
f278d50ca7
3 changed files with 1737 additions and 47 deletions
|
|
@ -79,6 +79,10 @@ class RegionalForecast extends WeatherDisplay {
|
|||
this.nearbyMarkers = await loadNearbyObservationMarkers(this.map, {
|
||||
latitude: this.weatherParameters.latitude,
|
||||
longitude: this.weatherParameters.longitude,
|
||||
}, {
|
||||
maxMarkers: 7,
|
||||
minCityDistanceMeters: 15000,
|
||||
minMarkerPixelDistance: 60,
|
||||
});
|
||||
this.nearbyMarkers.forEach((marker) => marker.addTo(this.map));
|
||||
this.nearbyMarkersKey = markerKey;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue