Groups
Groups
Sign in
Groups
Groups
谷歌地图 API 论坛
Conversations
About
Send feedback
Help
如何设置双域名的API?
0 views
Skip to first unread message
邦拓置业
unread,
Aug 18, 2009, 9:27:23 AM
8/18/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 谷歌地图 API 论坛
我们网站是
www.1.com
域名 和
www.1.com.cn
格式的两个域名,指向同一asp程序网站,我要用到google地图,生成了
com的域名key,但用cn域名访问就提示已经被抢注了,反之亦然,两个域名的key都放进去,也会提示域名被抢注。请问该如何操作能确保两个域名均
能正常访问!????谢谢!
wujialongcn
unread,
Aug 19, 2009, 5:34:56 AM
8/19/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-maps-api-china
var key='key1';
(location.href.indexOf('
www.1.com
')>=0)key="key2";
document.write('<scrip type="text/javascript" url="'+ key+'"></script>');
没有广告的终身免费邮箱,www.yeah.net
Reply all
Reply to author
Forward
0 new messages