Google Groups Home
Help | Sign in
Error thrown from Google API
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 43 - Collapse all   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Tony  
View profile
 More options Jun 17, 3:46 pm
From: Tony <tony.ste...@neighbournet.com>
Date: Tue, 17 Jun 2008 03:46:32 -0700 (PDT)
Local: Tues, Jun 17 2008 3:46 pm
Subject: Error thrown from Google API
I have suddenly started getting the following error in firefox when
displaying a map:

Error: this.Ve has no properties
Source File: http://maps.google.com/intl/en_ALL/mapfiles/116/maps2.api/main.js
Line: 711

in IE7 the error is : TypeError : 'this.Ve.width' is null or not an
object

the line in question is
S.prototype.ev=function(a){return new M(a.x+this.Ve.width,a.y
+this.Ve.height)};

I have only just started investigating why this is happening, but
since the code has not changed for a couple of weeks and it appears
the error has just started this morning, I was wondering if there has
been a change to the google code.

Tony


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
marcelo  
View profile
 More options Jun 17, 3:54 pm
From: marcelo <marcelo...@hotmail.com>
Date: Tue, 17 Jun 2008 03:54:35 -0700 (PDT)
Local: Tues, Jun 17 2008 3:54 pm
Subject: Re: Error thrown from Google API
Please follow the posting guidelines and post a linkk to your map.

--
Marcelo - http://maps.forum.nu
--


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tony  
View profile
 More options Jun 17, 4:01 pm
From: Tony <tony.ste...@neighbournet.com>
Date: Tue, 17 Jun 2008 04:01:26 -0700 (PDT)
Local: Tues, Jun 17 2008 4:01 pm
Subject: Re: Error thrown from Google API
Sorry , url :

http://services.chiswickw4.com/

On Jun 17, 11:54 am, marcelo <marcelo...@hotmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tony  
View profile
 More options Jun 17, 5:28 pm
From: Tony <tony.ste...@neighbournet.com>
Date: Tue, 17 Jun 2008 05:28:43 -0700 (PDT)
Local: Tues, Jun 17 2008 5:28 pm
Subject: Re: Error thrown from Google API
The error is happening within the  map setCenter function. I have
checked all the parameters and they appear to be ok. So I have wrapped
it in a try/catch so the error does not propogate , and the setCenter
still appears to work, despite the error.

On Jun 17, 11:46 am, Tony <tony.ste...@neighbournet.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
marcelo  
View profile
 More options Jun 17, 6:12 pm
From: marcelo <marcelo...@hotmail.com>
Date: Tue, 17 Jun 2008 06:12:55 -0700 (PDT)
Local: Tues, Jun 17 2008 6:12 pm
Subject: Re: Error thrown from Google API
Your page is made up of so many different .js files that I was unable
to find where the map is created within a reasonable amount of time.

--
Marcelo - http://maps.forum.nu
--


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ciandrew  
View profile
 More options Jun 17, 7:32 pm
From: ciandrew <andr...@completeinnovations.com>
Date: Tue, 17 Jun 2008 07:32:39 -0700 (PDT)
Local: Tues, Jun 17 2008 7:32 pm
Subject: Re: Error thrown from Google API
I've just started getting this error as well this morniong. I tried
putting try catches around the setCenter but it still happens.
Looks like something happened to the api script....

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tony  
View profile
 More options Jun 17, 7:41 pm
From: Tony <tony.ste...@neighbournet.com>
Date: Tue, 17 Jun 2008 07:41:13 -0700 (PDT)
Local: Tues, Jun 17 2008 7:41 pm
Subject: Re: Error thrown from Google API
Thats a relief, most people will only notice it when they clear their
browser cache.

On Jun 17, 3:32 pm, ciandrew <andr...@completeinnovations.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tony  
View profile
 More options Jun 17, 7:42 pm
From: Tony <tony.ste...@neighbournet.com>
Date: Tue, 17 Jun 2008 07:42:48 -0700 (PDT)
Local: Tues, Jun 17 2008 7:42 pm
Subject: Re: Error thrown from Google API
They site is still under developement, hence large number of files.
Maybe more luck with other person who has the problem.

On Jun 17, 2:12 pm, marcelo <marcelo...@hotmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
warden [Andrew Leach - Maps API Guru]  
View profile
 More options Jun 17, 7:45 pm
From: "warden [Andrew Leach - Maps API Guru]" <andrew.leac...@googlemail.com>
Date: Tue, 17 Jun 2008 07:45:04 -0700 (PDT)
Local: Tues, Jun 17 2008 7:45 pm
Subject: Re: Error thrown from Google API
On Jun 17, 12:01 pm, Tony <tony.ste...@neighbournet.com> wrote:

I think you're going to have to tell us how to reproduce the error.
There does appear to be a problem with the small maps (hover over the
signpost icon) but that's probably to do with putting maps in a hidden
div. I can't get the API to error.

Andrew


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mila  
View profile
 More options Jun 17, 11:46 pm
From: Mila <maureenstr...@hotmail.com>
Date: Tue, 17 Jun 2008 11:46:27 -0700 (PDT)
Local: Tues, Jun 17 2008 11:46 pm
Subject: Re: Error thrown from Google API
Getting same problem as of yesterday.

Unfortunately can't post a link but the error is here in the eval of
the api code

S.prototype.ev=function(a){return new M(a.x+this.Ve.width,a.y
+this.Ve.height)};

Here is the function called.  Will do some try / catch blocks as well.

    function initialize()
    {
      map = new GMap2(document.getElementById("map_canvas"));
      map.setCenter(new GLatLng(34, 0), 15);
      geocoder = new GClientGeocoder();
      document.forms[0].q.value = QueryString("postalCode");
      showLocation();
    }

    function addAddressToMap(response)
    {
      map.clearOverlays();
      if (!response || response.Status.code != 200)
      {
        alert("Sorry, we were unable to find that address");
      }
      else
      {
        place = response.Placemark[0];
        point = new GLatLng(place.Point.coordinates[1],
place.Point.coordinates[0]);
        map.addControl(new GLargeMapControl());
        var mapControl = new GMapTypeControl();
        map.addControl(mapControl);
        map.addControl(new GScaleControl());
        map.addControl(new GOverviewMapControl());
        geocoder.getLatLng(     document.forms[0].q.value,
function(point) {      if (!point)
{        alert(document.forms[0].q.value + " not found");      } else
{        map.setCenter(point, 15);        var marker = new
GMarker(point);        map.addOverlay(marker);      }    }  );
      }
    }

Sorry, not too pretty on cut and paste.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
spotgratis@gmail.com  
View profile
 More options Jun 18, 2:34 pm
From: "spotgra...@gmail.com" <spotgra...@gmail.com>
Date: Wed, 18 Jun 2008 02:34:14 -0700 (PDT)
Local: Wed, Jun 18 2008 2:34 pm
Subject: Re: Error thrown from Google API
i'm the administrator of www.videomap.it I confirm the error in Source
File: http://maps.google.com/intl/en_ALL/mapfiles/116/maps2.api/main.js
his.Ve.width' is null or not an
object
The error is in IE6 IE7 and provocate many error in my website.

On 17 Giu, 12:46, Tony <tony.ste...@neighbournet.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "The solution" by www.aj-audiovisual.com
www.aj-audiovisual.com  
View profile
 More options Jun 18, 2:40 pm
From: "www.aj-audiovisual.com" <ajos...@terra.es>
Date: Wed, 18 Jun 2008 02:40:51 -0700 (PDT)
Local: Wed, Jun 18 2008 2:40 pm
Subject: The solution
It's necessary to change the version of the script:

<script src="http://maps.google.com/maps?
file=api&amp;v=2&amp;key=ABQIAAAAzr2....

Regards
Antonio


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
spotgratis@gmail.com  
View profile
 More options Jun 18, 2:48 pm
From: "spotgra...@gmail.com" <spotgra...@gmail.com>
Date: Wed, 18 Jun 2008 02:48:04 -0700 (PDT)
Local: Wed, Jun 18 2008 2:48 pm
Subject: Re: The solution