I work on angular 7
I assign values of lng and lat on function and map display empty why and how to solve problem
const coordinates = new google.maps.LatLng(lat ,lng);
map not display
if i make map as following it work
//const coordinates = new google.maps.LatLng(40.73061, -73.935242);
the below not working although lat and lng have initial values
const coordinates = new google.maps.LatLng(lat ,lng);
why and how to solve problem