Class: GridCellInfosService

ol.supermap.GridCellInfosService

The GridCellInfosService class.

new ol.supermap.GridCellInfosService(url, options)

GridCellInfosService.js, line 5

/**

Name Type Description
url string

The url of service. The url to request map service should be:
http://{service URL}:{server port}/iserver/services/{map service name}/rest/maps/{map name}/tempLayersSet/{tempLayerID}/Rivers@World@@World".

options Object

The optional parameters.

Name Type Default Description
proxy string optional

Service agent address.

serverType SuperMap.ServerType SuperMap.ServerType.ISERVER optional

Type of server iServer|iPortal|online.

withCredentials boolean false optional

Request whether to carry a cookie.

crossOrigin boolean optional

Whether to allow cross-domain requests.

headers Object optional

Request header.

Example
new ol.supermap.GridCellInfosService(url)
     .getGridCellInfos(param,function(result){
          //doSomething
     })

Extends

Methods

getGridCellInfos(params, callback)

GridCellInfosService.js, line 31
Name Type Description
params SuperMap.GetGridCellInfosParameters

The GetGridCellInfosParameters class。

callback RequestCallback

The callback of result data returned by the server side.