0
안녕하세요 저는 사용자가 위치를 입력 할 수있는 매쉬업을 만들었습니다. IE7을 사용하면 거의 모든 위치가 지오 코딩 될 수 있지만 다른 브라우저에서는 지오 코딩 될 수 없습니다.() API를 최신 버전에서다른 브라우저에서 지오 코딩 할 수 없음
function addToMap(response) {
var x="Fa, France";
// Retrieve the object
if (x.length > 0 && x != "") {
if (!response || response.Status.code != 200) {
alert("Please enter a valid location.I cannot geocode it!");
}
else
{
place = response.Placemark[0];
// Retrieve the latitude and longitude
point = new GLatLng(place.Point.coordinates[1],
place.Point.coordinates[0]);
// Center the map on this point
map.setCenter(point, 4);}}
... 더 많은 코드
Firefox에서 FireBug를 사용하여 문제가 발생한 곳을 찾아 보았습니까? 단계별로 시도하십시오. – BobbyShaftoe
나는 그것을 시험해 보았다. 그러나 어떤 오류도 없었다. 모든 것이 좋다. – clrence
입력 한 샘플에 일부 코드가 누락되었습니다. GClientGeocoder는 어디에 있습니까? 전화는 어디에서합니까? '추가 코드'또는 테스트 페이지에 대한 링크를 게시 하시겠습니까? – RedBlueThing