Global

Members

en

Namespace: SuperMap.Lang["en"] Dictionary for English. Keys for entries are used in calls to <SuperMap.Lang.translate>. Entry bodies are normal strings or strings formatted for use with <SuperMap.String.format> calls.

(constant) FileTypes

该文件用于存储一些公用常量

zh

Namespace: SuperMap.Lang["zh-CN"] Dictionary for Simplified Chinese. Keys for entries are used in calls to <SuperMap.Lang.translate>. Entry bodies are normal strings or strings formatted for use with <SuperMap.String.format> calls.

Type Definitions

RequestCallback(serviceResult)

CommonServiceBase.js, line 384

Server request callback function

Name Type Description
serviceResult Object
Name Type Description
result Object

The result returned by the server.

object Object

An object that publishes an application event.

type Object

The type of event.

element Object

A DOM node that accepts browser events.

Example
var requestCallback = function (serviceResult){
     console.log(serviceResult.result);
}
new QueryService(url).queryByBounds(param, requestCallback);