0

I have one component folder, is map (which is create for Google map).

This map folder contains map.component.html, map.component.css, map.component.ts files.

I have also external javascript file route.js which is use for loading map on map.

component.html file (which is in map component folder). So how am I import route.js file to map.component.html. How am I load google.maps.Map() instance onto map.component.html. Thank you in advance.

zgue
  • 3,793
  • 9
  • 34
  • 39
  • Possible duplicate of [Dynamically load external javascript file from Angular component](https://stackoverflow.com/questions/44204417/dynamically-load-external-javascript-file-from-angular-component) – Sandip - Frontend Developer Feb 20 '18 at 10:56
  • Possible duplicate of [angular 2 referencing external js file in index.html](https://stackoverflow.com/questions/41376263/angular-2-referencing-external-js-file-in-index-html) – SF..MJ Feb 20 '18 at 10:58
  • Possible duplicate of [Angular - Is it possible to load a jquery plugin for one component?](https://stackoverflow.com/questions/48765295/angular-is-it-possible-to-load-a-jquery-plugin-for-one-component) – Manzur Khan Feb 20 '18 at 11:03

0 Answers0