diff --git a/css/swad19.112.css b/css/swad19.115.css similarity index 99% rename from css/swad19.112.css rename to css/swad19.115.css index b47e2366..b955a961 100644 --- a/css/swad19.112.css +++ b/css/swad19.115.css @@ -2012,10 +2012,10 @@ a:hover img.CENTRE_PHOTO_SHOW box-shadow:1px 1px 6px #999; } -#ctr_mapid, #ins_mapid, #cty_mapid +#sys_mapid, #cty_mapid, #ins_mapid, #ctr_mapid { width:460px; - height:345px; + height:460px; margin:9px auto; } diff --git a/swad_changelog.h b/swad_changelog.h index 5b63eb6a..e0d724c0 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -493,7 +493,7 @@ En OpenSWAD: ps2pdf source.ps destination.pdf */ #define Log_PLATFORM_VERSION "SWAD 19.115 (2020-01-09)" -#define CSS_FILE "swad19.112.css" +#define CSS_FILE "swad19.115.css" #define JS_FILE "swad19.91.1.js" /* // TODO: Hacer un nuevo rol en los TFG: tutor externo (profesor de áreas no vinculadas con el centro, profesionales de empresas, etc.) diff --git a/swad_map.c b/swad_map.c index 57534811..137e625d 100644 --- a/swad_map.c +++ b/swad_map.c @@ -257,10 +257,10 @@ double Map_GetAltitudeFromStr (char *Str) static unsigned Map_GetZoomFromDistance (double MaxDistance) { /***** Convert distance to zoom *****/ - return (MaxDistance < 0.01) ? 16 : + return (MaxDistance < 0.01) ? 15 : ((MaxDistance < 0.1 ) ? 12 : ((MaxDistance < 1.0 ) ? 8 : - ((MaxDistance < 10.0 ) ? 6 : + ((MaxDistance < 10.0 ) ? 5 : ((MaxDistance < 50.0 ) ? 2 : 1)))); } diff --git a/swad_system_config.c b/swad_system_config.c index aa2c6f0e..bdcc078f 100644 --- a/swad_system_config.c +++ b/swad_system_config.c @@ -240,7 +240,7 @@ static void SysCfg_GetCoordAndZoom (struct Coordinates *Coord,unsigned *Zoom) /****************************** Draw country map *****************************/ /*****************************************************************************/ -#define SysCfg_MAP_CONTAINER_ID "cty_mapid" +#define SysCfg_MAP_CONTAINER_ID "sys_mapid" static void SysCfg_Map (void) {