]> Pileus Git - grits/blobdiff - src/plugins/test.c
Update copyright and email address
[grits] / src / plugins / test.c
index 5094758cd804693f399e16c1f5f985403f2baa34..87b0a6123e8dd9bf7928d3ea90bd5b3883ed9980 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2009 Andy Spencer <spenceal@rose-hulman.edu>
+ * Copyright (C) 2009-2010 Andy Spencer <andy753421@gmail.com>
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -34,7 +34,8 @@ GisPluginTest *gis_plugin_test_new(GisViewer *viewer)
 
        GisMarker *marker = gis_marker_new("St. Charles");
        gis_point_set_lle(gis_object_center(GIS_OBJECT(marker)), 38.841847, -90.491982, 0);
-       gis_viewer_add(self->viewer, GIS_OBJECT(marker));
+       GIS_OBJECT(marker)->lod = EARTH_R/4;
+       gis_viewer_add(self->viewer, GIS_OBJECT(marker), GIS_LEVEL_OVERLAY, 0);
 
        return self;
 }