【问题标题】:agm/core localization Angularagm/核心本地化角
【发布时间】:2022-12-03 22:35:36
【问题描述】:

I want to localize google maps component using \"@agm/core\": \"1.0.0\" and switching languages without reloading browser. Any ideas?

AgmCoreModule.forRoot({
  apiKey: \'apikey\',
  language: localStorage && localStorage.gml || \'en\'
}),

The above code is working only if you reload the browser tab.

    标签: angular agm-core


    【解决方案1】:
    猜你喜欢
    • 2023-04-06
    • 1970-01-01
    • 2021-08-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-01-13
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多