Browse Source

Change CDN url(end life RawGit)

pull/2072/head
Vladyslav_Prykhodko 7 years ago
committed by Andrew Shvayka
parent
commit
fb369d1d00
  1. 2
      ui/src/app/widget/lib/google-map.js

2
ui/src/app/widget/lib/google-map.js

@ -87,7 +87,7 @@ export default class TbGoogleMap {
this.initMapFunctionName = 'initGoogleMap_' + this.mapId;
window[this.initMapFunctionName] = function() { // eslint-disable-line no-undef, angular/window-service
lazyLoad.load({ type: 'js', path: 'https://cdn.rawgit.com/googlemaps/v3-utility-library/master/markerwithlabel/src/markerwithlabel.js' }).then( // eslint-disable-line no-undef
lazyLoad.load({ type: 'js', path: 'https://unpkg.com/@google/@1.2.3/src/markerwithlabel.js' }).then( // eslint-disable-line no-undef
function success() {
gmGlobals.gmApiKeys[tbMap.apiKey].loaded = true;
initGoogleMap();

Loading…
Cancel
Save