Task #1349
Story #1341: Fix blockers to demo functionality
Task #1342: CN needs Google Maps API key
Update googlekey.js in mercury source
100%
Description
The file /var/lib/tomcat6/webapps/mercury3/scripts/googlekey.js needs to be updated with the keys for the CNs:
Edit googlekey.js and towards the end of the file add the following:
...
else if(curlocation.indexOf("http://cn-ucsb-1.dataone.org") < 10)
{
gkey = "ABQIAAAAuYWC81lXHUzQz1QJga3l8hR3ud-BIj7E0PLxOb5nKvE6iYKfchRZSstsTbW5r5h83q7b8WThhfo86A";
}
else if(curlocation.indexOf("http://cn-unm-1.dataone.org") < 10)
{
gkey = "ABQIAAAAuYWC81lXHUzQz1QJga3l8hSS04c4NbGTDqdmpwFWLo7aT0wv0xQUqNfrRjXMkW4z87Wn38Zpy4KIVg";
}
else if(curlocation.indexOf("http://cn-orc-1.dataone.org") < 10)
{
gkey = "ABQIAAAAuYWC81lXHUzQz1QJga3l8hSSDrPAcYjZlkF6Tkq3u_Fyu3mCCxSQYYUlOrQcODgjecV1RvXjMXhfAQ";
}
else
{
//gkey = "ABQIAAAAMunL2PF_-ibJlwJr-tMA8RTkFTU-bOiazHtZ0nNnypynHqSO4hRZnPrnn0_VUhIEMt-cWpvnGi2-Kg";
//default key is for "http://cn.dataone.org"
gkey = "ABQIAAAAuYWC81lXHUzQz1QJga3l8hQeSVgniQmrIwOXFpLeToaRJdxWixSppZ3XA2lcOViCzbkUYKuLuhXaWg";
}
History
#1 Updated by Robert Waltz almost 14 years ago
- Status changed from New to Closed
- Milestone set to CCI-0.5