19 lines
837 B
C++
19 lines
837 B
C++
#include "Config_Default.h"
|
|
Default_Config_File make_default_map_view_config(const std::filesystem::path& directory) {
|
|
Map_View_Config config;
|
|
config.scene_mode = Map_Scene_Mode::map_3d;
|
|
config.map2d.current_imagery_key = "mixed_imagery";
|
|
config.map2d.current_terrain_key = "terrain";
|
|
config.map2d.tile_display_maximum_level = 8;
|
|
config.map3d.current_imagery_key = "mixed_imagery";
|
|
config.map3d.current_terrain_key = "terrain";
|
|
config.map3d.tile_display_maximum_level = 19;
|
|
config.camera.longitude = 122.014707;
|
|
config.camera.latitude = 35.714108;
|
|
config.camera.height = 241660.03182;
|
|
config.camera.heading = 347.582854;
|
|
config.camera.pitch = -54.917211;
|
|
config.camera.roll = 359.999884;
|
|
return {Config_Section::map_view, directory / "map_view.json", config.to_base_json()};
|
|
}
|