well i just put some markers on google map and it works as i want and marker is displayed as required on the map but i get this error in the console i don't know why which makes the app runs on android but not on windows phone

```
function initMap() {
        var map;
        var faisalabad = { lat: 30.044281, lng: 31.340002 };

        $('#locaitonBtn').click(function () {
            if (navigator.geolocation) {
                navigator.geolocation.getCurrentPosition(function (position) {
                    var latlng = new google.maps.LatLng(position.coords.latitude, position.coords.longitude);
                    map.setCenter(latlng);
                });
            }
        })

        map = new google.maps.Map(document.getElementById('map'), {
            zoom: 10,
            center: faisalabad,
            disableDefaultUI: true
        });
        $.ajax({
            async:false,
            url: "https://someUrl",
            method: "GET",
            dataType: 'json',
            success: function (data) {
                var infowindow = new google.maps.InfoWindow();
                for (i = 0; i <= data.targets.length; i++) {
                    var myLatLng = new google.maps.LatLng(data.targets[i].targetLat, data.targets[i].targetLong);
                    myMarker = new google.maps.Marker({
                        map: map,
                        animation: google.maps.Animation.DROP,
                        position: myLatLng
                    });

                    google.maps.event.addListener(myMarker, 'click', (function (myMarker, i) {
                        return function () {
                            infowindow.setContent(data.targets[i].targetName);
                            infowindow.open(map, myMarker);
                        }
                    })(myMarker, i));
                }
            }
        })

    }

```