RuijieRa / simile-widgets

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

EXHIBIT: Google API map key error message in Firefox but OK in IE for Map extension v. 2.2.0 #385

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am getting a consistent "This web site needs a different Google Maps API key. 
A new key can be generated at http://code.google.com/apis/maps/" error message 
whenever the maps load in Firefox.  After clicking OK, everything loads and 
displays just fine.

Map sites:
http://users.drew.edu/jlenz/Maps/ancientcitiesMediterranean.html
http://users.drew.edu/jlenz/maps/ancientcitiesAthens.html
http://users.drew.edu/jlenz/maps/ancientcitiesAthens.html

Here's my code:
<script src="http://static.simile.mit.edu/exhibit/api-2.1.0/exhibit-api.js" 
type="text/javascript"></script>

    <link href="ancientcities.js" type="application/json" rel="exhibit/data" />

    <script src="http://static.simile.mit.edu/exhibit/extensions-2.0/time/time-extension.js" type="text/javascript"></script>

     <script src="http://api.simile-widgets.org/exhibit/2.2.0/extensions/map/map-extension.js?gmapkey=ABQIAAAAHJshf3XNYuJSGRRY677lahRyOj--fX0xHRsH09qBV1rKDwgnrRSufmLHTQyLW1TWZZIx-u3qmjYgCQ"></script>
       <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>  

What steps will reproduce the problem?
1. I've changed the API key 3 times for each map - the problem persists.
2. If I make a change, save, and reload the page, the problem goes away.  
Within 24 hours, the problem recurs, despite having made no further changes.

Output is just fine.  The error message is an irritant and confusing to users.  

Version: Exhibit-api 2.1.0
         Map extension - 2.2.0
Web browser: Mozilla Firefox
OS: Windows XP

Original issue reported on code.google.com by kwhit...@gmail.com on 11 Aug 2010 at 7:19

GoogleCodeExporter commented 9 years ago
Addendum: After making changes to the html file, everything is fine.  Then if I 
close the Firefox browser, the problem recurs.

Original comment by kwhit...@gmail.com on 11 Aug 2010 at 7:24

GoogleCodeExporter commented 9 years ago

Original comment by ryan...@csail.mit.edu on 23 Jun 2011 at 9:27