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.