model.add(new Object[]{"Google Satellite", GoogleV3.Type.SATELLITE});
model.add(new Object[]{"Google Hybrid", GoogleV3.Type.HYBRID});
model.add(new Object[]{"Google Physical", GoogleV3.Type.TERRAIN});
model.addSelection(model.get(0));
types.setModel(model);
types.setItemRenderer(new ItemRenderer() {
@Override
public String render(Component owner, Object data, int index)
throws Exception {
// TODO Auto-generated method stub