I have issue on bing maps as explained in below link:
Please help me with inputs to resolve this.Thanks.
I have issue on bing maps as explained in below link:
Please help me with inputs to resolve this.Thanks.
According to the latest v8 documentation, you need to refer to the latest JS Source file for Bing Maps
<script type='text/javascript' src='http://www.bing.com/api/maps/mapcontrol?callback=loadMapScenario' async defer></script>
For Asynchronous calls, you have to create a callback function.
Reference: http://www.bing.com/api/maps/sdkrelease/mapcontrol/isdk#loadMapWithOptions+HTML
Alternatively, you can still use v7 where zoom options are working
<script type="text/javascript" src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0"></script>
Only zoom works using
<script type="text/javascript" src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0"></script>
but toggling between map type i.e. road and aerial mode wont happen.That is also one of reason i used other script.
Please let me know if any other option works.
have you looked here
https://www.bingmapsportal.com/isdk/ajaxv7
same code has been referred.
Any help on these guys ?? Stuck with these from couple of days.