@kimap/indoor-positioning-sdk-vue2 3.4.1 → 3.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/KimapCore.browser.js +4 -1
- package/src/KimapCore.js +2 -2
package/package.json
CHANGED
package/src/KimapCore.browser.js
CHANGED
|
@@ -159,7 +159,10 @@
|
|
|
159
159
|
config.modelToRealScale = parseFloat(line.split(' ')[2]);
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
|
|
162
|
+
// 只在遇到 End Config Info 时停止(不要在 End Border Info 时停止)
|
|
163
|
+
if (line.indexOf('End Config Info') !== -1) {
|
|
164
|
+
break;
|
|
165
|
+
}
|
|
163
166
|
}
|
|
164
167
|
|
|
165
168
|
return foundConfig ? config : null;
|
package/src/KimapCore.js
CHANGED
|
@@ -252,8 +252,8 @@ function extractMapConfigFromOBJ(objContent) {
|
|
|
252
252
|
config.modelToRealScale = parseFloat(line.split(' ')[2]);
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
-
//
|
|
256
|
-
if (line.indexOf('End Config Info') !== -1
|
|
255
|
+
// 只在遇到 End Config Info 时停止(不要在 End Border Info 时停止)
|
|
256
|
+
if (line.indexOf('End Config Info') !== -1) {
|
|
257
257
|
break;
|
|
258
258
|
}
|
|
259
259
|
}
|