I have been getting this error
Invalid argument
from Google map v3 in Edge browser. Everything else is working fine even after getting the error. This strange behavior is occurring only when I try to move the cursor out of the map to the right side (over the browser scroll). It is happening only in Edge.
I have created a JSFiddle which is in the pristine condition as Google mentioned. But am getting the same error in that case also. I have reported this bug to the google map support forum and in the meanwhile trying to find a solution from the largest community I know. Thanks in advance. You can check the code below
function initMap() {
var uluru = {lat: -25.344, lng: 131.036};
var map = new google.maps.Map(
document.getElementById('map'), {zoom: 4, center: uluru});
var marker = new google.maps.Marker({position: uluru, map: map});
}
from Invalid argument - Google map error in Edge browser
No comments:
Post a Comment