Uncaught TypeError: Cannot read property 'mapTypeControl' of undefined
Posted: Mon Jan 25, 2016 8:10 am
Hello,
How to set Google Map options?
Uncaught TypeError: Cannot read property 'mapTypeControl' of undefined
var map;
function initMap()
{
Code: Select all
map = Apperyio('googlemap').gmap;
map.mapTypeControl(false);
map.panControl(true);
map.streetViewControl(false);
if(!map) {
setDelay();
}
}
function setDelay() {
setTimeout(initMap, 50);
}