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 26 - 43 of 43 - Collapse all < Older 
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
Fabio Zorzetto  
View profile
 More options Jun 25, 5:14 am
From: Fabio Zorzetto <fzorze...@ig.com.br>
Date: Tue, 24 Jun 2008 17:14:23 -0700 (PDT)
Local: Wed, Jun 25 2008 5:14 am
Subject: Re: Error thrown from Google API
Hi Andrew.

Here v=2.115 resolved my problem, thanks a lot.

Let me show what happened here. I have 2 computers, 1 with windows XP
- Internet explorer 6.0 without problems like this, but in another
computer, with windows Vista - Internet explorer 7.0, the problem was
occurs. I donīt know if the problem occurs with differents explorers
or window's versions, but I hope this information can be used to
advantage.

Sorry my bad english.

Regards
Fabio Zorzetto, from Brazil


    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.
Fabio Zorzetto  
View profile
 More options Jun 25, 5:41 am
From: Fabio Zorzetto <fzorze...@ig.com.br>
Date: Tue, 24 Jun 2008 17:41:09 -0700 (PDT)
Local: Wed, Jun 25 2008 5:41 am
Subject: Re: Error thrown from Google API
Damm it, the problem back occurs :(

Is it possible the problem happened with google maps ???


    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.
kench_y  
View profile
 More options Jun 25, 9:07 am
From: kench_y <kenzo-y...@sogensha.com>
Date: Tue, 24 Jun 2008 21:07:53 -0700 (PDT)
Local: Wed, Jun 25 2008 9:07 am
Subject: Re: Error thrown from Google API
Hi Andrew

> There appears to be issues with the overview map. Try commenting out
> the addition of the overview and see if it makes a difference. Please
> report back! If it is that and you really need the overview map, you
> can fix v=2.115 in your API call, at least until the problem is
> resolved.

today I was worried why this error suddenly ocurred( this.Ve.width' is
null and GMarker was disappeared in IE,but in FireFox  not
dissappeard)
but now reading your messege.
I  tried  commenting out.
//   map.addControl(new GOverviewMapControl()
then resolved. ^^v
but I like this the overview map ,,,
so
fix v=2.115 and using it ^^

thank you

kench_y


    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.
Sergio T.  
View profile
 More options Jun 25, 10:06 am
From: "Sergio T." <serto...@gmail.com>
Date: Tue, 24 Jun 2008 22:06:15 -0700 (PDT)
Local: Wed, Jun 25 2008 10:06 am
Subject: Re: Error thrown from Google API
Yes there is an issue with the overview map control in the latest
version.
Apparently you have to set the map type for the window after you add
the control
to the map, but I tried this and did not work.
The best option as of right now is what you mention in your post; Use
v=2.115
Regards,
Sergio


    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.
Thor  
View profile
 More options Jun 25, 11:27 am
From: Thor <thor.mitch...@gmail.com>
Date: Tue, 24 Jun 2008 23:27:40 -0700 (PDT)
Local: Wed, Jun 25 2008 11:27 am
Subject: Re: Error thrown from Google API
This error occurs when using v=2 (or v=2.116 which is currently
equivalent) and then adding a GOverviewMapControl to the same map more
than once.

Has anybody seen this error on a map which does not use
GOverviewMapControl?

Thor.


    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 25, 11:54 am
From: "warden [Andrew Leach - Maps API Guru]" <andrew.leac...@googlemail.com>
Date: Tue, 24 Jun 2008 23:54:47 -0700 (PDT)
Local: Wed, Jun 25 2008 11:54 am
Subject: Re: Error thrown from Google API
On Jun 25, 7:27 am, Thor <thor.mitch...@gmail.com> wrote:

> This error occurs when using v=2 (or v=2.116 which is currently
> equivalent) and then adding a GOverviewMapControl to the same map more
> than once.

Hardly anyone does that, surely? But there are many reports of
problems. Or does changing map type cause the API to do that by
itself?

> Has anybody seen this error on a map which does not use
> GOverviewMapControl?

Yes, I think so. See the cycletowalk map in this thread:
http://groups.google.com/group/Google-Maps-API/browse_thread/thread/b...

Commenting out adding the GOverviewMapControl makes the map work, but
it still throws an error complaining about Ve. I haven't done much
investigation into that, it was rather late last night here in the UK.

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.
Alex Birkett  
View profile
 More options Jun 25, 12:44 pm
From: Alex Birkett <a...@birkett.co.uk>
Date: Wed, 25 Jun 2008 00:44:32 -0700 (PDT)
Local: Wed, Jun 25 2008 12:44 pm
Subject: Re: Error thrown from Google API

> There appears to be issues with the overview map. Try commenting out
> the addition of the overview and see if it makes a difference. Please
> report back! If it is that and you really need the overview map, you
> can fix v=2.115 in your API call, at least until the problem is
> resolved.

Commenting out GMap2.addControl(new GOverviewMapControl()); prevents
the error from occurring on phonelocator.mobi.

Kind Regards,

Alex


    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.
Gery  
View profile
 More options Jun 25, 5:46 pm
From: Gery <gkrum...@gmail.com>
Date: Wed, 25 Jun 2008 05:46:57 -0700 (PDT)
Local: Wed, Jun 25 2008 5:46 pm
Subject: Re: Error thrown from Google API
Thanks Sergio, I think version 2.115 really doesn't give this problem.
I've tested it many times, and for now it seems to work ok.

On Jun 25, 7:06 am, "Sergio T." <serto...@gmail.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.
JohnM  
View profile
 More options Jun 26, 1:25 am
From: JohnM <john.jun....@gmail.com>
Date: Wed, 25 Jun 2008 13:25:10 -0700 (PDT)
Local: Thurs, Jun 26 2008 1:25 am
Subject: Re: Error thrown from Google API
We are enterprise user and we experienced same issue as Chris
mentioned.
Following Andrew's idea we commented out the overview map, everything
works fine now.

But whatever we specify the version to 2, 2.x, 2.115 or 2.116, if we
bring in Overview Map, we always experience different kinds of error.

When Goolge can fix this bug?

On Jun 24, 6:26 pm, "warden [Andrew Leach - Maps API Guru]"


    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 26, 2:17 am
From: "warden [Andrew Leach - Maps API Guru]" <andrew.leac...@googlemail.com>
Date: Wed, 25 Jun 2008 14:17:13 -0700 (PDT)
Local: Thurs, Jun 26 2008 2:17 am
Subject: Re: Error thrown from Google API
On Jun 25, 9:25 pm, JohnM <john.jun....@gmail.com> wrote:

> When Goolge can fix this bug?

Google have recognised it as a bug. I'm rather surprised that it's
only medium priority, although I don't know what that means in
practice.

http://code.google.com/p/gmaps-api-issues/issues/detail?id=456&colspe...

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.
Sergio T.  
View profile
 More options Jun 27, 2:10 am
From: "Sergio T." <serto...@gmail.com>
Date: Thu, 26 Jun 2008 14:10:03 -0700 (PDT)
Local: Fri, Jun 27 2008 2:10 am
Subject: Re: Error thrown from Google API
Thanks for the info Warden.
Sergio

On Jun 25, 2:17 pm, "warden [Andrew Leach - Maps API Guru]"


    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.
Richard Wilkinson  
View profile
 More options Jun 27, 3:34 pm
From: Richard Wilkinson <richardjohnwilkin...@googlemail.com>
Date: Fri, 27 Jun 2008 03:34:25 -0700 (PDT)
Local: Fri, Jun 27 2008 3:34 pm
Subject: Re: Error thrown from Google API
Hi,

I too am getting this problem,  I have multiple maps on the page, The
first one loads fine but any subsequent ones throw the error.  If i
turn remove the overview map then all my maps work fine. (using v=2).

You can see this problem here: http://www.zoomf.com/uk/london/chelsea/property/buy/
(click on show the map)  but our production js is minified so probably
wont be of any use to you.

The code looks something like this:

function initMap(lat, lng, mapid, url, newWindow)
{
        google.load("maps", "2", {"callback" : function(){

                if (google.maps.BrowserIsCompatible())
                {
                        if(!setup)
                        {
                                propertyMarkerIcon = new GIcon(G_DEFAULT_ICON);
                                propertyMarkerIcon.transparent = transIconUrl;
                                propertyMarkerIcon.image = notViewedIconUrl;
                                propertyMarkerIcon.printImage = notViewedIconUrl;
                                propertyMarkerIcon.mozPrintImage = notViewedIconUrl;
                                propertyMarkerIcon.shadow = shadowIconUrl;
                                propertyMarkerIcon.iconAnchor = new google.maps.Point(32,64);
                                propertyMarkerIcon.imageMap =
[32,64,20,33,19,10,40,3,50,18,32,57];
                                propertyMarkerIcon.iconSize = new google.maps.Size(70,70);
                                propertyMarkerIcon.shadowSize = new google.maps.Size(70,70);
                                propertyMarkerIcon.infoWindowAnchor = new
google.maps.Point(32,25);

                                mapTypes['Normal'] = G_NORMAL_MAP;
                            mapTypes['Physical'] = G_PHYSICAL_MAP;
                            mapTypes['Hybrid'] = G_HYBRID_MAP;
                            setup = true;
                        }

                        var centreLocation = new google.maps.LatLng(lat,lng);

                    var newMap = new google.maps.Map2($(mapid));
//                  newMap.addControl(new google.maps.OverviewMapControl());
                    newMap.setCenter(centreLocation, 16);

ps. I am aware that once you open one map any the controls for any
previous ones don't work, but this is not causing the problem :)


    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.