init
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -85,6 +85,7 @@ export default { | ... | @@ -85,6 +85,7 @@ export default { |
85 | [dkCoord.bbox[3], dkCoord.bbox[2]] | 85 | [dkCoord.bbox[3], dkCoord.bbox[2]] |
86 | ])); | 86 | ])); |
87 | } else { | 87 | } else { |
88 | //地块不含外包矩形 自己计算 | ||
88 | const result = bbox(geojson); | 89 | const result = bbox(geojson); |
89 | map.fitBounds(L.latLngBounds([ | 90 | map.fitBounds(L.latLngBounds([ |
90 | [result[1], result[0]], | 91 | [result[1], result[0]], | ... | ... |
-
Please register or sign in to post a comment