Thanks.  The issue was exacerbated by my using two non-google libraries
which depended on the google api being loaded.  I've managed to get my
framework to play nice, so I'm now able to use the normal include method.
 (FYI: Drupal doesn't like remote js includes).  Thanks for the info though.

On Tue, Jan 26, 2010 at 2:47 PM, Barry Hunter
<[email protected]>wrote:

> Because the geocoder request is cross domain it must be loaded via
> JSON and callback, which means the API must be able to include a
> remote JS, into the page.
>
> You could probably use the same technique to load the Maps API, by not
> using a script tag directly.
>
> Example:
> http://code.google.com/apis/ajax/documentation/#Dynamic
>
> I beleive v3 is available via the common loader. So you don't need to
> save the load JS locally, which is always going to end badly.
>
>
> 2010/1/26 Chris Apolzon <[email protected]>:
> > My current framework is unable to do remote js includes properly, so
> > I've resorted to a hardcoded "google.js" which consists of the initial
> > load code returned by the default remote inclusion line.  Obviously
> > this freezes me to a specific release of the API, but my issue is with
> > the geocoder service.  Whenever I use the hardcoded js API include, my
> > geocoder requests are denied stating:
> > Your client does not have permission to get URL <code>/maps/api/js/
> > GeocodeService.Search?query=....
> >
> > Is there any way for me to use a non-remote copy of the API and still
> > have access to the geocoder service?
> >
> > Thanks.
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> > To post to this group, send email to
> [email protected].
> > To unsubscribe from this group, send email to
> [email protected]<google-maps-js-api-v3%[email protected]>
> .
> > For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
> >
> >
>
>
>
> --
> Barry
>
> - www.nearby.org.uk - www.geograph.org.uk -
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to