User1892050643 posted
Hello guys
Please help me for solving that problem
I have code :
var marker;
var map;
var mapProp;
var myCenter;
myCenter = new google.maps.LatLng(0.5719899, 124.3117468);
mapProp = { center: myCenter, zoom: 15, scrollwheel: false, draggable: true, mapTypeId: google.maps.MapTypeId.HYBRID };
map = new google.maps.Map(document.getElementById("LiveTrackingMap"), mapProp);
marker = new google.maps.Marker({ });
that code successfully working, but when I press ctrl + shift + i then goto console tab i got this error :
Uncaught ReferenceError: google is not defined
at HTMLDocument.<anonymous> ((index):338)
at j (jquery-2.1.4.min.js:2)
at Object.fireWith [as resolveWith] (jquery-2.1.4.min.js:2)
at Function.ready (jquery-2.1.4.min.js:2)
at HTMLDocument.I (jquery-2.1.4.min.js:2)
i enter to ((index):338) and appear my code is error :
myCenter = new google.maps.LatLng(0.5719899, 124.3117468);.
So, what should i do for fix that ??
Regards