I use  directionsService.route  API to search route, the start address
is "中山公园,北京,中国", and the end address is “北京东城区东华门路中山公园”  but after
route searching, the endaddress change to "北京市东城社区学院, 1号 Panjiapo
Hutong, Dongcheng, Beijing, China, 100027"   .

the end address   "北京东城区东华门路中山公园" and  "北京市东城社区学院, 1号 Panjiapo Hutong,
Dongcheng, Beijing, China, 100027"   are   two  very different
places.


Could you give me some reason about it ,or could you give me some
suggestions about it.

thanks very much.

My code as below:

request = {
                                origin: start,
                                destination: end,
                                travelMode: 
google.maps.DirectionsTravelMode.DRIVING,
                                unitSystem: 
google.maps.DirectionsUnitSystem.METRIC
                        };

directionsService.route(request, function(result, status) {
if (status == google.maps.DirectionsStatus.OK) {
        
directionsDisplay.setPanel(document.getElementById("directionsPanel"));
}
}
);

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
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.

Reply via email to