You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3cf7a11
Browse filesBrowse the repository at this point in the historyBrowse files
- v6 报 `Failed to resolve module specifier "maplibregl-l7-render"`:业务 module import 了 render 但 import map 缺该裸名(见 [error-handling.md](../../rules/error-handling.md) 第 7 节);报 `L7.LineLayer is not a constructor`:缺 `window.L7 = L7Render` 桥接;报 `map.getCRS is not a function`:核心映成了普通核心,需改映 enhance。v5 报 `L7.LineLayer is not a constructor`:render 0.0.4 script 缺失或顺序不对。
131
+
- v6 报 `Failed to resolve module specifier "maplibregl-l7-render"`:业务 module import 了 render 但 import map 缺该裸名(见 [error-handling.md](../../rules/error-handling.md) 第 7 节);报 `L7.LineLayer is not a constructor`:未调用 `setL7Render(L7)` 或注入对象不是 render 命名空间;报 `map.getCRS is not a function`:核心映成了普通核心,需改映 enhance。v5 报 `L7.LineLayer is not a constructor`:render 0.0.4 script 缺失或顺序不对。
setL7Render(L7); //必须在 new L7Layer 之前;npm 项目同样用裸名 iclient-maplibregl
94
95
// 业务代码……
95
96
</script>
96
97
```
97
98
98
-
不使用 L7 的页面零配置:import map 只映核心、不请求 render。缺 render 映射时报 `Failed to resolve module specifier "maplibregl-l7-render"`;缺 `window.L7` 桥接报`L7.LineLayer is not a constructor`;核心没映 enhance 报 `map.getCRS is not a function`。1.0.0 mjs CDN 待发布;生成时若仍 404,回复中注明可换自托管同目录 mjs,不因此降级 v5。
99
+
不使用 L7 的页面零配置:import map 只映核心、不请求 render。缺 render 映射时报 `Failed to resolve module specifier "maplibregl-l7-render"`;未调用 `setL7Render(L7)` 报`L7.LineLayer is not a constructor`;核心没映 enhance 报 `map.getCRS is not a function`。1.0.0 mjs CDN 待发布;生成时若仍 404,回复中注明可换自托管同目录 mjs,不因此降级 v5。
0 commit comments