<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Blog Behind GFW &#187; Googlemaps</title>
	<atom:link href="http://www.behindgfw.com/archives/tag/googlemaps/feed" rel="self" type="application/rss+xml" />
	<link>http://www.behindgfw.com/archives</link>
	<description>在墙后面写博客...</description>
	<lastBuildDate>Mon, 02 Nov 2009 03:46:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>猪流感地图</title>
		<link>http://www.behindgfw.com/archives/2009/04/mapping-the-swine-flu.html</link>
		<comments>http://www.behindgfw.com/archives/2009/04/mapping-the-swine-flu.html#comments</comments>
		<pubDate>Wed, 29 Apr 2009 13:15:25 +0000</pubDate>
		<dc:creator>behindGFW</dc:creator>
				<category><![CDATA[Living]]></category>
		<category><![CDATA[Googlemaps]]></category>
		<category><![CDATA[Virus]]></category>

		<guid isPermaLink="false">http://www.behindgfw.com/archives/?p=237</guid>
		<description><![CDATA[绝大多数人可能已经听说了猪流感病毒在墨西哥的爆发，现在很多人和好几个组织利用Google Maps的自建地图或API建立了自己的猪流感地图来跟踪最新爆发地区：

HealthMap.org 综合若干个来源的数据利用Google Maps API跟踪全球性的包括猪流感在内的多种传染性疾病
Ushandi.com 在网站上还提供了短信接入号码，利用Google Maps API显示提交给他们的报告
Dr. Henry Niman 致力于研究病毒进化，利用Google  Maps自建了一副猪流感地图跟踪疑似和确诊病例，现基于医学报告和发送给他的Email正持续更新他的地图

Tracking the progress of H1N1 swine flu
另一个受瞩目的自建地图是一英国计算机科学家建立的，他的地图也接受用户对其地图进行补充
2009 Swine Flu (H1N1) Outbreak Map

你还可以从其他一些来源获得猪流感信息：世界卫生组织、美国疾病控制中心和联合国粮农组织。
Via Google Maps team
相关文章A/H1N1美国的石油从哪里来Google Maps上的台风预报Google Maps API查询限制：1.73秒GoogleMAPs Hack
© 2009 BehindGFW &#124;
订阅 &#124;
本文链接 &#124;
1条评论 &#124;
添加到del.icio.us]]></description>
			<content:encoded><![CDATA[<p>绝大多数人可能已经听说了<a href="http://www.behindgfw.com/archives/2009/04/ah1n1.html">猪流感</a>病毒在墨西哥的爆发，现在很多人和好几个组织利用Google Maps的自建地图或API建立了自己的猪流感地图来跟踪最新爆发地区：</p>
<ul>
<li><a title="HealthMap.org" href="http://www.healthmap.org/zh" target="_blank">HealthMap.org</a> 综合若干个来源的数据利用Google Maps API跟踪全球性的包括猪流感在内的多种传染性疾病</li>
<li><a title="Ushandi.com" href="http://swineflu.ushahidi.com/" target="_blank">Ushandi.com</a> 在网站上还提供了短信接入号码，利用Google Maps API显示提交给他们的报告</li>
<li><a title="Dr. Henry Niman" href="http://www.recombinomics.com/founder.html" target="_blank">Dr. Henry Niman</a> 致力于研究病毒进化，利用Google  Maps自建了一副猪流感地图跟踪疑似和确诊病例，现基于医学报告和发送给他的Email正持续更新他的地图<br />
<a href="http://flutracker.rhizalabs.com/"><img src="http://lh5.ggpht.com/_D6_Qd4w7mz0/ShKejeSNaoI/AAAAAAAAEFg/Uyh8vi19uFE/flutracker.JPG" alt="猪流感进展" /><br />
Tracking the progress of H1N1 swine flu</a></li>
<li>另一个受瞩目的自建地图是一英国计算机科学家建立的，他的地图也接受用户对其地图进行补充<br />
<a href="http://maps.google.com/maps/ms?ie=UTF8&amp;hl=en&amp;msa=0&amp;msid=109496610648025582911.0004686892fbefe515012&amp;ll=37.0625,-95.677068&amp;spn=23.875,57.630033&amp;source=embed">2009 Swine Flu (H1N1) Outbreak Map</a></li>
</ul>
<p>你还可以从其他一些来源获得猪流感信息：<a title="World Health Organization" href="http://www.who.int/csr/disease/swineflu/en/index.html" target="_blank">世界卫生组织</a>、<a title="Centers for Disease Control" href="http://www.cdc.gov/swineflu/" target="_blank">美国疾病控制中心</a>和<a title="FAO" href="http://www.fao.org/" target="_blank">联合国粮农组织</a>。</p>
<p><strong>Via</strong> <a href="http://google-latlong.blogspot.com/2009/04/mapping-swine-flu-outbreak.html">Google Maps team</a></p>
<h3  class="related_post_title">相关文章</h3><ul class="related_post"><li><a href="http://www.behindgfw.com/archives/2009/04/ah1n1.html" title="A/H1N1">A/H1N1</a></li><li><a href="http://www.behindgfw.com/archives/2008/12/where-does-oil-come-from.html" title="美国的石油从哪里来">美国的石油从哪里来</a></li><li><a href="http://www.behindgfw.com/archives/2007/10/typhoon-forecast-on-google-maps.html" title="Google Maps上的台风预报">Google Maps上的台风预报</a></li><li><a href="http://www.behindgfw.com/archives/2007/02/google-maps-api173.html" title="Google Maps API查询限制：1.73秒">Google Maps API查询限制：1.73秒</a></li><li><a href="http://www.behindgfw.com/archives/2007/01/googlemaps-hack.html" title="GoogleMAPs Hack">GoogleMAPs Hack</a></li></ul><hr />
© 2009 <a href="http://www.behindgfw.com/archives">BehindGFW</a> |
<a href="http://feed.BehindGFW.com/">订阅</a> |
<a href="http://www.behindgfw.com/archives/2009/04/mapping-the-swine-flu.html">本文链接</a> |
<a href="http://www.behindgfw.com/archives/2009/04/mapping-the-swine-flu.html#comments">1条评论</a> |
<a href="http://del.icio.us/post?url=http://www.behindgfw.com/archives/2009/04/mapping-the-swine-flu.html&title=猪流感地图">添加到del.icio.us</a>]]></content:encoded>
			<wfw:commentRss>http://www.behindgfw.com/archives/2009/04/mapping-the-swine-flu.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>美国的石油从哪里来</title>
		<link>http://www.behindgfw.com/archives/2008/12/where-does-oil-come-from.html</link>
		<comments>http://www.behindgfw.com/archives/2008/12/where-does-oil-come-from.html#comments</comments>
		<pubDate>Tue, 30 Dec 2008 02:54:03 +0000</pubDate>
		<dc:creator>behindGFW</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Googlemaps]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[
包括美、日、中等工业化国家每年都耗费大量资金从国外进口石油，现在作为Google.org地理挑战赠款计划一部分，RMI公司洛矶山研究所发布了一个建立在Googlemaps上的地图应用，将美国历年进口的石油数量以动画形式展示出来。
猛击绿色按钮可以播放过去35年间美国从世界各地进口的石油大致数量，进口越多，线条就越粗。从图中可以看出，一个有意思的时期是1982至1985年第二次石油危机期间，由于价格降低造成来自中东地区石油进口下降到非常低的水平。
在过去5个月虽然石油价格急剧下降，大多数人预计石油价格将保持高到不远的将来。
Via: Google LatLong: Where does our oil come from?
相关文章GoogleMAPs Hack没有Gmail我们可以用邮局寄信猪流感地图显示Gmail发信人时区让Google Apps支持.cn中国域名
© 2009 BehindGFW &#124;
订阅 &#124;
本文链接 &#124;
1条评论 &#124;
添加到del.icio.us]]></description>
			<content:encoded><![CDATA[<p><a href="http://picasaweb.google.com/lh/photo/s6ZMVT_R2uH2WZDXlsvySw?authkey=9B0Sml261fM&amp;feat=embedwebsite"><img src="http://lh3.ggpht.com/_D6_Qd4w7mz0/SVl8mxMm6NI/AAAAAAAADxo/wDthWlZzNMw/s288/Where%20The%20Oil%20Comes%20From.PNG" alt="" /></a><br />
包括美、日、中等工业化国家每年都耗费大量资金从国外进口石油，现在作为Google.org地理挑战<a href="http://www.google.org/geochallenge.html">赠款</a>计划一部分，RMI公司洛矶山研究所发布了一个建立在Googlemaps上的地图应用，将美国历年<strong><a href="http://move.rmi.org/features/oilmap.html">进口的石油数量</a></strong>以动画形式展示出来。</p>
<p>猛击绿色按钮可以播放过去35年间美国从世界各地进口的石油大致数量，进口越多，线条就越粗。从图中可以看出，一个有意思的时期是1982至1985年第二次石油危机期间，由于价格降低造成来自中东地区石油进口下降到非常低的水平。</p>
<p>在过去5个月虽然石油价格急剧下降，大多数人预计石油价格将保持高到不远的将来。</p>
<p>Via: <a href="http://google-latlong.blogspot.com/2008/12/cross-posted-with-google.html">Google LatLong: Where does our oil come from?</a></p>
<h3  class="related_post_title">相关文章</h3><ul class="related_post"><li><a href="http://www.behindgfw.com/archives/2007/01/googlemaps-hack.html" title="GoogleMAPs Hack">GoogleMAPs Hack</a></li><li><a href="http://www.behindgfw.com/archives/2009/06/china-blocked-google.html" title="没有Gmail我们可以用邮局寄信">没有Gmail我们可以用邮局寄信</a></li><li><a href="http://www.behindgfw.com/archives/2009/04/mapping-the-swine-flu.html" title="猪流感地图">猪流感地图</a></li><li><a href="http://www.behindgfw.com/archives/2009/04/gmail-sender-time-zone.html" title="显示Gmail发信人时区">显示Gmail发信人时区</a></li><li><a href="http://www.behindgfw.com/archives/2009/01/let-google-apps-support-cn-domains.html" title="让Google Apps支持.cn中国域名">让Google Apps支持.cn中国域名</a></li></ul><hr />
© 2009 <a href="http://www.behindgfw.com/archives">BehindGFW</a> |
<a href="http://feed.BehindGFW.com/">订阅</a> |
<a href="http://www.behindgfw.com/archives/2008/12/where-does-oil-come-from.html">本文链接</a> |
<a href="http://www.behindgfw.com/archives/2008/12/where-does-oil-come-from.html#comments">1条评论</a> |
<a href="http://del.icio.us/post?url=http://www.behindgfw.com/archives/2008/12/where-does-oil-come-from.html&title=美国的石油从哪里来">添加到del.icio.us</a>]]></content:encoded>
			<wfw:commentRss>http://www.behindgfw.com/archives/2008/12/where-does-oil-come-from.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google Maps上的台风预报</title>
		<link>http://www.behindgfw.com/archives/2007/10/typhoon-forecast-on-google-maps.html</link>
		<comments>http://www.behindgfw.com/archives/2007/10/typhoon-forecast-on-google-maps.html#comments</comments>
		<pubDate>Tue, 09 Oct 2007 02:23:06 +0000</pubDate>
		<dc:creator>zdpress</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Googlemaps]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.behindgfw.com/archives/2007/10/typhoon-forecast-on-google-maps.html</guid>
		<description><![CDATA[近日“罗莎”肆虐，6日15时、23时在台湾北部两次登陆，7日15时再次在浙闽交界处登陆，在温州、台州境内肆虐近26小时后减弱为热带风暴于8日17时进入东海。这次的台风路径非常奇怪，在台湾绕了一个圈，在大陆走了一个“几”字形且陆上速度极慢并带来强降雨。
meteo-gis.cn是一个建立在Google Maps上的台风实时预报网站，可以查看当前台风中心位置、移动方向、风圈大小、预测台风路径等，还可以查看历史台风数据。目前该网站只支持IE不支持Firefox。

参考链接：
浙江省台风路径实时发布系统
实时卫星云图
e070377e
相关文章轻松在你blog上显示Google Maps地图Body.onload 关于页面加载完毕的问题Gmap猪流感地图美国的石油从哪里来
© 2009 BehindGFW &#124;
订阅 &#124;
本文链接 &#124;
评论 &#124;
添加到del.icio.us]]></description>
			<content:encoded><![CDATA[<p>近日“<a href="http://news.google.com/news?hl=zh-CN&amp;ned=cn&amp;ie=UTF-8&amp;ncl=1117624104">罗莎</a>”肆虐，6日15时、23时在台湾北部两次登陆，7日15时再次在浙闽交界处登陆，在温州、台州境内肆虐近26小时后减弱为热带风暴于8日17时进入东海。这次的台风路径非常奇怪，在台湾绕了一个圈，在大陆走了一个“几”字形且陆上速度极慢并带来强降雨。</p>
<p><a href="http://www.meteo-gis.cn/">meteo-gis.cn</a>是一个建立在Google Maps上的台风实时预报网站，可以查看当前台风中心位置、移动方向、风圈大小、预测台风路径等，还可以查看历史台风数据。目前该网站只支持IE不支持Firefox。</p>
<p><img src="http://bp3.blogger.com/_D6_Qd4w7mz0/RwrlMn-NtLI/AAAAAAAACQs/xEc8xOMDSHw/s400/typhoon.JPG" style="cursor: pointer" id="BLOGGER_PHOTO_ID_5119155931511108786" alt="台风预报" border="0" /></p>
<p><strong>参考链接：</strong></p>
<p><a href="http://slt.zj.gov.cn/typhoneweb/">浙江省台风路径实时发布系统</a></p>
<p><a href="http://www.zjwater.gov.cn/wxyt/">实时卫星云图</a></p>
<p><span style="color: #ffffff">e070377e</span></p>
<h3  class="related_post_title">相关文章</h3><ul class="related_post"><li><a href="http://www.behindgfw.com/archives/2006/08/bloggoogle-maps.html" title="轻松在你blog上显示Google Maps地图">轻松在你blog上显示Google Maps地图</a></li><li><a href="http://www.behindgfw.com/archives/2006/04/bodyonload.html" title="Body.onload 关于页面加载完毕的问题">Body.onload 关于页面加载完毕的问题</a></li><li><a href="http://www.behindgfw.com/archives/2006/04/gmap.html" title="Gmap">Gmap</a></li><li><a href="http://www.behindgfw.com/archives/2009/04/mapping-the-swine-flu.html" title="猪流感地图">猪流感地图</a></li><li><a href="http://www.behindgfw.com/archives/2008/12/where-does-oil-come-from.html" title="美国的石油从哪里来">美国的石油从哪里来</a></li></ul><hr />
© 2009 <a href="http://www.behindgfw.com/archives">BehindGFW</a> |
<a href="http://feed.BehindGFW.com/">订阅</a> |
<a href="http://www.behindgfw.com/archives/2007/10/typhoon-forecast-on-google-maps.html">本文链接</a> |
<a href="http://www.behindgfw.com/archives/2007/10/typhoon-forecast-on-google-maps.html#comments">评论</a> |
<a href="http://del.icio.us/post?url=http://www.behindgfw.com/archives/2007/10/typhoon-forecast-on-google-maps.html&title=Google Maps上的台风预报">添加到del.icio.us</a>]]></content:encoded>
			<wfw:commentRss>http://www.behindgfw.com/archives/2007/10/typhoon-forecast-on-google-maps.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Maps API查询限制：1.73秒</title>
		<link>http://www.behindgfw.com/archives/2007/02/google-maps-api173.html</link>
		<comments>http://www.behindgfw.com/archives/2007/02/google-maps-api173.html#comments</comments>
		<pubDate>Fri, 02 Feb 2007 04:45:00 +0000</pubDate>
		<dc:creator>zdpress</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Googlemaps]]></category>

		<guid isPermaLink="false">http://behindgfw.com/archives/2007/02/google-maps-api%e6%9f%a5%e8%af%a2%e9%99%90%e5%88%b6%ef%bc%9a173%e7%a7%92.html</guid>
		<description><![CDATA[在Google Maps API申请API key页面上悄悄地增加了一些内容，主要是对API查询数量的一个限制：

There is no limit on the number of page views you may generate per day using the Maps API.  However, if you expect more than 500,000 page views per day, please contact us in advance so we can provision additional capacity to handle your traffic. Otherwise your quality of service may [...]]]></description>
			<content:encoded><![CDATA[<p>在Google Maps API<a href="http://www.google.com/apis/maps/signup.html">申请API key</a>页面上悄悄地增加了一些内容，主要是对API查询数量的一个限制：</p>
<ul style="margin-bottom: 2em">
<li><strong>There is no limit on the number of page views you may generate per day using the Maps API.</strong>  However, if you expect more than 500,000 page views per day, please <a href="http://local.google.com/support/bin/request.py?contact_type=MapsAPI&#038;submit=Continue">contact us</a> in advance so we can provision additional capacity to handle your traffic. Otherwise your quality of service may be degraded.</li>
<li><strong>There is a limit of 50,000 geocode requests per day per Maps API key.</strong> This translates to roughly one geocode request every 1.73 seconds. If you go over this 24-hour limit, the Maps API geocoder may stop working for you temporarily. If you continue to abuse this limit, your access to the Maps API geocoder may be blocked permanently.</li>
<li><strong>&#8230;</strong></li>
</ul>
<p>这些内容在用户条款里并没有出现，可能Google认为这些内容比较重要：</p>
<ul style="margin-bottom: 2em">
<li>你页面显示是每天500,000次。</li>
<li>地址解码查询50,000次，也就是不超过1.73秒一次。</li>
<li>google承诺地图里没有广告，如果要增加，官方会贴出通知。</li>
<li>你的服务对别人也必须是免费的。</li>
<li>不能改变公司徽标logo（我前几天只是新开个窗口，应该不算违反）。</li>
<li>你应当经常保持你的Google Maps API版本与最新一致。</li>
<li>还有Google对使用她的地图来显示诸如那里可以买到非法药物比较反感。</li>
</ul>
<h3  class="related_post_title">相关文章</h3><ul class="related_post"><li><a href="http://www.behindgfw.com/archives/2009/04/mapping-the-swine-flu.html" title="猪流感地图">猪流感地图</a></li><li><a href="http://www.behindgfw.com/archives/2008/12/where-does-oil-come-from.html" title="美国的石油从哪里来">美国的石油从哪里来</a></li><li><a href="http://www.behindgfw.com/archives/2007/10/typhoon-forecast-on-google-maps.html" title="Google Maps上的台风预报">Google Maps上的台风预报</a></li><li><a href="http://www.behindgfw.com/archives/2007/01/googlemaps-hack.html" title="GoogleMAPs Hack">GoogleMAPs Hack</a></li><li><a href="http://www.behindgfw.com/archives/2006/08/bloggoogle-maps.html" title="轻松在你blog上显示Google Maps地图">轻松在你blog上显示Google Maps地图</a></li></ul><hr />
© 2009 <a href="http://www.behindgfw.com/archives">BehindGFW</a> |
<a href="http://feed.BehindGFW.com/">订阅</a> |
<a href="http://www.behindgfw.com/archives/2007/02/google-maps-api173.html">本文链接</a> |
<a href="http://www.behindgfw.com/archives/2007/02/google-maps-api173.html#comments">评论</a> |
<a href="http://del.icio.us/post?url=http://www.behindgfw.com/archives/2007/02/google-maps-api173.html&title=Google Maps API查询限制：1.73秒">添加到del.icio.us</a>]]></content:encoded>
			<wfw:commentRss>http://www.behindgfw.com/archives/2007/02/google-maps-api173.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GoogleMAPs Hack</title>
		<link>http://www.behindgfw.com/archives/2007/01/googlemaps-hack.html</link>
		<comments>http://www.behindgfw.com/archives/2007/01/googlemaps-hack.html#comments</comments>
		<pubDate>Thu, 18 Jan 2007 12:55:00 +0000</pubDate>
		<dc:creator>zdpress</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[WebDev]]></category>
		<category><![CDATA[Googlemaps]]></category>

		<guid isPermaLink="false">http://behindgfw.com/archives/2007/01/googlemaps-hack.html</guid>
		<description><![CDATA[问题的提出：在google map api下写程序的时候，在地图的最下会显示google log和Terms of Use,但是有一个问题如果你点击google log或者Terms of Use，将会跳出你的页面，打断程序显示。如何让链接新开一页面显示呢？
Terms of Use比较好办：可以使用类似如下代码查找替代
var ANode = document.getElementsByTagName(&#8221;A&#8221;);for (var i = 0; i < ANode.length; i++) {if (ANode[i].innerHTML = &#8220;Terms of Use&#8221;) {ANode[i].target=&#8221;_top&#8221;;};};

但是logo图象对应的链接就比较麻烦了,logo图象在&#8221;DOM&#8221;里显示为&#8221;IMG&#8221;标签而&#8221;A&#8221;标签被google故意隐藏了，你点击的时候会将你带到google maps自己的网站上，显示你刚才指定的区域。如何修改target还得废点大脑。无巧不成书，晚上在调试的时候，突然发现logo被替换为文字了，而下午还显示正常，期间并未修改代码。重新回到原来的地方检查，才知道原来晚上google升级api了，logo链接对应的&#8221;A&#8221;标签不再被隐藏了，haha,顺应民意啊！那下面就简单了，你可以在下面测试地图,链接会在新窗口打开。
var ANode = document.getElementsByTagName(&#8221;A&#8221;);for (var i = 0; i < ANode.length; i++) {ANode[i].target=&#8221;_blank&#8221;;} ;map.openInfoWindow(map.getCenter(),document.createTextNode(&#8221;Tag(&#8217;A').length=&#8221;+ANode.length));};

GoogleMAPs TEST
update:今天下午缺省版本又退回到v2.70a了，本文以上特性在v2.71中可以获得支持。现在v2.73已经建立而v2.70a还是缺省的版本，所以现在的api一共有四个版本，而不是通常的三个。可以通过以下方法获得新版本api：        &#038;v=2   gives [...]]]></description>
			<content:encoded><![CDATA[<p>问题的提出：在google map api下写程序的时候，在地图的最下会显示google log和Terms of Use,但是有一个问题如果你点击google log或者Terms of Use，将会跳出你的页面，打断程序显示。如何让链接新开一页面显示呢？</p>
<p>Terms of Use比较好办：<br />可以使用类似如下代码查找替代</p>
<blockquote><p>var ANode = document.getElementsByTagName(&#8221;A&#8221;);<br />for (var i = 0; i < ANode.length; i++) {<br />if (ANode[i].innerHTML = &#8220;Terms of Use&#8221;) {<br />ANode[i].target=&#8221;_top&#8221;;<br />};};</p>
</blockquote>
<p>但是logo图象对应的链接就比较麻烦了,logo图象在&#8221;DOM&#8221;里显示为&#8221;IMG&#8221;标签而&#8221;A&#8221;标签被google故意隐藏了，你点击的时候会将你带到google maps自己的网站上，显示你刚才指定的区域。如何修改target还得废点大脑。无巧不成书，晚上在调试的时候，突然发现logo被替换为文字了，而下午还显示正常，期间并未修改代码。重新回到原来的地方检查，才知道原来晚上google升级api了，logo链接对应的&#8221;A&#8221;标签不再被隐藏了，haha,<a target="_blank" href="http://groups.google.com/group/Google-Maps-API/browse_thread/thread/ae6739210dd20bfa">顺应民意</a>啊！那下面就简单了，你可以在下面测试地图,链接会在新窗口打开。</p>
<blockquote><p>var ANode = document.getElementsByTagName(&#8221;A&#8221;);<br />for (var i = 0; i < ANode.length; i++) {<br />ANode[i].target=&#8221;_blank&#8221;;} ;<br />map.openInfoWindow(map.getCenter(),document.createTextNode(&#8221;Tag(&#8217;A').length=&#8221;+ANode.length));<br />};</p>
</blockquote>
<p><a href="http://behindgfw.googlepages.com/MapTest.html" target="map">GoogleMAPs TEST</a><br /><iframe name="map" src="http://behindgfw.googlepages.com/MapTest.html" framespacing="0" marginheight="0" marginwidth="0" align="middle" frameborder="0" height="310" scrolling="no" width="410"></iframe></p>
<p><b>update:</b><br />今天下午缺省版本又退回到v2.70a了，本文以上特性在v2.71中可以获得支持。<br />现在v2.73已经建立而v2.70a还是缺省的版本，所以现在的api一共有四个版本，而不是通常的三个。<br />可以通过以下方法获得新版本api：<br />        &#038;v=2   gives   v2.70a   &#8220;default&#8221;<br />        &#038;v=2.x gives   v2.71    &#8220;current&#8221;<br />                           v2.72     next<br />                           v2.73     latest</p>
<h3  class="related_post_title">相关文章</h3><ul class="related_post"><li><a href="http://www.behindgfw.com/archives/2008/12/where-does-oil-come-from.html" title="美国的石油从哪里来">美国的石油从哪里来</a></li><li><a href="http://www.behindgfw.com/archives/2006/04/gmailpdf.html" title="用gmail破解PDF">用gmail破解PDF</a></li><li><a href="http://www.behindgfw.com/archives/2009/06/china-blocked-google.html" title="没有Gmail我们可以用邮局寄信">没有Gmail我们可以用邮局寄信</a></li><li><a href="http://www.behindgfw.com/archives/2009/04/mapping-the-swine-flu.html" title="猪流感地图">猪流感地图</a></li><li><a href="http://www.behindgfw.com/archives/2009/04/gmail-sender-time-zone.html" title="显示Gmail发信人时区">显示Gmail发信人时区</a></li></ul><hr />
© 2009 <a href="http://www.behindgfw.com/archives">BehindGFW</a> |
<a href="http://feed.BehindGFW.com/">订阅</a> |
<a href="http://www.behindgfw.com/archives/2007/01/googlemaps-hack.html">本文链接</a> |
<a href="http://www.behindgfw.com/archives/2007/01/googlemaps-hack.html#comments">评论</a> |
<a href="http://del.icio.us/post?url=http://www.behindgfw.com/archives/2007/01/googlemaps-hack.html&title=GoogleMAPs Hack">添加到del.icio.us</a>]]></content:encoded>
			<wfw:commentRss>http://www.behindgfw.com/archives/2007/01/googlemaps-hack.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>轻松在你blog上显示Google Maps地图</title>
		<link>http://www.behindgfw.com/archives/2006/08/bloggoogle-maps.html</link>
		<comments>http://www.behindgfw.com/archives/2006/08/bloggoogle-maps.html#comments</comments>
		<pubDate>Wed, 09 Aug 2006 12:12:00 +0000</pubDate>
		<dc:creator>zdpress</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[WebDev]]></category>
		<category><![CDATA[Googlemaps]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://behindgfw.com/archives/2006/08/%e8%bd%bb%e6%9d%be%e5%9c%a8%e4%bd%a0blog%e4%b8%8a%e6%98%be%e7%a4%bagoogle-maps%e5%9c%b0%e5%9b%be.html</guid>
		<description><![CDATA[想轻松地使用Google Maps API还真不是一件简单的事情，对大多数人来说还是具有一定难度的。正如Google Maps API文档里说的那样，Google Maps API是为熟悉JavaScript的人准备的。不过现在wikimapia.org提供了一个可以简单搞定Google Maps API的方法：在wikimapia上定位并缩放到合适比例，选择显示区域大小，拷贝wikimapia提供给你的html代码，加入你的网页，ok。
其实道理也很简单，wikimapia直接调用了Google Maps的图象，使其在框架里显示并指定框架显示大小。
缺点：只有显示Google Maps地图的单一功能，不能使用添加标记、文字等等其他高级功能。
你可以简单地试验下：在桌面上新建test.txt文本文档，拷贝下面的代码，保存，修改文件名为test.htm，打开。
&#60;iframe src=http://wikimapia.org/s/#y=29898782&#038;x=121935410&#038;z=17&#038;l=6&#038;m=a width=415 height=365 frameborder=0&#62;&#60;/iframe&#62;

相关文章Google Maps上的台风预报Body.onload 关于页面加载完毕的问题Gmap猪流感地图美国的石油从哪里来
© 2009 BehindGFW &#124;
订阅 &#124;
本文链接 &#124;
评论 &#124;
添加到del.icio.us]]></description>
			<content:encoded><![CDATA[<p>想轻松地使用Google Maps API还真不是一件<a href="http://blog.donews.com/hack/posts/850145.aspx" target="_blank">简单</a>的事情，对大多数人来说还是具有一定难度的。正如Google Maps API文档里说的那样，Google Maps API是为熟悉JavaScript的人准备的。不过现在<a href="http://wikimapia.org" target="_blank">wikimapia.org</a>提供了一个可以简单搞定Google Maps API的方法：在wikimapia上定位并缩放到合适比例，选择显示区域大小，拷贝wikimapia提供给你的html代码，加入你的网页，ok。<br />
其实道理也很简单，wikimapia直接调用了Google Maps的图象，使其在框架里显示并指定框架显示大小。<br />
缺点：只有显示Google Maps地图的单一功能，不能使用添加标记、文字等等其他高级功能。<br />
你可以简单地试验下：在桌面上新建test.txt文本文档，拷贝下面的代码，保存，修改文件名为test.htm，打开。</p>
<blockquote dir="ltr" style="margin-right: 0px"><p>&lt;iframe src=http://wikimapia.org/s/#<span class="addblbut1" id="urlchangew">y=29898782&#038;x=121935410&#038;z=17&#038;l=6&#038;m=a width=415 height=365</span> frameborder=0&gt;&lt;/iframe&gt;</p>
</blockquote>
<h3  class="related_post_title">相关文章</h3><ul class="related_post"><li><a href="http://www.behindgfw.com/archives/2007/10/typhoon-forecast-on-google-maps.html" title="Google Maps上的台风预报">Google Maps上的台风预报</a></li><li><a href="http://www.behindgfw.com/archives/2006/04/bodyonload.html" title="Body.onload 关于页面加载完毕的问题">Body.onload 关于页面加载完毕的问题</a></li><li><a href="http://www.behindgfw.com/archives/2006/04/gmap.html" title="Gmap">Gmap</a></li><li><a href="http://www.behindgfw.com/archives/2009/04/mapping-the-swine-flu.html" title="猪流感地图">猪流感地图</a></li><li><a href="http://www.behindgfw.com/archives/2008/12/where-does-oil-come-from.html" title="美国的石油从哪里来">美国的石油从哪里来</a></li></ul><hr />
© 2009 <a href="http://www.behindgfw.com/archives">BehindGFW</a> |
<a href="http://feed.BehindGFW.com/">订阅</a> |
<a href="http://www.behindgfw.com/archives/2006/08/bloggoogle-maps.html">本文链接</a> |
<a href="http://www.behindgfw.com/archives/2006/08/bloggoogle-maps.html#comments">评论</a> |
<a href="http://del.icio.us/post?url=http://www.behindgfw.com/archives/2006/08/bloggoogle-maps.html&title=轻松在你blog上显示Google Maps地图">添加到del.icio.us</a>]]></content:encoded>
			<wfw:commentRss>http://www.behindgfw.com/archives/2006/08/bloggoogle-maps.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Body.onload 关于页面加载完毕的问题</title>
		<link>http://www.behindgfw.com/archives/2006/04/bodyonload.html</link>
		<comments>http://www.behindgfw.com/archives/2006/04/bodyonload.html#comments</comments>
		<pubDate>Fri, 28 Apr 2006 15:46:00 +0000</pubDate>
		<dc:creator>zdpress</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[WebDev]]></category>
		<category><![CDATA[Googlemaps]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://behindgfw.com/archives/2006/04/bodyonload-%e5%85%b3%e4%ba%8e%e9%a1%b5%e9%9d%a2%e5%8a%a0%e8%bd%bd%e5%ae%8c%e6%af%95%e7%9a%84%e9%97%ae%e9%a2%98.html</guid>
		<description><![CDATA[由于上午的Gmap没有调试成功，一直比较郁闷。
1、下午的时候收到K_Reverter的邮件他告诉我可以用window.onload=func的方法来代替Body.onload使用。
2、上网找了点资料，在360doc看到了一个老外关于window.onload的代码，也拿过来用下。
修改代码如下：
&#60;script type=&#8221;text/javascript&#8221; src=&#8221;http://maps.google.com/maps?file=api&#038;v=2&#038;key=ABQIAAAA43IALmfadaZgVb1L-IEizRRKyzQqj4F9myd02mWX0DutlkqY_BQi03TATJA59RMvJYUa4fN7lK7X5g&#8221;&#62;
&#60;/script&#62;
&#60;div id=&#8221;map&#8221; style=&#8221;width: 600px; height: 400px;&#8221;&#62;&#60;/div&#62;
&#60;script type=&#8221;text/javascript&#8221;&#62;
function init() {
if (GBrowserIsCompatible()) {
var map=new GMap(document.getElementById(&#8221;map&#8221;));
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
map.setMapType(G_HYBRID_TYPE);
map.centerAndZoom(new GPoint(121.5581,29.8394), 8);
// Create a base icon for all of our markers that specifies the
// shadow, icon dimensions, etc.
var baseIcon = new GIcon();
baseIcon.shadow = &#8220;http://www.google.com/mapfiles/shadow50.png&#8221;;
baseIcon.iconSize = new GSize(20, 34);
baseIcon.shadowSize = new GSize(37, 34);
baseIcon.iconAnchor = new GPoint(9, 34);
baseIcon.infoWindowAnchor = new [...]]]></description>
			<content:encoded><![CDATA[<p>由于上午的Gmap没有调试成功，一直比较郁闷。<br />
1、下午的时候收到K_Reverter的邮件他告诉我可以用window.onload=func的方法来代替Body.onload使用。<br />
2、上网找了点资料，在<a href="http://www.360doc.com/showWeb/0/0/15725.aspx" target="_blank">360doc</a>看到了一个<a href="http://dean.edwards.name/weblog/2005/09/busted/" target="_blank">老外</a>关于window.onload的代码，也拿过来用下。<br />
修改代码如下：</p>
<blockquote style="margin-right: 0px" dir="ltr"><p>&lt;script type=&#8221;text/javascript&#8221; src=&#8221;http://maps.google.com/maps?file=api&#038;v=2&#038;key=ABQIAAAA43IALmfadaZgVb1L-IEizRRKyzQqj4F9myd02mWX0DutlkqY_BQi03TATJA59RMvJYUa4fN7lK7X5g&#8221;&gt;<br />
&lt;/script&gt;</p>
<p>&lt;div id=&#8221;map&#8221; style=&#8221;width: 600px; height: 400px;&#8221;&gt;&lt;/div&gt;</p>
<p>&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
function init() {<br />
if (GBrowserIsCompatible()) {<br />
var map=new GMap(document.getElementById(&#8221;map&#8221;));<br />
map.addControl(new GSmallMapControl());<br />
map.addControl(new GMapTypeControl());<br />
map.setMapType(G_HYBRID_TYPE);<br />
map.centerAndZoom(new GPoint(121.5581,29.8394), 8);<br />
// Create a base icon for all of our markers that specifies the<br />
// shadow, icon dimensions, etc.<br />
var baseIcon = new GIcon();<br />
baseIcon.shadow = &#8220;http://www.google.com/mapfiles/shadow50.png&#8221;;<br />
baseIcon.iconSize = new GSize(20, 34);<br />
baseIcon.shadowSize = new GSize(37, 34);<br />
baseIcon.iconAnchor = new GPoint(9, 34);<br />
baseIcon.infoWindowAnchor = new GPoint(9, 2);<br />
baseIcon.infoShadowAnchor = new GPoint(18, 25);</p>
<p>// Create a lettered icon for this point using our icon class<br />
var letter = String.fromCharCode(&#8221;A&#8221;.charCodeAt(0) + 25);<br />
var icon = new GIcon(baseIcon);<br />
icon.image = &#8220;http://www.google.com/mapfiles/marker&#8221; + letter + &#8220;.png&#8221;;<br />
var ningbo = new GMarker(new GPoint(121.5581,29.83941),icon);<br />
GEvent.addListener(ningbo, &#8220;click&#8221;, function(){<br />
ningbo.openInfoWindowHtml(&#8221;过几天出去溜达下！&#8221;);  });<br />
map.addOverlay(ningbo);</p>
<p>// Create a lettered icon for this point using our icon class<br />
var letter = String.fromCharCode(&#8221;A&#8221;.charCodeAt(0) + 24);<br />
var icon = new GIcon(baseIcon);<br />
icon.image = &#8220;http://www.google.com/mapfiles/marker&#8221; + letter + &#8220;.png&#8221;;<br />
var zhoushan = new GMarker(new GPoint(122.1018,30.0207),icon);<br />
GEvent.addListener(zhoushan, &#8220;click&#8221;, function(){<br />
zhoushan.openInfoWindowHtml(&#8221;你说什么啊？我听不见呀！&#8221;);<br />
});<br />
map.addOverlay(zhoushan);<br />
}<br />
};</p>
<p>/* for Mozilla */<br />
if (document.addEventListener) {<br />
document.addEventListener(&#8221;DOMContentLoaded&#8221;, init, null);<br />
}</p>
<p>/* for Internet Explorer */<br />
/*@cc_on @*/<br />
/*@if (@_win32)<br />
init<br />
/*@end @*/</p>
<p>/* for other browsers */<br />
window.onload = init;<br />
&lt;/script&gt;</p>
</blockquote>
<p><span style="font-weight: bold">update：</span><br />
1、加载比较慢，请耐心等待片刻，页面里有太多的脚本了，嘿嘿。看来玩Gmap还得有个自己的空间才是！<br />
2、在2个GMarker之间点击的时候先打开的openInfoWindow不能自由关闭，看来还要继续除虫。</p>
<h3  class="related_post_title">相关文章</h3><ul class="related_post"><li><a href="http://www.behindgfw.com/archives/2007/10/typhoon-forecast-on-google-maps.html" title="Google Maps上的台风预报">Google Maps上的台风预报</a></li><li><a href="http://www.behindgfw.com/archives/2006/08/bloggoogle-maps.html" title="轻松在你blog上显示Google Maps地图">轻松在你blog上显示Google Maps地图</a></li><li><a href="http://www.behindgfw.com/archives/2006/04/gmap.html" title="Gmap">Gmap</a></li><li><a href="http://www.behindgfw.com/archives/2009/04/mapping-the-swine-flu.html" title="猪流感地图">猪流感地图</a></li><li><a href="http://www.behindgfw.com/archives/2008/12/where-does-oil-come-from.html" title="美国的石油从哪里来">美国的石油从哪里来</a></li></ul><hr />
© 2009 <a href="http://www.behindgfw.com/archives">BehindGFW</a> |
<a href="http://feed.BehindGFW.com/">订阅</a> |
<a href="http://www.behindgfw.com/archives/2006/04/bodyonload.html">本文链接</a> |
<a href="http://www.behindgfw.com/archives/2006/04/bodyonload.html#comments">评论</a> |
<a href="http://del.icio.us/post?url=http://www.behindgfw.com/archives/2006/04/bodyonload.html&title=Body.onload 关于页面加载完毕的问题">添加到del.icio.us</a>]]></content:encoded>
			<wfw:commentRss>http://www.behindgfw.com/archives/2006/04/bodyonload.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gmap</title>
		<link>http://www.behindgfw.com/archives/2006/04/gmap.html</link>
		<comments>http://www.behindgfw.com/archives/2006/04/gmap.html#comments</comments>
		<pubDate>Fri, 28 Apr 2006 03:22:00 +0000</pubDate>
		<dc:creator>zdpress</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[WebDev]]></category>
		<category><![CDATA[Googlemaps]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://behindgfw.com/archives/2006/04/gmap.html</guid>
		<description><![CDATA[用Gmap api做了张地图，可是发现一个问题，在firefox下显示正常，在ie下浏览器会重置，调试了半天，也没搞定，先发了再说。代码如下：代码开始
  &#60;script type=&#8221;text/javascript&#8221; src=&#8221;http://maps.google.com/maps?file=api&#38;v=2&#38;key=ABQIAAAA43IALmfadaZgVb1L-IEizRT2DsZWTaQwEcLbsDtQz1jnLAblVRRx2_bEwFhsxfHsq9k-5A0PT7xjxw&#8221;&#62;  &#60;/script&#62;  &#60;div id=&#8221;map&#8221; style=&#8221;width: 600px; height: 400px;&#8221;&#62;&#60;/div&#62;  &#60;script type=&#8221;text/javascript&#8221;&#62;  //&#60;![CDATA[if (GBrowserIsCompatible()) {  var map=new GMap(document.getElementById("map"));  map.addControl(new GSmallMapControl());  map.addControl(new GMapTypeControl());  map.setMapType(G_HYBRID_TYPE);  map.centerAndZoom(new GPoint(121.5581,29.8394), 8);  // Create a base icon for all of our markers that specifies the  // shadow, [...]]]></description>
			<content:encoded><![CDATA[<p>用Gmap api做了张地图，可是发现一个问题，在firefox下显示正常，在ie下浏览器会重置，调试了半天，也没搞定，先发了再说。代码如下：<br/>代码开始</p>
<blockquote dir="ltr" style="margin-right: 0px;"><p><br/>  &lt;script type=&#8221;text/javascript&#8221; src=&#8221;http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAA43IALmfadaZgVb1L-IEizRT2DsZWTaQwEcLbsDtQz1jnLAblVRRx2_bEwFhsxfHsq9k-5A0PT7xjxw&#8221;&gt;<br/>  &lt;/script&gt;<br/><br/>  &lt;div id=&#8221;map&#8221; style=&#8221;width: 600px; height: 400px;&#8221;&gt;&lt;/div&gt;<br/><br/>  &lt;script type=&#8221;text/javascript&#8221;&gt;<br/>  //&lt;![CDATA[<br/>if (GBrowserIsCompatible()) {<br/><br/>  var map=new GMap(document.getElementById("map"));<br/>  map.addControl(new GSmallMapControl());<br/>  map.addControl(new GMapTypeControl());<br/>  map.setMapType(G_HYBRID_TYPE);<br/>  map.centerAndZoom(new GPoint(121.5581,29.8394), 8);<br/><br/>  // Create a base icon for all of our markers that specifies the<br/>  // shadow, icon dimensions, etc.<br/>  var baseIcon = new GIcon();<br/>  baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";<br/>  baseIcon.iconSize = new GSize(20, 34);<br/>  baseIcon.shadowSize = new GSize(37, 34);<br/>  baseIcon.iconAnchor = new GPoint(9, 34);<br/>  baseIcon.infoWindowAnchor = new GPoint(9, 2);<br/>  baseIcon.infoShadowAnchor = new GPoint(18, 25);<br/><br/>  // Create a lettered icon for this point using our icon class<br/>  var letter = String.fromCharCode("A".charCodeAt(0) + 25);<br/>  var icon0 = new GIcon(baseIcon);<br/>  icon0.image = "http://www.google.com/mapfiles/marker" + letter + ".png";<br/><br/>  var ningbo = new GMarker(new GPoint(121.5581,29.83941),icon0);<br/>  GEvent.addListener(ningbo, "click", function(){<br/>    ningbo.openInfoWindowHtml("美女啊，我爱你啦！");<br/>  });<br/>  map.addOverlay(ningbo);<br/><br/>  // Create a lettered icon for this point using our icon class<br/>  var letter = String.fromCharCode("A".charCodeAt(0) + 24);<br/>  var icon = new GIcon(baseIcon);<br/>  icon.image = "http://www.google.com/mapfiles/marker" + letter + ".png";<br/>  <br/>  var zhoushan = new GMarker(new GPoint(122.1018,30.0207),icon);<br/>  GEvent.addListener(zhoushan, "click", function(){<br/>    zhoushan.openInfoWindowHtml("你说什么啊？我饭吃过啦！");<br/>  });<br/>  map.addOverlay(zhoushan);<br/><br/><br/>}<br/>  //]]&gt;<br/>&lt;/script&gt;<br/><br/><br/></p>
</blockquote>
<p>代码结束<br/><br/>    google的api文挡里面的实例使用了<br/><br type="_moz"/></p>
<blockquote style="margin-right: 0px;" dir="ltr">
<pre class="code">  &lt;body onload="load()" onunload="GUnload()"&gt;<br/>    &lt;div id="map" style="width: 500px; height: 300px"&gt;&lt;/div&gt;<br/>  &lt;/body&gt;</pre>
</p>
</blockquote>
<p>我估计错误就出现在这个地方，donews的模板我好象设置不了body onload。<br /><br/><br/><br type="_moz"/></p>
<h3  class="related_post_title">相关文章</h3><ul class="related_post"><li><a href="http://www.behindgfw.com/archives/2007/10/typhoon-forecast-on-google-maps.html" title="Google Maps上的台风预报">Google Maps上的台风预报</a></li><li><a href="http://www.behindgfw.com/archives/2006/08/bloggoogle-maps.html" title="轻松在你blog上显示Google Maps地图">轻松在你blog上显示Google Maps地图</a></li><li><a href="http://www.behindgfw.com/archives/2006/04/bodyonload.html" title="Body.onload 关于页面加载完毕的问题">Body.onload 关于页面加载完毕的问题</a></li><li><a href="http://www.behindgfw.com/archives/2009/04/mapping-the-swine-flu.html" title="猪流感地图">猪流感地图</a></li><li><a href="http://www.behindgfw.com/archives/2008/12/where-does-oil-come-from.html" title="美国的石油从哪里来">美国的石油从哪里来</a></li></ul><hr />
© 2009 <a href="http://www.behindgfw.com/archives">BehindGFW</a> |
<a href="http://feed.BehindGFW.com/">订阅</a> |
<a href="http://www.behindgfw.com/archives/2006/04/gmap.html">本文链接</a> |
<a href="http://www.behindgfw.com/archives/2006/04/gmap.html#comments">评论</a> |
<a href="http://del.icio.us/post?url=http://www.behindgfw.com/archives/2006/04/gmap.html&title=Gmap">添加到del.icio.us</a>]]></content:encoded>
			<wfw:commentRss>http://www.behindgfw.com/archives/2006/04/gmap.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
