fuchengshen
2022-07-04 343ba87e09501be7a63abde000a43e13a5b4f03e
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
{
  "layers": [
    {
      "id": 1,
      "name": "POI信息点"
    },
    {
      "pid": 1,
      "name": "政府机关",
      "url": "//server.mars3d.cn/arcgis/rest/services/mars/hefei/MapServer/18",
      "symbol": {
        "styleOptions": {
          "image": "img/marker/mark3.png",
          "scale": 1,
          "scaleByDistance": true,
          "scaleByDistance_far": 20000,
          "scaleByDistance_farValue": 0.5,
          "scaleByDistance_near": 1000,
          "scaleByDistance_nearValue": 1,
          "highlight": { "type": "click", "image": "img/marker/mark1.png" },
          "label": {
            "text": "{NAME}",
            "font_size": 17,
            "color": "#ffffff",
            "outline": true,
            "outlineColor": "#000000",
            "pixelOffsetY": -50,
            "distanceDisplayCondition": true,
            "distanceDisplayCondition_far": 2000,
            "distanceDisplayCondition_near": 0
          }
        }
      },
      "columns": [
        {
          "field": "NAME",
          "name": "名称"
        },
        {
          "field": "address",
          "name": "地址"
        }
      ],
      "queryCoumns": ["NAME"]
    },
    {
      "pid": 1,
      "name": "停车场",
      "url": "//server.mars3d.cn/arcgis/rest/services/mars/hefei/MapServer/14",
      "symbol": {
        "styleOptions": {
          "image": "img/marker/mark4.png",
          "scale": 1,
          "scaleByDistance": true,
          "scaleByDistance_far": 20000,
          "scaleByDistance_farValue": 0.5,
          "scaleByDistance_near": 1000,
          "scaleByDistance_nearValue": 1,
          "highlight": { "type": "click", "image": "img/marker/mark2.png" },
          "label": {
            "text": "{NAME}",
            "font_size": 17,
            "color": "#ffffff",
            "outline": true,
            "outlineColor": "#000000",
            "pixelOffsetY": -50,
            "distanceDisplayCondition": true,
            "distanceDisplayCondition_far": 2000,
            "distanceDisplayCondition_near": 0
          }
        }
      },
      "columns": [
        {
          "field": "NAME",
          "name": "名称"
        },
        {
          "field": "address",
          "name": "地址"
        }
      ],
      "queryCoumns": ["NAME", "address"]
    },
    {
      "id": 2,
      "name": "道路"
    },
    {
      "pid": 2,
      "name": "县道",
      "url": "//server.mars3d.cn/arcgis/rest/services/mars/hefei/MapServer/29",
      "symbol": {
        "type": "corridorP",
        "styleOptions": {
          "width": 10,
          "cornerType": "MITERED",
          "color": "#00ff00",
          "opacity": 0.6,
          "distanceDisplayCondition": false,
          "distanceDisplayCondition_far": 100000,
          "distanceDisplayCondition_near": 0,
          "clampToGround": false,
          "highlight": { "type": "click", "color": "#ff0000"}
        }
      },
      "columns": [
        {
          "field": "NAME",
          "name": "名称"
        },
        {
          "field": "address",
          "name": "地址"
        },
        {
          "field": "长度",
          "name": "长度",
          "type": "number",
          "unit": "米"
        }
      ],
      "queryCoumns": ["NAME", "address"]
    },
    {
      "pid": 2,
      "name": "乡镇村道",
      "url": "//server.mars3d.cn/arcgis/rest/services/mars/hefei/MapServer/28",
      "symbol": {
        "styleOptions": {
          "color": "#3388ff",
          "width": 3,
          "highlight": { "type": "click", "color": "#ff0000"}
        }
      },
      "columns": [
        {
          "field": "NAME",
          "name": "名称"
        },
        {
          "field": "address",
          "name": "地址"
        },
        {
          "field": "长度",
          "name": "长度",
          "type": "number",
          "unit": "米"
        }
      ],
      "queryCoumns": ["NAME", "address"]
    },
    {
      "id": 3,
      "name": "区域"
    },
    {
      "pid": 3,
      "name": "建筑物",
      "url": "//server.mars3d.cn/arcgis/rest/services/mars/hefei/MapServer/37",
      "symbol": {
        "styleOptions": {
          "color": "#0d3685",
          "outlineColor": "#0d3685",
          "opacity": 0.6,
          "highlight": { "type": "click", "color": "#ff0000"}
        }
      },
      "buildings": {
        "cloumn": "floor"
      },
      "columns": [
        {
          "field": "NAME",
          "name": "名称"
        },
        {
          "field": "floor",
          "name": "楼层"
        },
        {
          "field": "长度",
          "name": "周长",
          "type": "number",
          "unit": "米"
        },
        {
          "field": "面积",
          "name": "面积",
          "type": "number",
          "unit": "平方米"
        }
      ],
      "queryCoumns": ["NAME"]
    }
  ]
}