Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -267,13 +267,7 @@
}

/** 重置地图状态*/
function initStatus() {
removeClassAttribute('graph', 'active');
if (themeLayer) {
themeLayer.removeFromMap();
themeLayer = null;
}
}
function initStatus() {}

/** 移除类属性*/
function removeClassAttribute(className, att) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
function AnalysisSuccess(data) {
//停止进度条
stopPressBar();
if (!data.succeed) {
if (!data.success) {
alert("要素多圈缓冲分析失败,请检查参数!");
} else {
if (data.results.length != 0 && data.results != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
function AnalysisSuccess(data) {
//停止进度条
stopPressBar();
if (!data.succeed) {
if (!data.success) {
alert("圆裁剪分析失败,请检查参数!");
} else {
if (data.results && data.results.length != 0) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
function AnalysisSuccess(data) {
//停止进度条
stopPressBar();
if (!data.succeed) {
if (!data.success) {
alert("图层叠加分析,请检查参数!");
} else {
if (data.results.length !== 0) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
* @param {json对象} data 获取结果对象
*/
function measureCallBack(data) {
if (data && data.succeed) {
if (data && data.success) {
var length = data.value;
var output;
if (length > 1000000) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
* @param {json对象} data 获取结果对象
*/
function measureCallBack(data) {
if (data && data.succeed) {
if (data && data.success) {
var length = data.value;
var output;
if (length > 100) {
Expand Down