From 2fb397e4a31d14880ed2524f898ae67a0d664c06 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期二, 17 十二月 2024 11:24:29 +0800 Subject: [PATCH] 1.在地图中心显示中心点。 2.优化地图覆盖物显示,使显示的图标正对坐标。 3.优化地图覆盖物文字居中显示。 --- app/src/main/java/com/dayu/pipirrapp/bean/net/UplodFileState.java | 46 +++++++++++++++++++++++++++++++--------------- 1 files changed, 31 insertions(+), 15 deletions(-) diff --git a/app/src/main/java/com/dayu/pipirrapp/bean/net/UplodFileState.java b/app/src/main/java/com/dayu/pipirrapp/bean/net/UplodFileState.java index 17ec2bf..2980e4b 100644 --- a/app/src/main/java/com/dayu/pipirrapp/bean/net/UplodFileState.java +++ b/app/src/main/java/com/dayu/pipirrapp/bean/net/UplodFileState.java @@ -1,6 +1,8 @@ package com.dayu.pipirrapp.bean.net; -import java.io.File; +import com.dayu.pipirrapp.net.BaseResponse; + +import retrofit2.Call; /** * Copyright (C), 2023, @@ -10,9 +12,19 @@ */ public class UplodFileState { int state = 0;//0姝e湪涓婁紶 1涓婁紶瀹屾垚 2涓婁紶澶辫触 - File file;//涓婁紶鐨勬枃浠� - String url;//涓婁紶鏂囦欢鍚庤繑鍥炵殑url + String filePath;//涓婁紶鐨勬枃浠� int number;//澶辫触鍚庨噸璇曠殑娆℃暟 + String id;//涓婁紶鍚庣殑id + String webPath;//涓婁紶鍚庣殑鍦板潃 + Call<BaseResponse> thisCall;//褰撳墠璇锋眰 + + public Call<BaseResponse> getThisCall() { + return thisCall; + } + + public void setThisCall(Call<BaseResponse> thisCall) { + this.thisCall = thisCall; + } public int getNumber() { return number; @@ -26,10 +38,6 @@ } - public UplodFileState(File file) { - this.file = file; - } - public int getState() { return state; } @@ -38,19 +46,27 @@ this.state = state; } - public File getFile() { - return file; + public String getFilePath() { + return filePath; } - public void setFile(File file) { - this.file = file; + public void setFilePath(String filePath) { + this.filePath = filePath; } - public String getUrl() { - return url; + public String getId() { + return id; } - public void setUrl(String url) { - this.url = url; + public void setId(String id) { + this.id = id; + } + + public String getWebPath() { + return webPath; + } + + public void setWebPath(String webPath) { + this.webPath = webPath; } } -- Gitblit v1.8.0