On Jul 15, 11:42 am, Rossko <ros...@culzean.clara.co.uk> wrote:

> > They are not using the HTML "GUI" driver from my site (that demo9.html
> > you reference)
>
> That was your reference ; we can only go on what you tell us.


Yeah sorry about that...this is the example PHP driver:

http://diffent.com/map/phpdriver.txt

if you copy that phpdriver.txt to your own server and rename it as
a .php, it should run directly and generate a map, or, you should see
the key error.  if you are not a google employee and don't have any
direct interest besides kindheartness, don't worry about it since we
got the stuff working via the user's own key...i appreciate you taking
the time. this is a nice forum.  the end result is for health canada i
believe, so you have done some public service!

the whole idea of the user getting his own key might be the best way
to go...that way, Google can track the actual end use of their
system...my system is just middleware in this situation.


>
> > That is kind of the mystery...why would it work on a local PHP script
> > but not on a server.
>
> APIkeychecking is skipped when run from 'localhost', as a kindness
> tomapdevelopers.  Don't forget we have absolutely no idea what your
> end user is actually delivering to the browser.
>
> If this is all too difficult, you can implement dynamickeyselection
> in your ownmappage.  So long as you know the expected domains in
> advance, and you or your customer obtains appropriate keys, your
> script can figure out what domain it is being run from and supply the
> appropriatekeyto the API call.   Won't work if you don't know where
> it is being run, you will have to <iframe> 
> it.http://groups.google.com/group/Google-Maps-API/browse_thread/thread/c...

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

Reply via email to