1969 |
/* save changes to bg_offset in project */ |
/* save changes to bg_offset in project */ |
1970 |
appdata->project->wms_offset.x = map->bg.offset.x; |
appdata->project->wms_offset.x = map->bg.offset.x; |
1971 |
appdata->project->wms_offset.y = map->bg.offset.y; |
appdata->project->wms_offset.y = map->bg.offset.y; |
|
appdata->project->dirty = TRUE; |
|
1972 |
break; |
break; |
1973 |
|
|
1974 |
default: |
default: |
2405 |
map->state->detail = detail; |
map->state->detail = detail; |
2406 |
printf("changing detail factor to %f\n", map->state->detail); |
printf("changing detail factor to %f\n", map->state->detail); |
2407 |
|
|
2408 |
banner_busy_start(appdata, 1, "Redrawing..."); |
banner_busy_start(appdata, 1, _("Redrawing")); |
2409 |
map_clear(appdata, MAP_LAYER_OBJECTS_ONLY); |
map_clear(appdata, MAP_LAYER_OBJECTS_ONLY); |
2410 |
map_paint(appdata); |
map_paint(appdata); |
2411 |
banner_busy_stop(appdata); |
banner_busy_stop(appdata); |