blob: 1bf5d25b4a6fa24fbc58fae605cd17e1625230e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
package com.mapbox.mapboxsdk.style;
import android.graphics.Bitmap;
import android.support.annotation.IntRange;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import com.mapbox.mapboxsdk.camera.CameraPosition;
import com.mapbox.mapboxsdk.style.layers.Layer;
import com.mapbox.mapboxsdk.style.layers.TransitionOptions;
import com.mapbox.mapboxsdk.style.light.Light;
import com.mapbox.mapboxsdk.style.sources.Source;
import java.util.List;
public class Style {
void loadJson(String json) {
}
void loadURL(String url) {
}
String getJson() {
return "";
}
String getURL() {
return "";
}
String getName() {
return "";
}
CameraPosition getDefaultCamera() {
return null;
}
TransitionOptions getTransitionOptions() {
return null;
}
void setTransitionOptions(TransitionOptions options) {
}
void setLight(Light light) {
}
Light getLight() {
return null;
}
Bitmap getImage(String image) {
return null;
}
void addImage(String id, Bitmap bitmap) {
}
void removeImage(String id) {
}
//@NonNull
List<Source> getSources() {
return null;
}
@Nullable
Source getSource(String id) {
return null;
}
void addSource(Source source) {
}
void removeSource(Source source) {
}
List<Layer> getLayers() {
return null;
}
@Nullable
Layer getLayer(String layerId) {
return null;
}
public void addLayer(@NonNull Layer layer) {
}
public void addLayerBelow(@NonNull Layer layer, @NonNull String below) {
}
public void addLayerAbove(@NonNull Layer layer, @NonNull String above) {
}
public void addLayerAt(@NonNull Layer layer, @IntRange(from = 0) int index) {
}
void removeLayer(String id) {
}
}
|