军标库
This commit is contained in:
35
src/main/java/com/yj/earth/params/Model.java
Normal file
35
src/main/java/com/yj/earth/params/Model.java
Normal file
@ -0,0 +1,35 @@
|
||||
package com.yj.earth.params;
|
||||
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
@SourceType("model")
|
||||
public class Model {
|
||||
private String id;
|
||||
private Position position;
|
||||
private String name;
|
||||
private boolean show;
|
||||
private Rotate scale;
|
||||
private String url;
|
||||
private double maximumScale;
|
||||
private String host;
|
||||
private Rotate rotate;
|
||||
private Map<String, Object> label;
|
||||
|
||||
@Data
|
||||
public static class Position {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Rotate {
|
||||
private double x;
|
||||
private double y;
|
||||
private double z;
|
||||
}
|
||||
}
|
||||
57
src/main/java/com/yj/earth/params/PolyhedronObject.java
Normal file
57
src/main/java/com/yj/earth/params/PolyhedronObject.java
Normal file
@ -0,0 +1,57 @@
|
||||
package com.yj.earth.params;
|
||||
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
@SourceType("polyhedronObject")
|
||||
public class PolyhedronObject {
|
||||
private String id;
|
||||
private String name;
|
||||
private List<Position> positions;
|
||||
private boolean show;
|
||||
private String color;
|
||||
private int height;
|
||||
private int extrudedHeight;
|
||||
private Map<String, Object> customView;
|
||||
private Label label;
|
||||
private Attribute attribute;
|
||||
private String richTextContent;
|
||||
|
||||
@Data
|
||||
public static class Position {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Label {
|
||||
private String text;
|
||||
private boolean show;
|
||||
private Position position;
|
||||
private int fontSize;
|
||||
private int fontFamily;
|
||||
private String color;
|
||||
private double lineWidth;
|
||||
private double pixelOffset;
|
||||
private String[] backgroundColor;
|
||||
private String lineColor;
|
||||
private boolean scaleByDistance;
|
||||
private int near;
|
||||
private int far;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Attribute {
|
||||
private Link link;
|
||||
|
||||
@Data
|
||||
public static class Link {
|
||||
private List<Object> content;
|
||||
}
|
||||
}
|
||||
}
|
||||
58
src/main/java/com/yj/earth/params/ScanStereoscopic.java
Normal file
58
src/main/java/com/yj/earth/params/ScanStereoscopic.java
Normal file
@ -0,0 +1,58 @@
|
||||
package com.yj.earth.params;
|
||||
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
@SourceType("scanStereoscopic")
|
||||
public class ScanStereoscopic {
|
||||
private String id;
|
||||
private String name;
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
private double radius;
|
||||
private boolean show;
|
||||
private String colorOut;
|
||||
private String colorIn;
|
||||
private int duration;
|
||||
private Map<String, Object> customView;
|
||||
private Label label;
|
||||
private Attribute attribute;
|
||||
private String richTextContent;
|
||||
|
||||
@Data
|
||||
public static class Position {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Label {
|
||||
private boolean show;
|
||||
private int fontSize;
|
||||
private int fontFamily;
|
||||
private String color;
|
||||
private double lineWidth;
|
||||
private double pixelOffset;
|
||||
private String[] backgroundColor;
|
||||
private String lineColor;
|
||||
private boolean scaleByDistance;
|
||||
private int near;
|
||||
private int far;
|
||||
private Position position;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Attribute {
|
||||
private Link link;
|
||||
|
||||
@Data
|
||||
public static class Link {
|
||||
private List<Object> content; // 表示空数组
|
||||
}
|
||||
}
|
||||
}
|
||||
22
src/main/java/com/yj/earth/params/TextBox.java
Normal file
22
src/main/java/com/yj/earth/params/TextBox.java
Normal file
@ -0,0 +1,22 @@
|
||||
package com.yj.earth.params;
|
||||
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
@SourceType("textBox")
|
||||
public class TextBox {
|
||||
private String id;
|
||||
private String text;
|
||||
private boolean show;
|
||||
private Map<String, Object> customView;
|
||||
private Position position;
|
||||
|
||||
@Data
|
||||
public static class Position {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
}
|
||||
30
src/main/java/com/yj/earth/params/Water.java
Normal file
30
src/main/java/com/yj/earth/params/Water.java
Normal file
@ -0,0 +1,30 @@
|
||||
package com.yj.earth.params;
|
||||
|
||||
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
@SourceType("water")
|
||||
public class Water {
|
||||
private String id;
|
||||
private String name;
|
||||
private Map<String, Object> customView;
|
||||
private List<Position> positions;
|
||||
private boolean show;
|
||||
private String color;
|
||||
private int frequency;
|
||||
private int animationSpeed;
|
||||
private int amplitude;
|
||||
private int height;
|
||||
|
||||
@Data
|
||||
public static class Position {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user