这里 javascript 供应商迁移
Here javascript vendor migration
能够使用 apikey 进行身份验证。我将 NokieHere javascript 库从 3.0 迁移到 3.1。但不幸的是,由于此处核心 javascript 代码发生了很多变化,我现有的代码中断了。
我需要按如下方式配置平台:
const platform = new H.service.Platform({
apikey: 'my-api-key'
});
let customeRouter = {...} // this object aims to pass the waypoints in the request body to avoid having a very long URL ...
platform .configure(customeRouter);
在 3.1 javascript 版本中,删除了 configure()
方法。那么有人做过 NokiaHere javascripts 库迁移吗?
提前致谢?
Platform#configure()
方法已被删除。
这是从 3.0 版迁移到 3.1 版的用户指南:HERE javascript API migration guide
能够使用 apikey 进行身份验证。我将 NokieHere javascript 库从 3.0 迁移到 3.1。但不幸的是,由于此处核心 javascript 代码发生了很多变化,我现有的代码中断了。
我需要按如下方式配置平台:
const platform = new H.service.Platform({
apikey: 'my-api-key'
});
let customeRouter = {...} // this object aims to pass the waypoints in the request body to avoid having a very long URL ...
platform .configure(customeRouter);
在 3.1 javascript 版本中,删除了 configure()
方法。那么有人做过 NokiaHere javascripts 库迁移吗?
提前致谢?
Platform#configure()
方法已被删除。
这是从 3.0 版迁移到 3.1 版的用户指南:HERE javascript API migration guide