回答編集履歴
2
修正
test
CHANGED
@@ -24,7 +24,7 @@
|
|
24
24
|
|
25
25
|
'type': 'Polygon',
|
26
26
|
|
27
|
-
'coordinates': [[point.x, point.y] for point in s
|
27
|
+
'coordinates': [[point.x, point.y] for point in mesh.latlng]]
|
28
28
|
|
29
29
|
}
|
30
30
|
|
1
修正
test
CHANGED
@@ -1,6 +1,4 @@
|
|
1
|
-
下記のように
|
1
|
+
下記のようにした場合どうでしょうか。
|
2
|
-
|
3
|
-
|
4
2
|
|
5
3
|
```
|
6
4
|
|
@@ -26,24 +24,10 @@
|
|
26
24
|
|
27
25
|
'type': 'Polygon',
|
28
26
|
|
29
|
-
'coordinates': [[
|
27
|
+
'coordinates': [[point.x, point.y] for point in self.latlng]]
|
30
|
-
|
31
|
-
[-109.05, 41.00],
|
32
|
-
|
33
|
-
[-102.06, 40.99],
|
34
|
-
|
35
|
-
[-102.03, 36.99],
|
36
|
-
|
37
|
-
[-109.04, 36.99],
|
38
|
-
|
39
|
-
[-109.05, 41.00]
|
40
|
-
|
41
|
-
]]
|
42
28
|
|
43
29
|
}
|
44
30
|
|
45
31
|
}
|
46
32
|
|
47
33
|
```
|
48
|
-
|
49
|
-
https://leafletjs.com/examples/geojson/
|