]> Pileus Git - aweather/blobdiff - src/plugins/alert.c
Update levels of detail or new viewer perspectives
[aweather] / src / plugins / alert.c
index a82528b874c3574f8856fe05454a437889300125..e1d6c91a80409552d0653a03d899b3c42a961f46 100644 (file)
@@ -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/10;
+       GRITS_OBJECT(poly)->lod = EARTH_R/5;
        *states = g_list_prepend(*states, poly);
        g_list_free(counties);
        return FALSE;
@@ -575,7 +575,7 @@ static GritsPoly *_load_storm_based(GritsPluginAlert *alert, AlertMsg *msg)
 
        GritsPoly *poly = grits_poly_parse(msg->polygon, "\t", " ", ",");
        _load_common(alert, msg, poly, 0, 1, 3, "alert/hide_storm_based");
-       grits_viewer_add(alert->viewer, GRITS_OBJECT(poly), GRITS_LEVEL_WORLD+2, TRUE);
+       grits_viewer_add(alert->viewer, GRITS_OBJECT(poly), GRITS_LEVEL_WORLD+4, FALSE);
 
        return poly;
 }