131132133134135136137138139140141
context.release(); repaint(); } }); res = new ResManager(); res.addListner(dataUpdateListner); world.getLayers().add(new MSMapLayer(res, vport)); world.getLayers().add(new GeoGridLayer(res, vport));
3031323334353637383940
public GTCanvas() { addGLEventListener(this); _viewPort = new ViewPort(); _res = new ResManager(); _res.addListner(this); _layers.add(new MapLayer(_res,_viewPort)); _layers.add(new GeoGridLayer(_res,_viewPort));