Use Bing for geocoding and Google maps api to display a map

I have an application that currently uses google map APIs. I like maps much better and I feel that you have more options with google maps. The problem is that Google maps were very inaccurate when I give him the address to map, while Bing is currently 100%. I also like the look of the Bings Birds Eye, but it's not that important. My question is, can I use the Bing API to take the address that I give it, return the longitude and latitude, and then give it to my existing Google map to build the point. If so, how? I looked at Bing Maps and I could not find a good way to geocode the address. Below is my current google map code

var map;
var directionsPanel;
var directions;

function initialize() {
  map = new GMap(document.getElementById("map_canvas"));
  map.setCenter(new GLatLng(41.1255275,-73.6964801), 15);
  directionsPanel = document.getElementById("route");
  directions = new GDirections(map, directionsPanel);
  directions.load("from: ADDRESS 1 to: ADDRESS 2 ");

          map.addControl(new GSmallMapControl());
    map.addControl(new GMapTypeControl());

}

ADDRESS 2 , Bing

+3
4

AFAIK, Bing Maps Ajax Control . -: SOAP JSON XML.

0

, : http://www.microsoft.com/maps/product/terms.html

:

: . :

...

  • Bing Maps ;

Google , , .

+3

, Bing Maps API, , , . , api, , .

+1

Bing Locations API.

, . , Google.

+1

Source: https://habr.com/ru/post/1774608/


All Articles