Package chunmap.service.wms

Examples of chunmap.service.wms.Capabilities


    Log.log(Logger.Info, "chunmap's wms service starting");
    super.init(config);

    key=config.getInitParameter("key");
   
    Capabilities cap = new Capabilities();
    Layer layer = loadLayerData();
    cap.getLayers().add(layer);
   
    cap.setBaseURL("http://localhost:8080/chunmapService/");
    cap.setLink("http://localhost:8080/chunmapService/test");
    cap.setUrl("http://localhost:8080/chunmapService/test");
    cap.setServiceTile("hello");
    cap.setSrs("4326");

    Service wms = new WebMapService(cap);
    ServiceFactory.putService(wms, "WMS");

    Log.log(Logger.Info, "chunmap's wms服务已启动");
View Full Code Here

TOP

Related Classes of chunmap.service.wms.Capabilities

Copyright © 2018 www.massapicom. 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.