/**
* Copyright (c) 2009-2011, chunquedong(YangJiandong)
*
* This file is part of ChunMap project
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE(Version >=3)
*
* History:
* 2010-05-05 Jed Young Creation
*/
package chunmap.example.service;
import chunmap.raster.gmap.StaticGMLayer;
import chunmap.view.layer.Layer;
public class SGMap2WMS extends ChunMapService {
private static final long serialVersionUID = -9149336948987432797L;
protected Layer loadLayerData() {
if(key==null || key==""){
return new StaticGMLayer();
}else{
return new StaticGMLayer(key);
}
}
}