mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Custom Maps: geo map and color backgrounds (#16020)
* Custom Maps: geo map and color background tabs blade component geo-map blade component and related script enhancements * Update css/js * style fixes * update db_schema.yaml * fix db_schema hand edit * ignore phpstan being wrong * Handle null * another possible null spot * Use standard file cache for custom map background images * Create map->image as jpeg so we can compress it * whitespace fix * Fix background cancel button when other type is selected than the saved type * Save and restore layer * Map must exist before creating static image * Don't show set as image button for Google and Bing. Bing gives an odd error, but Google won't work.
This commit is contained in:
@@ -22,6 +22,10 @@ return [
|
||||
'bg' => [
|
||||
'title' => 'Set Background',
|
||||
'background' => 'Background',
|
||||
'color' => 'Color',
|
||||
'image' => 'Image',
|
||||
'map' => 'Map',
|
||||
'none' => 'None',
|
||||
'clear_bg' => 'Clear BG',
|
||||
'clear_background' => 'Clear Background',
|
||||
'keep_background' => 'Keep Background',
|
||||
@@ -29,6 +33,13 @@ return [
|
||||
'save_errors' => 'Save failed due to the following errors:',
|
||||
'save_error' => 'Save failed. Server returned error response code: :code',
|
||||
'save' => 'Save Background',
|
||||
'lat' => 'Latitude',
|
||||
'lng' => 'Longitude',
|
||||
'zoom' => 'Zoom',
|
||||
'adjust_map' => 'Adjust Map',
|
||||
'adjust_map_finish' => 'Done Adjusting Map',
|
||||
'as_image' => 'Set as Image',
|
||||
'as_image_hint' => 'Setting the map as an image background will be static, but have improved performance and work without connection to the map tile server',
|
||||
],
|
||||
'map' => [
|
||||
'settings_title' => 'Map Settings',
|
||||
|
Reference in New Issue
Block a user