Open nmccready opened 8 years ago
From @pkarop on October 7, 2015 17:30
Are there any params for Google maps layer, so I can set language and api key through Javascript? I am trying something like this
layers: { baselayers: { googleRoadmap: { name: 'Google Streets', layerType: 'ROADMAP', type: 'google', layerParams: { key: key, language: $scope.language } } } }
Copied from original issue: tombatossals/angular-leaflet-directive#982
I dont think there is yet; but copying this service angular-google-maps would work.
From @pkarop on October 7, 2015 17:30
Are there any params for Google maps layer, so I can set language and api key through Javascript? I am trying something like this
Copied from original issue: tombatossals/angular-leaflet-directive#982