Wednesday, January 20, 2010

Re: case-changed URLs refuse to display map

On Jan 20, 4:27 pm, Bill Thayer <petwo...@penelope.uchicago.edu>
wrote:
>
> Notice that I don't want a second key for a second website: I have
> only one website, and one key should work.
>
> What is the best solution to this?

Get a key for your server: penelope.uchicago.edu. That will work for
any directory. If you get a key for just the domain, it should work
for any server/subdomain within that domain.

If your key specifies a folder such as "Thayer" then that will be case-
sensitive. It's only an issue for IIS servers which are not case-
sensitive and will happily treat "thayer" as the same.

Another solution is to get another key and use a key-switching
mechanism. See http://groups.google.com/group/google-maps-api/browse_thread/thread/c804b74034915665
for Michael Geary's elegant method.

Andrew

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate