ionic-team / ionic-v1

The repo for Ionic 1.x. For the latest version of Ionic, please see https://github.com/ionic-team/ionic
Other
193 stars 187 forks source link

Bing Maps in Ionic v1 Framework is not working #237

Open jgw96 opened 7 years ago

jgw96 commented 7 years ago

From @yogi2806 on April 5, 2017 12:20

I am trying to use Bing maps API in ionic v1 framework app which builds on android,iOS and windows platforms.

I am facing problem in Bing maps which is plotting properly but zoom in,zoom out,changing the map type from aerial to road & fetching current location these buttons are not functional.I have proper API key to access maps. I even tried it doing ionic serve on browser but nothing helped me.

I have followed code from the below link: https://github.com/eppineda/ionic.bing-map-demo

I have also changed JS src file of bing maps in index.html page from: src='http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0'

To

src='http://www.bing.com/api/maps/mapcontrol'

The src file i have changed referring to Microsoft document pages as below: http://www.bing.com/api/maps/sdkrelease/mapcontrol/isdk#loadMapAsync+HTML

Below are setup info: Cordova CLI: 6.4.0 Ionic CLI Version: 2.1.18 Ionic App Lib Version: 2.1.9 ios-deploy version: Not installed ios-sim version: Not installed OS: Windows 10 Node Version: v7.3.0 Xcode version: Not installed

Please help me out to figure this out.It would be really helpful with the solution. Thanks in advance.

Copied from original issue: driftyco/ionic#11066

jgw96 commented 7 years ago

From @AmitMY on April 5, 2017 15:21

https://github.com/driftyco/ionic-v1

yogi2806 commented 7 years ago

could you please elaborate for the fix ? Do i need to use ionic 1.3.3 "germany" (2017-02-22) version for the bing maps issue i am facing?

yogi2806 commented 7 years ago

even after installing 1.3.3 version i am facing the issue. The bing maps are working fine same in angularjs but blocked few functionality in ionic