From: Andy Spencer Date: Fri, 10 Feb 2012 18:28:54 +0000 (+0000) Subject: Update levels of detail or new viewer perspectives X-Git-Tag: v0.7~6 X-Git-Url: http://pileus.org/git/?p=aweather;a=commitdiff_plain;h=3211eaca2b7a580cd34d08ed34425c4da295ba59 Update levels of detail or new viewer perspectives Again.. --- diff --git a/src/plugins/alert.c b/src/plugins/alert.c index e1d6c91..ee9b143 100644 --- a/src/plugins/alert.c +++ b/src/plugins/alert.c @@ -397,7 +397,7 @@ gboolean fips_group_state(gpointer key, gpointer value, gpointer data) GList *counties = value; GList **states = data; GritsPoly *poly = fips_combine(counties); - GRITS_OBJECT(poly)->lod = EARTH_R/5; + GRITS_OBJECT(poly)->lod = EARTH_R/10; *states = g_list_prepend(*states, poly); g_list_free(counties); return FALSE; diff --git a/src/plugins/radar.c b/src/plugins/radar.c index b53bfe4..dd57984 100644 --- a/src/plugins/radar.c +++ b/src/plugins/radar.c @@ -288,7 +288,7 @@ gboolean _site_add_marker(gpointer _site) RadarSite *site = _site; site->marker = grits_marker_new(site->city->name); GRITS_OBJECT(site->marker)->center = site->city->pos; - GRITS_OBJECT(site->marker)->lod = EARTH_R*2*site->city->lod; + GRITS_OBJECT(site->marker)->lod = EARTH_R*0.75*site->city->lod; grits_viewer_add(site->viewer, GRITS_OBJECT(site->marker), GRITS_LEVEL_OVERLAY, FALSE); return FALSE;