On Mar 16, 10:14 pm, Sheena K <[email protected]> wrote:
> Hi Larry,
>
> Yes, I need to test the local version only for the test server which has
> the domain name as "argos-ecom.wipro.com". When I try to give the
> localhost's API key, an alert saying you need to generate a different
> Google API key for this domain" has been shown. After that I have
> generated the API key for new domain and got the [obejct Error] alert. I
> am using google map library for showing map.

(I seem to remember asking this before...)
1. what is the domain for which you registered the key?
localhost will only work for localhost

2. what is the value of window.location.host in the browser
displaying
the page?

Some more reading:
http://mapki.com/index.php?title=Read_This_First#My_API_key_doesn.27t_work
http://code.google.com/apis/maps/faq.html#keysystem

  -- Larry


>
> Thanks ,
> Sheena
>
> On Tue, Mar 16, 2010 at 7:58 PM, [email protected]
> <[email protected]>wrote:
>
> > On Mar 16, 6:59 am, Sheena K <[email protected]> wrote:
> > > No, it is not publicly available. This is internal server only.
>
> > Do you have an enterprise license?  If you do, your google support
> > person should be able to help.
>
> > If your map is going to be publicly available and the local version if
> > for test:
> > 1. what is the domain for which you registered the key?
> > 2. what is the value of window.location.host in the browser displaying
> > the page?
>
> >  -- Larry
>
> > > Regards,
> > > Sheena
>
> > > On 3/16/10, [email protected] <[email protected]> wrote:
>
> > > > On Mar 16, 5:11 am, SK <[email protected]> wrote:
> > > > > Hi
>
> > > > > I have created Google map key for the domain "localhost" and included
> > > > > the google map in my JSP page using googlemaps lib. The code is as
> > > > > follows:
>
> > > > > <googlemaps:map id="mapImpl" width="0" height="0" version="2"
> > > > > type="STREET" zoom="13">
> > > > >         <googlemaps:key domain="localhost" key="generatedkey"/>
>
> > > > >         </googlemaps:map>
>
> > > > > This map is working fine but when I try to run the same code in
> > > > > another local server (which can be accessed locally) which has the
> > > > > domain name as "ecom.company.com", the google map is not getting
> > > > > loaded. It will show the error as "error[object Error] message in
> > both
> > > > > IE7 and firefox.
>
> > > > > For new server, I have created new Google API key and used in the
> > > > > page.
>
> > > > > If anyone know what could be the issue please provide me a solution
> > as
> > > > > soon as possible.
>
> > > > Does your map comply with the TOU?  Is it publicly available?
>
> > > > -- Larry
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "Google Maps API" group.
> > > > To post to this group, send email to [email protected].
> > > > To unsubscribe from this group, send email to
> > > > [email protected]<google-maps-api%2Bunsubscribe@
> > > >  googlegroups.com>
> > <google-maps-api%2bunsubscr...@­googlegroups.com>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/google-maps-api?hl=en.-Hide quoted text
> > -
>
> > > - Show quoted text -
>
> > --
> >  You received this message because you are subscribed to the Google Groups
> > "Google Maps API" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-maps-api%2Bunsubscribe@ 
> > googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-api?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to