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 }}
This repository has been archived by the owner on May 11, 2020. It is now read-only.
I am using ngmap version 1.18.4, angular version 1.4.9. I want to switch language but it didn't reflect. I saw couple of issues that are already discussed, e.g. #760
Above issue closed by suggesting to remove script tag. I don't have script tag which loads google-maps.
I tried different combinations in map-lazy-load-params but nothing worked. Few combinations were: $scope.mapParams = '&language=' + $scope.locale; $scope.mapParams = 'https://maps.googleapis.com/maps/api/js&language=' + $scope.locale;
Static language works perfectly fine like I did this to verify map language change or not. <div map-lazy-load="https://maps.google.com/maps/api/js?key=abc&v=3.34&language=ja">
Can someone tell me the solution?
The text was updated successfully, but these errors were encountered:
adeelasghar88
changed the title
Cannot able to switch language dynamically
Not able to switch language dynamically
Oct 18, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am using ngmap version 1.18.4, angular version 1.4.9. I want to switch language but it didn't reflect. I saw couple of issues that are already discussed, e.g. #760
Above issue closed by suggesting to remove script tag. I don't have script tag which loads google-maps.
index.html:
<script src='bower_components/ngmap/build/scripts/ng-map.js'></script>
Controller code:
Html code:
I tried different combinations in map-lazy-load-params but nothing worked. Few combinations were:
$scope.mapParams = '&language=' + $scope.locale;
$scope.mapParams = 'https://maps.googleapis.com/maps/api/js&language=' + $scope.locale;
Static language works perfectly fine like I did this to verify map language change or not.
<div map-lazy-load="https://maps.google.com/maps/api/js?key=abc&v=3.34&language=ja">
Can someone tell me the solution?
The text was updated successfully, but these errors were encountered: