Javascript 谷歌地图的问题在于坐标类型不同

Javascript 谷歌地图的问题在于坐标类型不同,javascript,jquery,google-maps,google-maps-api-3,Javascript,Jquery,Google Maps,Google Maps Api 3,我的GPS提供这些坐标“0023 36.8620 S,W 0046 38.1003” 但我不能把他们放在谷歌地图API上,似乎他不接受这种类型,有什么不对?他会接受吗?还是需要转换?我怎样才能转化 对不起,我的英语太差了 谷歌地图使用十进制度数(WGS84) 您的设备应具有以这种格式显示的设置 var coordenadas= [{ "Latitude": "0023 30.1119 S", "Longitude": "0046 42.3806

我的GPS提供这些坐标“0023 36.8620 S,W 0046 38.1003” 但我不能把他们放在谷歌地图API上,似乎他不接受这种类型,有什么不对?他会接受吗?还是需要转换?我怎样才能转化


对不起,我的英语太差了

谷歌地图使用十进制度数(WGS84)

您的设备应具有以这种格式显示的设置

var coordenadas= [{
            "Latitude": "0023 30.1119 S",
            "Longitude": "0046 42.3806 W",
            "Velocidade": "0.00",
            "Data": "2013-04-29 20:05:09"
        }, {
            "Latitude": "0023 30.1672 S",
            "Longitude": "0046 42.4452 W",
            "Velocidade": "21.00",
            "Data": "2013-04-29 20:31:05"
        }, {
            "Latitude": "0023 31.6420 S",
            "Longitude": "0046 46.3419 W",
            "Velocidade": "0.00",
            "Data": "2013-04-29 20:45:01"
        }, {
            "Latitude": "0023 31.4505 S",
            "Longitude": "0046 46.1651 W",
            "Velocidade": "155.00",
            "Data": "2013-04-29 21:01:19"
        }, {
            "Latitude": "0023 36.6380 S",
            "Longitude": "0046 40.4935 W",
            "Velocidade": "299.00",
            "Data": "2013-04-29 21:15:05"
        }, {
            "Latitude": "0023 36.8620 S",
            "Longitude": "0046 38.1003 W",
            "Velocidade": "0.00",
            "Data": "2013-04-29 21:45:06"
        }
    ];


    var map = new google.maps.Map(document.getElementById('map_canvas'), {
        zoom: 13,
        center: new google.maps.LatLng(-23.5525, -46.638851),
        mapTypeId: google.maps.MapTypeId.ROADMAP
    });
    var infowindow = new google.maps.InfoWindow();
    var image = 'beachflag.png';
    $.each(coordenadas, function (i, items) {
        marker = new google.maps.Marker({
            position: new google.maps.LatLng(items.Latitude, items.Longitude),
            map: map,
            icon: image
        });
        google.maps.event.addListener(marker, 'click', (function (marker, i) {
            return function () {
                infowindow.setContent();
                infowindow.open(map, items.Data);
            }
        })(marker, i));

        console.log(items);
    });