eccentricaomy / simile-widgets

Automatically exported from code.google.com/p/simile-widgets
0 stars 0 forks source link

EXHIBIT. Gmapkey not accepted using Exhibit 2.0 API (but works with Exhibit 1.0) #122

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
<script
src="http://static.simile.mit.edu/exhibit/api/exhibit-api.js?views=timeline&gmap
key=ABQIAAAAIXu4R55DKjbNP5V32QkgwhQgjrqM8OUtT6TrlvaGRVetwsYVPBSKskRsguNjMpYmFI79
kpIseaNplA"
type="text/javascript"></script>

The old Exhibit API has no issues with gmapkey when I upload it to an
internal website. It works great.

<script src="http://static.simile.mit.edu/exhibit/api-2.0/exhibit-api.js"
type="text/javascript"></script>
<script
src="http://static.simile.mit.edu/exhibit/extensions-2.0/map/map-extension.js?gm
apkey="ABQIAAAAIXu4R55DKjbNP5V32QkgwhQgjrqM8OUtT6TrlvaGRVetwsYVPBSKskRsguNjMpYmF
I79kpIseaNplA"
type="text/javascript"></script>

However, using the new Exhibit API (as above) gives me the following error
no matter what I put in for gmapkey (even if one tries to register for a
new key):

"The Google Maps API key used on this web site was registered for a
different web site. You can register a new key for this website at
http://www.google.com/apis/maps/."

This aforementioned error causes an Exhibit "Failed to create view
[whatever title you defined]".

Again, no errors when testing using localhost. No errors when uploading to
a website when using the old API.

Windows, Firefox 2.0

[Submitted by S. Lovell on simile.mit.edu] 

Original issue reported on code.google.com by GabrielR...@googlemail.com on 4 Apr 2009 at 4:28

GoogleCodeExporter commented 8 years ago

Original comment by GabrielR...@googlemail.com on 4 Apr 2009 at 6:56