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.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-maps-js-api-v3/-/Yal5vGQNAV0J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.