Hi
I am using keyDragzoomApi on the google map an i am binding the this api on google map reference like:
map.enableKeyDragZoom({
key: 'shift'
});
It is working fine when I have loaded api fist time with any google map language like en.
src="//
maps.googleapis.com/maps/api/js?sensor=false&language=en"
but when i am changing the language dynamically by changing script tag src uri and calling call back function to initialize map. like
document.getElementById('maplink').src = "//
maps.googleapis.com/maps/api/js?sensor=false&language="+lng+"&callback=initializeMain";
Then binding keyDragzoom with google refrence is giving error on .
map.enableKeyDragZoom({
key: 'shift'
}); -> This line.
IE Error is: Object doesn't support this property or method
can you please help me on this.
Thanks in advance.