Reference Source
public class | source

Waiting

等待框类

Example:

KQ.Control.Waiting.show(map, 'pin', 'bubble');

KQ.Control.Waiting.show(map, 'text', '<strong>Please waiting ……</strong>');

KQ.Control.Waiting.hide();

Static Method Summary

Static Public Methods
public static

close(): Null

关闭等待框

public static

hide(): Null

隐藏等待框

public static

show(map: Object, type: String, content: String, isWithoutClose: Boolean, className: String): Null

显示等待框

Static Public Methods

public static close(): Null source

关闭等待框

Return:

Null

public static hide(): Null source

隐藏等待框

Return:

Null

public static show(map: Object, type: String, content: String, isWithoutClose: Boolean, className: String): Null source

显示等待框

Params:

NameTypeAttributeDescription
map Object

地图对象

type String

类型,必须为'pin', 'text'

content String

内容 {type:pin, content:round|balls|bubble|flip|skeleton|eclipse|boxes|meter}; {type:text, content:the text}

isWithoutClose Boolean

是否不要关闭按钮

className String

额外添加class name

Return:

Null