问题描述
我一直在经营一个网站,为婚礼的客人提供指引,以便在我们接待处的当地找到酒店和B& B。几个月没有任何问题,我的房主和代码是坚实的,没有问题的工作。
今天晚上登录,我得到一个无效的密钥错误。
我已经完成了以下操作:
- 检查了我没有超过25.000请求的宽限限制$ b每天$ b。事实上,婚礼直到今年晚些时候,自从2月份以来,总共有124个请求共有
。 - 刷新密钥并重新加载。没有快乐。
- 尝试重新设置引用者,但怀疑这会对
产生任何影响,并且正如预期的那样不会!
ul>
其他人有类似的问题,如果是这样,你是如何克服它?试图想出新的想法来解决这个问题。相当茫然,直到今晚才完美运作!
一切顺利,
$ b -Brendan
代码:
<!DOCTYPE html PUBLIC - // W3C // DTD XHTML 1.0 Transitional // ENhttp://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
< head>
< meta http-equiv =Content-Typecontent =text / html; charset = UTF-8/>
< title>住宿< /标题>
< link rel ='stylesheet'href ='rsvp-load-styles.css'type ='text / css'media ='all'/>
< link rel ='stylesheet'id ='colors-css'href ='rsvp-colors-fresh.css'type ='text / css'media ='all'/>
< script type ='text / javascript'src ='http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js'>< / script>
< script type =text / javascript
src =http://maps.googleapis.com/maps/api/js?key=...&sensor=true>
< / script>
< script type =text / javascript>
//<![CDATA [
var customIcons = {
Blue:{
icon:'Blue.png',
shadow:' http://labs.google.com/ridefinder/images/mm_20_shadow.png'
},
红色:{
图标:'Red.png',
shadow:' http://labs.google.com/ridefinder/images/mm_20_shadow.png'
}
};
//数组保存side_bar使用的标记和html的副本
//因为函数的关闭技巧在那里不起作用
var gmarkers = [];
function load(){
var dunbrody = new google.maps.LatLng(52.241808,-6.945248);
var myOptions = {
center:dunbrody,
zoom:10,
mapTypeId:google.maps.MapTypeId.SATELLITE
};
var map = new google.maps.Map(document.getElementById(map_canvas),
myOptions);
var infoWindow = new google.maps.InfoWindow;
//根据您的PHP文件的名称更改此值
downloadUrl(markers.php,function(data){
var xml = data.responseXML;
var marker = xml.documentElement.getElementsByTagName(marker);
for(var i = 0; i< markers.length; i ++){
var name = markers [i] .getAttribute (name);
var point = new google.maps.LatLng(
parseFloat(markers [i] .getAttribute(lat)),
parseFloat(markers [i]。 getAttribute(lng)));
var type = markers [i] .getAttribute(type);
var html =< b>+ name +< / b> < br />;
var icon = customIcons [type] || {};
var marker = new google.maps.Marker({$ b $ map:map,
位置:点,
图标:icon.icon,
阴影:icon.shadow
});
bindInfoWindow(marker,map,infoWindow,html);
//保存我们稍后需要用于side_bar的信息
gmarkers.push(marker);
}
});
函数bindInfoWindow(marker,map,infoWindow,html){
google.maps.event.addDomListener(marker,'click',function(){
infoWindow.setContent(html);
infoWindow.open(map,marker);
});
}
函数downloadUrl(url,callback){
var request = window.ActiveXObject?
new ActiveXObject('Microsoft.XMLHTTP'):
new XMLHttpRequest;
request.onreadystatechange = function(){
if(request.readyState == 4){
request.onreadystatechange = doNothing;
回调(request,request.status);
}
};
request.open('GET',url,true);
request.send(null);
}
函数myclick(i){
google.maps.event.trigger(gmarkers [i],click);
}
函数doNothing(){}
//]]>
< / script>
< / head>
< body class =wp-admin no-js options-general-phponload =load()onUnload =GUnload()>< div id =map_canvasstyle =width :100%; height:50%;>< / div>< div>< table><< table><< div id =detailsstyle =width:100%; height:50%; overflow:scroll; ; tr>< th align =leftvalign =topcolspan =2>< b> Dunbrody Country House Hotel< / b>< / th>< / tr>< tr>< < td align =rightvalign =top>详情:< / td>< td>接待会在这里举行。< / td>< / tr>< tr>< td align =rightvalign =top>电话:< / td>< td> +353(0)51 389 600< / td>< / tr>< tr>< td align = valign =top>链接:< / td>< td>< a href =http://dunbrodyhouse.com/target =_blank> http://dunbrodyhouse.com/< ; Google地图:< / td>< td>< / tr>< tr>< td align =rightvalign =top>< a href = javascript:myclick(1-1)> [在地图上显示]< / a>< / td>< / tr>< tr> th < th align =leftvalign =topcolspan =2>< br>< / th>< / tr> 2>< b> Marsh Mere Lodge< / b>< / th>< / tr>< tr>< td align =rightvalign =top> td>< td>< tr>< td align =rightvalign =top>电话:< / td>< td> +353(0 )5138 9186< / td>< / tr>< tr>< td align =rightvalign =top> Link:< / td>< td>< a href = //www.marshmerelodge.com/target =_ blank> http://www.marshmerelodge.com/< / a>< / td>< / tr>< tr>< td align = rightvalign =top> Google地图:< / td>< td>< a href =javascript:myclick(2-1)> [在地图上显示]< / a>< ; / td>< / tr>< tr>< th align =leftvalign =topcolspan =2>< br>< / th>< / tr>< tr> ;< th align =leftvalign =topcolspan =2>< b> Glendine Country House< / b>< / th>< / tr>< tr>< td align =R ightvalign =top>详情:< / td>< td>< td align =right< / td>< td> valign =top>电话:< / td>< td> +353(0)5138 9500< / td>< / tr>< tr>< td align =rightvalign =top >连结:< / td>< td>< a href =http://www.glendinehouse.com/target =_blank> http://www.glendinehouse.com/< < / td>< tr>< td align =rightvalign = javascript:myclick(3-1)> [在地图上显示]< / a>< / td>< / tr>< tr>< th align =leftvalign = 2>< br>< / th>< / tr>< tr>< th align =leftvalign =topcolspan =2>< b> Arthurs Rest< < / td>< / tr>< td align =rightvalign =top>详情:< / td>< td> Peggy Murphy [email protected]
完美无瑕,舒适 - 适合家庭使用。< / td>< / tr>< tr>< td align =rig htvalign =top>电话:< / td>< td>< td align =rightno:+353(0)5138 9192< / td>< valign =top> Link:< / td>< td>< a href =target =_ blank>< / a>< / td>< / tr>< tr> ;< td align =rightvalign =top> Google Map:< / td>< td>< a href =javascript:myclick(4-1)> [Show on Map] < / th>< tr>< th align =leftvalign =topcolspan =2>< br>< / th>< / tr>< tr>< th align =leftvalign =topcolspan =2>< b> Kilmokea House< / b>< tr> ;< td align =rightvalign =top>详细信息:< / td>< td> Hidden Ireland的成员,Kilmokea提供美丽的花园,令人放松的正式客房,非常适合那些寻找安静的客人。 < / td>< t>< td align =rightvalign =top>电话:< / td>< td> No:+353(0)5138 8109< / td>< / tr>< tr>< td align =rightvalign =top>链接:< / td> < td>< a href =http://www.kilmokea.comtarget =_blank> http://www.kilmokea.com< / a>< / td>< / tr> < tr>< td align =rightvalign =top> Google地图:< / td>< td>< a href =javascript:myclick(5-1)> [Show < / th>< / gt>< / tr>< tr>< th align =leftvalign =topcolspan =2>< br>< / th> ;< />< tr>< th align =leftvalign =topcolspan =2>< b>阁楼自助餐< / b>< / th& tr>< tr>< td align =rightvalign =top>详情:< / td>< td> Peggy Murphy,Arthurstown。
迷人的改建的阁楼,睡觉8 - 适合年轻人。 < / td>< td>< td align =rightvalign =top>电话:< / td>< td> No:+353(0)5138 9102< / td>< / tr>< tr>< td align =rightvalign =top> Link:< / td>< td>< a href =http:// www。 discoverireland.ie/Where-To-Stay/the-loft/60533target =_ blank> http://www.discoverireland.ie/Where-To-Stay/the-loft/60533< / a>< / td>< / tr>< tr>< td align =rightvalign =top> Google地图:< / td>< td>< a href =javascript:myclick -1)> [在地图上显示]< / a>< / td>< / tr>< tr>< th align =leftvalign =topcolspan =2> < / gt>< tr>< th align =leftvalign =topcolspan =2>< b> Ann Walsh,Self Catering< / b> ;< / th>< / tr>< tr>< td align =rightvalign =top>详情:< / td>< td> Ballytarsna,Ballycullane。 1304间卧室的农舍 - 睡觉8间。< / td>< / tr>< tr>< td align =rightvalign =top>电话:< / td>< td> < / td>< tr>< td align =rightvalign =top>链接:< / td>< td>< a href =target = _blank>< / a>< / td>< / tr>< tr>< td align =rightvalign =top> Google地图:< / td>< td> < a href =javascript:myclick(7-1)> [在地图上显示]< / a>< / td>< / tr>< tr>< th align =leftvalign =topcolspan =2>< br>< / th>< / tr>< tr>< th align =leftvalign =topcolspan =2><< ; b> Duncannon Holiday Homes< / b>< / th>< / tr>< tr>< td align =rightvalign =top>详情:< / td>< td>位于邓肯农村中心的3间卧室的房子。睡眠6.从 120< / td>< / tr>< tr>< td align =rightvalign =top>电话:< / td>< td> No:+353 (0)5138 9188< / td>< / tr>< tr>< td align =rightvalign =top>链接:< / td>< td>< a href = target =_ blank>< / a>< / td>< / tr>< tr>< td align =rightvalign =top> Google地图:< / td> < t h>< a href =javascript:myclick(8-1)> [在地图上显示]< / a>< / td>< leftvalign =topcolspan =2>< br>< / th>< / tr>< tr>< th align =leftvalign =topcolspan =2 >< b>< b>< b>>< / th>< / tr>< tr>< td align =rightvalign =top>详情:< / td> ;< td>入住6< / td>< / tr>< tr>< td align =rightvalign =top>电话:< / td>< td>< / td> < / td>< td>< a href =http://www.selfcateringhomes。< / tr><即/index.php?route=showhome&pid=181#ownertarget =_blank> http://www.selfcateringhomes.ie/index.php?route = showhome& pid = 181#owner< / a>< ; / td>< / tr>< tr>< td align =rightvalign =top> Google地图:< / td>< td>< a href =javascript:myclick 9-1)> [在地图上显示]< / a>< / td>< / tr>< tr>< th align =leftvalign =topcolspan =2> ;< b>< tr>< th align =leftvalign =topcolspan =2>< b> Coastguard Cove -3 bed< < / td>< td>< / td>< tr>< td align =rightvalign =top>< / td>< tr>< tr>< td align =rightvalign =top>电话:< / td>< td>< / td>< / tr>< tr>< td align =rightvalign =top>链接:< / td>< td>< a href =http://www.daft.ie/searchshortterm.daft?id=18365target =_ blank > http://www.daft.ie/searchshortterm.daft?id = 18365< / a>< / td>< / tr>< tr>< td align =右侧valign =top> Google地图:< / td>< td>< a href =javascript:myclick(10-1)> [在地图上显示]< / a>< / td>< th align =leftvalign =topcolspan =2>< br>< / th>< / tr>< tr> < th align =leftvalign =topcolspan =2>< b>>< t>< td align ="右valign =top>详情:< / td>< td> [email protected]< / td>< / tr>< tr>< td align =rightvalign =top >电话:< / td>< td>否:+353(0)5156 1354< / td>< / tr>< tr>< td align =rightvalign = >连结:< / td>< td>< a href =http://www.rivervalleyfarmhouse.com/target =_ blank> http://www.rivervalleyfarmhouse.com/< / a>< / td>< / tr>< tr>< td align =rightvalign =top> Google地图:< / td>< td>< a href =javascript :myclick(11-1)> [在地图上显示]< / a>< / td>< / tr>< tr>< th align =le ftvalign =topcolspan =2>< br>< / th>< / tr>< tr>< th align =leftvalign =top >< b> Haven Lodge< / b>< / th>< / tr>< tr>< td align =rightvalign =top>详情:< / td> < td> [email protected]< / td>< / tr>< tr>< td align =rightvalign =top>电话:< / td>< td>否:+353(0)5156 1319< / td>< / tr>< tr>< td align =rightvalign =top>链接:< / td>< td>< a href =http://www.hooktourism.com/where_to_stay/detail/the_haven_lodge_bed_breakfast/target =_blank> http://www.hooktourism.com/where_to_stay/detail/the_haven_lodge_bed_breakfast/< / a>< / td>< td align =rightvalign =top> Google地图:< / td>< td>< a href =javascript:myclick(12 -1)> [在地图上显示]< / a>< / td>< / tr>< tr>< th align =leftvalign =topcolspan =2> < br>< / th>< / tr>< tr>< th align =left valign =topcolspan =2>< b> Carrig House B& B< / b>< / th>< / tr>< tr>< td align = top>详情:< / td>< td> Nicola& Nicholas Howlin [email protected] http://www.bandbwexford.com< / td>< / tr>< tr>< td align =rightvalign =top> Tel:< td>< td>< / td>< / tr>< tr>< td align =rightvalign =top>链接:< / td> < td>< a href =http://www.hooktourism.com/where_to_stay/detail/carraig_house_bb/target =_blank> http://www.hooktourism.com/where_to_stay/detail/carraig_house_bb/ < / td>< / tr>< tr>< td align =rightvalign =top> Google地图:< / td>< td>< a href =javascript:myclick(13-1)> [在地图上显示]< / a>< / td>< / tr>< tr>< th align =leftvalign = colspan =2>< br>< / th>< br>< / th>< / tr>< tr>< th align =leftvalign =topcolspan =2>< b> Herrylock小屋B& B< / tr>< tr>< td align =rightvalign =top>详细信息:< / td>< td& eircom.net支柱:安娜和大卫纳什胡克头上的Fethard-on-Sea Wexford< / td>< / tr>< tr>< td align =rightvalign =top>电话:< / td>< td> 5139 7029< / td>< / tr>< tr>< td align =rightvalign =top>链接:< / td>< td>< a href =Co。 Wexford http://www.hooktourism.com/where_to_stay/detail/herrylock_bb/target =_ blank> Co。Wexford http://www.hooktourism.com/where_to_stay/detail/herrylock_bb/</a>< ; / td>< / tr>< tr>< td align =rightvalign =top> Google地图:< / td>< td>< a href =javascript:myclick < / align> [在地图上显示]< / a>< / td>< / tr>< tr>< th align =leftvalign =topcolspan =2> Groveside Farm B& B< b>< br>< tr>< b>< tr>< b>< / tr>< td align =rightvalign =top>详情:< / td>< td> Ballyharty,Kilmore,Co.Wexford。电话:< / td>< td>< / td>< tr>< td align =rightvalign =toptd>编号:+353(0)5391 35305< ; / td>< / tr>< tr>< td align =rightvalign =top> Link:< / td>< td>< a href =http:// www .grovesidefarm.com /target =_ blank> http://www.grovesidefarm.com/< / a> < / td>< tr>< td align =rightvalign =top> Google地图:< / td>< td>< a href =javascript:myclick (15-1)> [在地图上显示]< / a>< / td>< / tr>< tr>< th align =leftvalign =topcolspan =2 >< br>< tr>< th align =leftvalign =topcolspan =2>< b> Crooke Church< / b> < / td>< tr>< td align =rightvalign =top>详细信息:< / td>< td>将结绑在这里。< / td> < / tr>< tr>< td align =rightvalign =top>电话:< / td>< td>< / td>< / tr>< tr>< ; td align =rightvalign =top>链接:< / td>< td>< a href =target =_ blank>< / a>< / td><< ; / tr>< tr>< td align =rightvalign =top> Google地图:< / td>< td>< a href =javascript:myclick(16-1) > [在地图上显示]< / a>< / td>< / tr>< tr>< th align =leftvalign =topcolspan =2>< br> < /第>< / TR>& LT; /表> < / DIV>
< / body>
< / html>
尽管清理引用链接可以解决问题,意味着你的钥匙被滥用(因为你没有指定它可以使用的地方)。我已将其编辑出来,但它并未完全隐藏。
您的引荐来源字符串必须与您的地图所在的网址匹配 - 这意味着它是必须在域名末尾使用 / *
来表示该域中的任何URL均可接受。如果最后没有明星,则只有默认页面会匹配—如果有明确的重定向到另一个页面,甚至不匹配。
www.exampledomain.com / *
将匹配该域中的任何页面。
www.exampledomain.com /
不会。
如果您的网页可以使用 www。
或错过了,或者您有其他子域名,您需要使用 *。 exampledomain.com / *
。
如果您的网站使用HTTPS,则需要明确指定该协议。
$ bI've been running a site to give directions for wedding guests to find hotels and B&B's in the area local to our reception. No issues with the API for a few months, did my homeowrk and the code is solid and working without issue.
Logged in this evening and I'm getting an invalid key error.I've done the following:
- Checked that I've not exceeded the 'grace' limits of 25.000 requestsper day. In fact the wedding isn't until later this year, there havebeen a grand total of 124 requests since February.
- Refreshed the key and re-loaded. No joy.
- Tried re-setting the referrer, but doubt this would have any impactand as expected it didn't!
Anyone else have similar issues to this and if so, how did you overcome it? Trying to think of fresh ideas to get around the issue. Quite at a loss, it was working perfectly until tonight!
All the best,
-Brendan
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Accomodation</title>
<link rel='stylesheet' href='rsvp-load-styles.css' type='text/css' media='all' />
<link rel='stylesheet' id='colors-css' href='rsvp-colors-fresh.css' type='text/css' media='all' />
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js'></script>
<script type="text/javascript"
src="http://maps.googleapis.com/maps/api/js?key=...&sensor=true">
</script>
<script type="text/javascript">
//<![CDATA[
var customIcons = {
Blue: {
icon: 'Blue.png',
shadow: 'http://labs.google.com/ridefinder/images/mm_20_shadow.png'
},
Red: {
icon: 'Red.png',
shadow: 'http://labs.google.com/ridefinder/images/mm_20_shadow.png'
}
};
// arrays to hold copies of the markers and html used by the side_bar
// because the function closure trick doesnt work there
var gmarkers = [];
function load() {
var dunbrody = new google.maps.LatLng(52.241808,-6.945248);
var myOptions = {
center: dunbrody,
zoom: 10,
mapTypeId: google.maps.MapTypeId.SATELLITE
};
var map = new google.maps.Map(document.getElementById("map_canvas"),
myOptions);
var infoWindow = new google.maps.InfoWindow;
// Change this depending on the name of your PHP file
downloadUrl("markers.php", function(data) {
var xml = data.responseXML;
var markers = xml.documentElement.getElementsByTagName("marker");
for (var i = 0; i < markers.length; i++) {
var name = markers[i].getAttribute("name");
var point = new google.maps.LatLng(
parseFloat(markers[i].getAttribute("lat")),
parseFloat(markers[i].getAttribute("lng")));
var type = markers[i].getAttribute("type");
var html = "<b>" + name + "</b> <br/>";
var icon = customIcons[type] || {};
var marker = new google.maps.Marker({
map: map,
position: point,
icon: icon.icon,
shadow: icon.shadow
});
bindInfoWindow(marker, map, infoWindow, html);
// save the info we need to use later for the side_bar
gmarkers.push(marker);
}
});
}
function bindInfoWindow(marker, map, infoWindow, html) {
google.maps.event.addDomListener(marker, 'click', function() {
infoWindow.setContent(html);
infoWindow.open(map, marker);
});
}
function downloadUrl(url, callback) {
var request = window.ActiveXObject ?
new ActiveXObject('Microsoft.XMLHTTP') :
new XMLHttpRequest;
request.onreadystatechange = function() {
if (request.readyState == 4) {
request.onreadystatechange = doNothing;
callback(request, request.status);
}
};
request.open('GET', url, true);
request.send(null);
}
function myclick(i) {
google.maps.event.trigger(gmarkers[i], "click");
}
function doNothing() {}
//]]>
</script>
</head>
<body class="wp-admin no-js options-general-php" onload="load()" onUnload="GUnload()"><div id="map_canvas" style="width: 100%; height: 50%;"></div><div id="details" style="width: 100%; height: 50%;overflow:scroll;"><table><tr><th align="left" valign="top" colspan="2"><b>Dunbrody Country House Hotel</b></th></tr><tr><td align="right" valign="top">Details:</td><td>The reception will be held here.</td></tr><tr><td align="right" valign="top">Tel:</td><td>+353 (0)51 389 600</td></tr><tr><td align="right" valign="top">Link:</td><td><a href="http://dunbrodyhouse.com/" target="_blank">http://dunbrodyhouse.com/</a></td></tr><tr><td align="right" valign="top">Google Map:</td><td><a href="javascript:myclick(1-1)">[Show on Map]</a></td></tr><tr><th align="left" valign="top" colspan="2"><br></th></tr><tr><th align="left" valign="top" colspan="2"><b>Marsh Mere Lodge</b></th></tr><tr><td align="right" valign="top">Details:</td><td></td></tr><tr><td align="right" valign="top">Tel:</td><td>+353(0) 5138 9186</td></tr><tr><td align="right" valign="top">Link:</td><td><a href="http://www.marshmerelodge.com/" target="_blank">http://www.marshmerelodge.com/</a></td></tr><tr><td align="right" valign="top">Google Map:</td><td><a href="javascript:myclick(2-1)">[Show on Map]</a></td></tr><tr><th align="left" valign="top" colspan="2"><br></th></tr><tr><th align="left" valign="top" colspan="2"><b>Glendine Country House</b></th></tr><tr><td align="right" valign="top">Details:</td><td>Also has a 2 bed cottage - sleeps 4</td></tr><tr><td align="right" valign="top">Tel:</td><td>+353(0) 5138 9500</td></tr><tr><td align="right" valign="top">Link:</td><td><a href="http://www.glendinehouse.com/" target="_blank">http://www.glendinehouse.com/</a></td></tr><tr><td align="right" valign="top">Google Map:</td><td><a href="javascript:myclick(3-1)">[Show on Map]</a></td></tr><tr><th align="left" valign="top" colspan="2"><br></th></tr><tr><th align="left" valign="top" colspan="2"><b>Arthurs Rest</b></th></tr><tr><td align="right" valign="top">Details:</td><td>Peggy Murphy [email protected]
Immaculate and comfortable - ideal for families.</td></tr><tr><td align="right" valign="top">Tel:</td><td>No: +353(0) 5138 9192</td></tr><tr><td align="right" valign="top">Link:</td><td><a href="" target="_blank"></a></td></tr><tr><td align="right" valign="top">Google Map:</td><td><a href="javascript:myclick(4-1)">[Show on Map]</a></td></tr><tr><th align="left" valign="top" colspan="2"><br></th></tr><tr><th align="left" valign="top" colspan="2"><b>Kilmokea House</b></th></tr><tr><td align="right" valign="top">Details:</td><td>A member of Hidden Ireland, Kilmokea offers beautiful gardens, relaxing formal rooms and is ideal for those looking for quiet.</td></tr><tr><td align="right" valign="top">Tel:</td><td>No: +353(0) 5138 8109</td></tr><tr><td align="right" valign="top">Link:</td><td><a href="http://www.kilmokea.com" target="_blank">http://www.kilmokea.com</a></td></tr><tr><td align="right" valign="top">Google Map:</td><td><a href="javascript:myclick(5-1)">[Show on Map]</a></td></tr><tr><th align="left" valign="top" colspan="2"><br></th></tr><tr><th align="left" valign="top" colspan="2"><b>The Loft Self Catering</b></th></tr><tr><td align="right" valign="top">Details:</td><td>Peggy Murphy, Arthurstown.
Charming converted grain loft, sleeps 8 - perfect for younger groups. </td></tr><tr><td align="right" valign="top">Tel:</td><td>No: +353 (0) 5138 9102</td></tr><tr><td align="right" valign="top">Link:</td><td><a href="http://www.discoverireland.ie/Where-To-Stay/the-loft/60533" target="_blank">http://www.discoverireland.ie/Where-To-Stay/the-loft/60533</a></td></tr><tr><td align="right" valign="top">Google Map:</td><td><a href="javascript:myclick(6-1)">[Show on Map]</a></td></tr><tr><th align="left" valign="top" colspan="2"><br></th></tr><tr><th align="left" valign="top" colspan="2"><b>Ann Walsh, Self Catering</b></th></tr><tr><td align="right" valign="top">Details:</td><td>Ballytarsna, Ballycullane. From �130 4 bedroom farmhouse - sleeps 8.</td></tr><tr><td align="right" valign="top">Tel:</td><td></td></tr><tr><td align="right" valign="top">Link:</td><td><a href="" target="_blank"></a></td></tr><tr><td align="right" valign="top">Google Map:</td><td><a href="javascript:myclick(7-1)">[Show on Map]</a></td></tr><tr><th align="left" valign="top" colspan="2"><br></th></tr><tr><th align="left" valign="top" colspan="2"><b>Duncannon Holiday Homes</b></th></tr><tr><td align="right" valign="top">Details:</td><td>3 bedroom homes set in the heart of Duncannon village. Sleeps 6. From �120 </td></tr><tr><td align="right" valign="top">Tel:</td><td>No: +353 (0) 5138 9188</td></tr><tr><td align="right" valign="top">Link:</td><td><a href="" target="_blank"></a></td></tr><tr><td align="right" valign="top">Google Map:</td><td><a href="javascript:myclick(8-1)">[Show on Map]</a></td></tr><tr><th align="left" valign="top" colspan="2"><br></th></tr><tr><th align="left" valign="top" colspan="2"><b>Beachview Self Cateringeps </b></th></tr><tr><td align="right" valign="top">Details:</td><td>Sleeps 6</td></tr><tr><td align="right" valign="top">Tel:</td><td></td></tr><tr><td align="right" valign="top">Link:</td><td><a href="http://www.selfcateringhomes.ie/index.php?route=showhome&pid=181#owner" target="_blank">http://www.selfcateringhomes.ie/index.php?route=showhome&pid=181#owner</a></td></tr><tr><td align="right" valign="top">Google Map:</td><td><a href="javascript:myclick(9-1)">[Show on Map]</a></td></tr><tr><th align="left" valign="top" colspan="2"><br></th></tr><tr><th align="left" valign="top" colspan="2"><b>Coastguard Cove -3 bed</b></th></tr><tr><td align="right" valign="top">Details:</td><td></td></tr><tr><td align="right" valign="top">Tel:</td><td></td></tr><tr><td align="right" valign="top">Link:</td><td><a href="http://www.daft.ie/searchshortterm.daft?id=18365" target="_blank">http://www.daft.ie/searchshortterm.daft?id=18365</a></td></tr><tr><td align="right" valign="top">Google Map:</td><td><a href="javascript:myclick(10-1)">[Show on Map]</a></td></tr><tr><th align="left" valign="top" colspan="2"><br></th></tr><tr><th align="left" valign="top" colspan="2"><b>Rivervalley Farmhouse</b></th></tr><tr><td align="right" valign="top">Details:</td><td>[email protected]</td></tr><tr><td align="right" valign="top">Tel:</td><td>No: +353 (0) 5156 1354 </td></tr><tr><td align="right" valign="top">Link:</td><td><a href="http://www.rivervalleyfarmhouse.com/" target="_blank">http://www.rivervalleyfarmhouse.com/</a></td></tr><tr><td align="right" valign="top">Google Map:</td><td><a href="javascript:myclick(11-1)">[Show on Map]</a></td></tr><tr><th align="left" valign="top" colspan="2"><br></th></tr><tr><th align="left" valign="top" colspan="2"><b>The Haven Lodge </b></th></tr><tr><td align="right" valign="top">Details:</td><td>[email protected] </td></tr><tr><td align="right" valign="top">Tel:</td><td>No: +353 (0) 5156 1319</td></tr><tr><td align="right" valign="top">Link:</td><td><a href="http://www.hooktourism.com/where_to_stay/detail/the_haven_lodge_bed_breakfast/ " target="_blank">http://www.hooktourism.com/where_to_stay/detail/the_haven_lodge_bed_breakfast/ </a></td></tr><tr><td align="right" valign="top">Google Map:</td><td><a href="javascript:myclick(12-1)">[Show on Map]</a></td></tr><tr><th align="left" valign="top" colspan="2"><br></th></tr><tr><th align="left" valign="top" colspan="2"><b>Carrig House B&B</b></th></tr><tr><td align="right" valign="top">Details:</td><td>Nicola & Nicholas Howlin [email protected] http://www.bandbwexford.com </td></tr><tr><td align="right" valign="top">Tel:</td><td>No: +353 (0) 5156 1101</td></tr><tr><td align="right" valign="top">Link:</td><td><a href="http://www.hooktourism.com/where_to_stay/detail/carraig_house_bb/" target="_blank">http://www.hooktourism.com/where_to_stay/detail/carraig_house_bb/</a></td></tr><tr><td align="right" valign="top">Google Map:</td><td><a href="javascript:myclick(13-1)">[Show on Map]</a></td></tr><tr><th align="left" valign="top" colspan="2"><br></th></tr><tr><th align="left" valign="top" colspan="2"><b>Herrylock Cottage B&B</b></th></tr><tr><td align="right" valign="top">Details:</td><td>[email protected] Prop: Anna and David Nash Hook Head Fethard-on-Sea Co. Wexford </td></tr><tr><td align="right" valign="top">Tel:</td><td>No: +353 (0) 5139 7029</td></tr><tr><td align="right" valign="top">Link:</td><td><a href="Co. Wexford http://www.hooktourism.com/where_to_stay/detail/herrylock_bb/" target="_blank">Co. Wexford http://www.hooktourism.com/where_to_stay/detail/herrylock_bb/</a></td></tr><tr><td align="right" valign="top">Google Map:</td><td><a href="javascript:myclick(14-1)">[Show on Map]</a></td></tr><tr><th align="left" valign="top" colspan="2"><br></th></tr><tr><th align="left" valign="top" colspan="2"><b>Groveside Farm B&B</b></th></tr><tr><td align="right" valign="top">Details:</td><td>Ballyharty, Kilmore, Co.Wexford. �</td></tr><tr><td align="right" valign="top">Tel:</td><td>No: +353 (0) 5391 35305</td></tr><tr><td align="right" valign="top">Link:</td><td><a href="http://www.grovesidefarm.com/" target="_blank">http://www.grovesidefarm.com/</a></td></tr><tr><td align="right" valign="top">Google Map:</td><td><a href="javascript:myclick(15-1)">[Show on Map]</a></td></tr><tr><th align="left" valign="top" colspan="2"><br></th></tr><tr><th align="left" valign="top" colspan="2"><b>Crooke Church</b></th></tr><tr><td align="right" valign="top">Details:</td><td>Tying the knot here.</td></tr><tr><td align="right" valign="top">Tel:</td><td></td></tr><tr><td align="right" valign="top">Link:</td><td><a href="" target="_blank"></a></td></tr><tr><td align="right" valign="top">Google Map:</td><td><a href="javascript:myclick(16-1)">[Show on Map]</a></td></tr><tr><th align="left" valign="top" colspan="2"><br></th></tr></table> </div>
</body>
</html>
Although clearing the referrers will fix the issue, it does mean that your key is wide open to misuse (because you are not specifying where it can be used). I've edited it out of the question, although it's not entirely hidden.
Your referrer strings must match the URLs where your map is hosted -- that means that it is necessary to use /*
on the end of a domain name, to indicate that any URL in that domain is acceptable. If you don't have the star on the end, only the default page will match — and even that won't match if there's an explicit redirection to another page.
www.exampledomain.com/*
will match any page in that domain.www.exampledomain.com/
won't.
If your page can be reached using www.
or missing that out, or if you have other subdomains, you need to use *.exampledomain.com/*
.
If you use HTTPS for your site, you need to specify that protocol explicitly.
这篇关于谷歌地图api v3报告关键错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!