Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Commit

Permalink
Use greyscale base map for lightning to improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
waynedgrant committed Nov 29, 2015
1 parent f597dde commit ef92d33
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ Given this I would advise **met-office-weather-map's** users not to request all
| CloudCoverAndRainfallForecastMap | uk base colour | uk overlay black full outline |
| CloudCoverForecastMap | uk base colour | uk overlay black full outline |
| InfraredSatelliteObservationMap | N/A | uk overlay yellow cutout outline |
| LightningObservationMap | uk base colour | N/A |
| LightningObservationMap | uk base greyscale | N/A |
| RainfallForecastMap | uk base colour | uk overlay black full outline |
| RainfallObservationMap | uk base colour | uk overlay black full outline |
| SurfacePressureExtendedForecastMap | N/A | N/A |
Expand Down
2 changes: 1 addition & 1 deletion src/LightningObservationMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ protected function requiresTimestamp()

protected function getBaseMap()
{
return 'uk_base_colour.png';
return 'uk_base_greyscale.png';
}

protected function getOverlayMap()
Expand Down
2 changes: 1 addition & 1 deletion src/Map.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ private function writeInfoJson($lastestTimestamp, $baseDateTime, $imagesInfo)
'name' => $this->getName(),
'created_by' => array(
'api' => 'met-office-weather-maps (https://github.com/waynedgrant/met-office-weather-maps)',
'version' => '1.1'),
'version' => '1.2'),
'datapoint_timestamp' => $lastestTimestamp,
'base_time' => $baseDateTime->format('Y-m-d H:i T'),
'images' => $imagesInfo));
Expand Down
Binary file added src/images/uk_base_greyscale.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ef92d33

Please sign in to comment.