/**
* @constructor
*/
function XUIScatterMap() {
}
XUIScatterMap.prototype = {
//组件
/**
"title":{
"title":"标题",
"name":"title",
"type":"PUITitleInterface",
"index":0
}*/
/**
"tooltip":{
"title":"提示框",
"name":"tooltip",
"type":"PUITooltipInterface",
"index":0
}*/
/**
"scatter":{
"title":"散点图",
"name":"scatter",
"type":"PUIScatterInterface",
"index":0
}*/
/**
"effectScatter":{
"title":"带涟漪散点图",
"name":"effectScatter",
"type":"PUIEffectScatterInterface",
"index":1
}*/
//接口
/**
* 主标题
* @param {String} strTitle 标题
* @property {String} MainTittle "全国主要城市空气质量 - 百度地图"
*/
SetMainTittle:function (strTitle) {
},
/**
* 副标题
* @param {String} strTitle 标题
* @property {String} SubTittle "data from PM25.in"
*/
SetSubTittle:function (strTitle) {
},
/**
* 副标题链接
* @param {String} strTitleLink 标题
*/
SetSubTittleLink:function (strTitleLink) {
},
/**
* 小散点颜色
* @param {String} strColor 散点颜色
* @property {Color} ScatterPointColor "0xff800080"
*/
SetScatterPointColor:function (strColor) {
},
/**
* 动态散点颜色
* @param {String} strColor 散点颜色
* @property {Color} EffectScatterPointColor "0xff800080"
*/
SetEffectScatterPointColor:function (strColor) {
},
/**
* 动态散点动态颜色
* @param {String} strColor 动态颜色
* @property {Color} EffectScatterDynamicColor "0xff333333"
*/
SetEffectScatterDynamicColor:function (strColor) {
},
/**
* 缩放比例
* @param {Number} nZoom 缩放比例
* @property {Number} MapZoom 5
*/
SetMapZoom:function (nZoom) {
},
/**
* 中心点坐标
* @param {Float} fLongitude 经度
* @param {Float} fDimension 维度
* @property {Collection} Mapcenter [104.114129, 37.550339]
*/
SetMapcenter:function (fLongitude,fDimension) {
},
/**
* 是否可以拖动
* @param {Boolean} bDrag 是否拖动
* @property {Boolean} MapDrag true
*/
SetMapDrag:function (bDrag) {
},
/**
* 设置散点数据
* @param {Array} arrData 数据数组
*/
SetScatterData:function (arrData) {
},
/**
* 添加一个散点数据
* @param {String} strName 城市名
* @param {Float} fLongitude 经度
* @param {Float} fDimension 维度
* @param {Number} nValue 数值
*/
AddScatterData:function (strName,fLongitude,fDimension,nValue) {
},
/**
* 显示前多少数据
* @param {Number} nCount 缩放比例
* @property {Number} DataMaxCount 6
*/
SetDataMaxCount:function (nCount) {
},
/**
* 删除所有数据
*/
ClearAllData:function () {
},
/**
* 删除一个数据
* @param {string} strName 要删除的数据名称
*/
DelData:function (strName) {
},
/**
* 获得一个数据
* @param {String} strName 城市名称
*/
GetData:function (strName) {
},
/**
* 默认样式
* @param {String} strMapStyle 默认样式
* @property {Combo} MapStyle ["midnight","normal","light","dark","bluish","grayscale","hardedge","darkgreen","pink","grassgreen","googlelite","redalert"]
*/
SetMapStyle:function (strMapStyle) {
},
/**
* 添加平移缩放控件
* @param {Boolean} bHave 是否拥有平移缩放控件
* @property {Combo} NavigationControl [false,true]
*/
SetNavigationControl:function (bHave) {
},
/**
* 添加比例尺
* @param {Boolean} bHave 是否拥有比例尺
* @property {Combo} ScaleControl [false,true]
*/
SetScaleControl:function (bHave) {
},
/**
* 添加缩略图
* @param {Boolean} bHave 是否拥有缩略图
* @property {Combo} OverviewMapControl [false,true]
*/
SetOverviewMapControl:function (bHave) {
},
/**
* 添加混合图
* @param {Boolean} bHave 是否拥有混合图
* @property {Combo} MapTypeControl [false,true]
*/
SetMapTypeControl:function (bHave) {
},
}