Skip to content

Commit 73ce45a

Browse files
committed
【update】component review by xiongjj
1 parent 90fe93b commit 73ce45a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

dist/mapboxgl/iclient-mapboxgl-vue.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,11 @@ function vertifyEpsgCode(firstFeature) {
196196
if (firstCoord[0][0] instanceof Array) {
197197
// type: Polygon
198198
firstCoord = firstCoord[0][0];
199+
200+
if (firstCoord[0] instanceof Array) {
201+
// type: MultiPolygon
202+
firstCoord = firstCoord[0];
203+
}
199204
} else {
200205
// type: LineString
201206
firstCoord = firstCoord[0];

dist/mapboxgl/iclient-mapboxgl-vue.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)