<< Click to Display Table of Contents >>

SuperGIS Server JavaScript API

 

new sg.layers.WMSLayerInfo()

 

 

Description

建立一個WMSLayerInfo 物件。

 

Position

WMSLayerInformation.js

 

 

Parameters

 

Parameter

Type

Description

param

Object

WMSLayerInfo 物件

set object

Name

Type

Description

name

String

名稱

title

String

標題

 

Example

 

 

<script type="text/javascript" src="scripts/WMSLayer.js"></script>

 

var WMSLayer = null;

var CreateWMS = function () {

 

          var layer = new sg.layers.WMSLayerInfo({

               name: 'LUIMAP',

               title: 'General map (no labels)'

           });

 

       }

 

 


©2015 Supergeo Technologies Inc.