View Full Version : Bing map api problem

12-22-2011, 04:10 AM
I am working on bing map.
I have many address for property and i want nearest tube station's information for every address in UK.
I want to store all data in mysql database.
Plz any working example....
Thanks for reply...

function businessDisambiguationExample()
if (!directionsManager) { createDirectionsManager(); }
directionsManager.resetDirections({resetRequestOptions: true});

var address1 = document.getElementById("address").value = 'address here';
var seattleWaypoint = new Microsoft.Maps.Directions.Waypoint({ address: address1 });
//var mcdonaldsWaypoint = new Microsoft.Maps.Directions.Waypoint({ address: 'Nationalrailstations' });
var mcdonaldsWaypoint = new Microsoft.Maps.Directions.Waypoint({ address: 'tubestations' });
// Set the element in which the itinerary will be rendered
directionsManager.setRenderOptions({ itineraryContainer: document.getElementById('directionsItinerary') });
// Set Route Mode to driving
directionsManager.setRequestOptions({ routeMode: Microsoft.Maps.Directions.RouteMode.driving });
//alert('Calculating directions...');

i use this function for searching but not working properly...
Reply plz..........

12-22-2011, 01:47 PM
This isn't PHP code, its Javascript. Moving from PHP to Javascript forum.

12-23-2011, 04:01 AM
Yes, you are right...

But i call the function in php code and i want result in mysql database using php....
Plz Reply............

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum