| | |
| | | , 100611: ['#00EE00', '#FF9F7F', '#FFD700', '#ff6600', '#ff0066', '#ff6666'] |
| | | } |
| | | |
| | | var default_system_params = { geoserver_url_predix: 'http://58.246.27.194:7011/', nodejs_url_predix: 'http://58.246.27.194:7012/', userid: 2, queryDataType: 'hour', weathercitycode: '101020100', wind360: 0, windSpeed: 10, is_single_taxi_replaying: false }; |
| | | var default_system_params = { geoserver_url_predix: 'http://58.246.27.194:7011/', nodejs_url_predix: 'http://58.246.27.194:7012/', userid: 2, queryDataType: 'hour', weathercitycode: '101020100', wind360: 0, windSpeed: 10, is_single_taxi_replaying: false,summary_topN_count :50}; |
| | | |
| | | function bindPopupFunction(event) { |
| | | |
| | |
| | | this.defaultDate = getDefaultDateLocal(); |
| | | this.defaultDateTime = getDefaultDateTimeLocal(); |
| | | |
| | | // var queryDataTStartGeoday = this.defaultDate |
| | | // queryDataTStartGeoday = this.defaultDate.replace(/\:/g,"").replace(/-/g,"").replace(/\s+/g,""); |
| | | // mars3d.global_variables.queryDataTStartGeo = queryDataTStartGeoday |
| | | // reLoadLayers(); |
| | | |
| | | |
| | | // var queryDataTStartGeohour = this.defaultDateTime |
| | | // queryDataTStartGeohour = this.defaultDateTime.replace(/\:/g,"").replace(/-/g,"").replace(/\s+/g,""); |
| | | // mars3d.global_variables.queryDataTStartGeo = queryDataTStartGeohour |
| | | // console.log(mars3d.global_variables.queryDataTStartGeo) |
| | | reLoadLayers(); |
| | | } |
| | | |
| | | //每个窗口创建完成后调用 |
| | |
| | | |
| | | function reloadData() { |
| | | $("#top10Tb").empty(); |
| | | var backend_url = thisWidget.nodejs_url_predix + "dataapi/Bdata?bid=get_" + current_selected_monitor_type + "_list&datatype=" + thisWidget.datatype + "&datatime=" + thisWidget.datatime + "&qindex=" + current_selected_monitor_qindex + "&pageno=1&pagesize=30"; |
| | | var backend_url = thisWidget.nodejs_url_predix + "dataapi/Bdata?bid=get_" + current_selected_monitor_type + "_list&datatype=" + thisWidget.datatype + "&datatime=" + thisWidget.datatime + "&qindex=" + current_selected_monitor_qindex + "&pageno=1&pagesize="+default_system_params.summary_topN_count; |
| | | //加入cntId |
| | | $.ajax({ |
| | | type: 'get', |