View difference between Paste ID: 0ddcL89h and a9dqXqu9
SHOW: | | - or go back to the newest paste.
1-
# WMS support provided by adding either #ARCGIS_WMS_TRANSFORM or #GEOSERVER_WMS_TRANSFORM
1+
2-
# and providing the x y z in the format of x={x}&y={y}&z={z} in the query string url
2+
3-
# See WMSRequestInterceptor
3+
4
       blend: translucent
5
       blend_order: 0
6
   raster-overlay2:
7
       base: raster
8
       blend: translucent
9
       blend_order: 1
10
sources:
11
   local:
12
       type: Raster
13
       url: file:///data/user/0/com.onespatial.Editor.MobileEditor/files/tiles/layers/{z}/{x}/{y}.png
14
   wikimedia-maps:
15
       type: Raster
16
       url: https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png
17
layers:
18
  basemap:
19
   data: { source: wikimedia-maps }
20
   draw:
21
     raster-overlay1:
22-
 basemap:
22+
23
  local-map:
24
   data: { source: local }
25
   draw:
26
     raster-overlay2:
27-
 local-map:
27+
28
  Water:
29
    data: { source: Water }
30
    Water:
31
      filter: { type: Water }
32-
 Water:
32+
33
        polygons:
34
          color: [0.60, 0.86, 0.95, 1]
35
          order: 1001
36
  Land:
37
    data: { source: Land }
38
    Land:
39
      filter: { type: Land }
40
      draw:
41
        polygons:
42
          color: [1, 0.92, 0.75, 1]
43
          order: 1002
44
          cap: round
45
        lines:
46
          color: [0, 0, 0, 1]
47
          collide: false
48
          width: 1px
49
          order: 1002
50
          cap: round
51
  Building:
52
    data: { source: Building }
53
    Building:
54
      filter: { type: Building }
55
      draw:
56
        polygons:
57
          color: [0.83, 0.72, 0.95, 1]
58
          order: 1003
59
  RoadCentreLine:
60
    data: { source: RoadCentreLine }
61
    RoadCentreLine:
62
      filter: { type: RoadCentreLine }
63
      draw:
64
        lines:
65
          color: [0, 0, 0, 1]
66
          order: 1004
67
          width: 0px
68
  SewerPipe:
69
    data: { source: SewerPipe }
70
    SewerPipe:
71
      filter: { type: SewerPipe }
72
      draw:
73
        lines:
74
          color: [1, 0.33, 0, 1]
75
          order: 1005
76
          width: 1px
77
  InferredSewer:
78
    data: { source: InferredSewer }
79
    InferredSewer:
80
      filter: { type: InferredSewer }
81
      draw:        
82
        lines:
83
          color: [1, 0.33, 0, 1]
84
          order: 1005
85
          width: 1px
86
  InferredServiceAssociation:
87
    data: { source: InferredServiceAssociation }
88
    InferredServiceAssociation:
89
      filter: { type: InferredServiceAssociation }
90
      draw:
91
        lines:
92
          color: [0.2, 0.65, 0, 1]
93
          order: 1007
94
          width: 1px
95
  SewerNode:
96
    data: { source: SewerNode }
97
    SewerNode:
98
      filter: { type: SewerNode }
99
      draw:
100
        points:
101
          color: [1, 0.33, 0, 1]
102
          order: 1008
103
          size: 6px
104
          cap: round
105
  InferredSewerNode:
106
    data: { source: InferredSewerNode }
107
    InferredSewerNode:
108
      filter: { type: InferredSewerNode }
109
      draw:
110
        points:
111
          color: [0, 0.65, 0.45, 1]
112
          order: 1009
113
          size: 6px
114
          cap: round
115
  Property:
116
    data: { source: Property }
117
    Property:
118
      filter: { type: Property }
119
      draw:        
120
        points:
121
          color: [0.5, 0.5, 0.5, 1]
122
          order: 1010
123
          size: 6px
124
          cap: round
125
  Manhole:
126
    data: { source: Manhole }
127
    Manhole:
128
      filter: { type: Manhole }
129
      draw:
130
        points:
131
          color: [0, 0, 0.8, 0.7]
132
          order: 1011
133
          size: 6px
134
          cap: round
135
136
  MTTerminators:
137
    data: { source: MTTerminators }
138
    MTTerminators:
139
      filter: { type: MTTerminators }
140
      draw:
141
        points:
142
          color: [1, 0, 0.8, 0.7]
143
          order: 1011
144
          size: 6px
145
          cap: round
146
147
  HighlightLayer:
148
    data: { source: HighlightLayer }
149
    highlight:
150
       filter: { type: highlight }
151
       draw:
152
         polygons:
153
           color: [0.5, 0.5, 0.5, 0.3]
154
           collide: false
155
           order: 2006
156
           cap: round
157
         lines:
158
           color: [0.5, 0.2, 0.2, 0.7]
159
           collide: false
160
           width: 4px
161
           order: 2007
162
           cap: round
163
         points:
164
           color: [0.2, 0.2, 0.7, 0.7]
165
           collide: false
166
           size: 8px
167
           order: 2008
168
           cap: round
169
  RubberBandLayer:
170
    data: { source: RubberBandLayer }
171
    rubberband:       
172
       draw:
173
         polygons:
174
           color: [0.5, 0.5, 0.5, 0.3]
175
           collide: false
176
           order: 2006
177
           cap: round
178
         lines:
179
           color: [0.5, 0.2, 0.2, 0.7]
180
           collide: false
181
           width: 4px
182
           order: 2007
183
           cap: round
184
         points:
185
           color: [0.2, 0.2, 0.7, 0.7]
186
           collide: false
187
           size: 8px
188
           order: 2008
189
           cap: round