Package chunmap.example.service

Source Code of chunmap.example.service.SGMap2WMS

/**
* 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);
    }
  }
}
TOP

Related Classes of chunmap.example.service.SGMap2WMS

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.