<?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>Geoinformatics &#187; Flex</title>
	<atom:link href="http://www.geoinformatics.cn/tag/flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geoinformatics.cn</link>
	<description>Arts and Sciences move me on ...</description>
	<lastBuildDate>Fri, 13 Jan 2012 10:29:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>花开两朵 各表一枝</title>
		<link>http://www.geoinformatics.cn/2009/12/%e8%8a%b1%e5%bc%80%e4%b8%a4%e6%9c%b5-%e5%90%84%e8%a1%a8%e4%b8%80%e6%9e%9d/</link>
		<comments>http://www.geoinformatics.cn/2009/12/%e8%8a%b1%e5%bc%80%e4%b8%a4%e6%9c%b5-%e5%90%84%e8%a1%a8%e4%b8%80%e6%9e%9d/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 07:49:44 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[历史研究]]></category>
		<category><![CDATA[技术心得]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[新儒学]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=1623</guid>
		<description><![CDATA[如果单纯在我所在的位置显示“Where I am.”，就会显得过于单一，所以思量着上网顺便学学国学，本来想上载《近思录》或者《中庸》节选，在某人的建议下上传了《论语》的经典对话。首先在guoxue.baidu.com上下载了论语，然后将对白整理成json格式，而后通过adobe.serialization.json类去读取，并解析为array。这样随机选择其中一条放入infomapwindow的content参数里面。关于随机数选取是需要注意的地方，我运用了如下语句： var cnt:String = jsonObj&#91;Math.floor&#40;Math.random&#40;&#41; * &#40;jsonObj.length + 1&#41;&#41;&#93;.item; okey，大功告成，是以记之。 子曰：默而识之，学而不厌，诲人不倦，何有于我哉？]]></description>
			<content:encoded><![CDATA[<div id="attachment_1624" class="wp-caption alignnone" style="width: 510px"><a rel="attachment wp-att-1624" href="http://www.geoinformatics.cn/2009/12/%e8%8a%b1%e5%bc%80%e4%b8%a4%e6%9c%b5-%e5%90%84%e8%a1%a8%e4%b8%80%e6%9e%9d/20091222-23712_geoinformatics/" title="我所在位置，弹出对话框，显示论语经典章句"><img class="size-full wp-image-1624" title="我所在位置，弹出对话框，显示论语经典章句" src="http://www.geoinformatics.cn/wp-content/uploads/2009/12/20091222-23712_Geoinformatics.jpg" alt="我所在位置，弹出对话框，显示论语经典章句" width="500" height="362" /></a><p class="wp-caption-text">我所在位置，弹出对话框，显示论语经典章句</p></div>
<p>如果单纯在我所在的位置显示“Where I am.”，就会显得过于单一，所以思量着上网顺便学学国学，本来想上载《近思录》或者《中庸》节选，在某人的建议下上传了《论语》的经典对话。首先在guoxue.baidu.com上下载了论语，然后将对白整理成json格式，而后通过adobe.serialization.json类去读取，并解析为array。这样随机选择其中一条放入infomapwindow的content参数里面。关于随机数选取是需要注意的地方，我运用了如下语句：</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> cnt<span style="color: #339933;">:</span>String <span style="color: #339933;">=</span> jsonObj<span style="color: #009900;">&#91;</span>Math.<span style="color: #660066;">floor</span><span style="color: #009900;">&#40;</span>Math.<span style="color: #660066;">random</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">*</span> <span style="color: #009900;">&#40;</span>jsonObj.<span style="color: #660066;">length</span> <span style="color: #339933;">+</span> <span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span>.<span style="color: #000066; font-weight: bold;">item</span><span style="color: #339933;">;</span></pre></div></div>

<p>okey，大功告成，是以记之。</p>
<p>子曰：默而识之，学而不厌，诲人不倦，何有于我哉？</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2009/12/%e8%8a%b1%e5%bc%80%e4%b8%a4%e6%9c%b5-%e5%90%84%e8%a1%a8%e4%b8%80%e6%9e%9d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>告别了小梅花，迎来了灰度地图。</title>
		<link>http://www.geoinformatics.cn/2009/12/%e5%91%8a%e5%88%ab%e4%ba%86%e6%88%91%e7%9a%84%e5%b0%8f%e6%a2%85%e8%8a%b1%ef%bc%8c%e8%bf%8e%e6%9d%a5%e4%ba%86%e7%81%b0%e5%ba%a6%e5%9c%b0%e5%9b%be%e3%80%82/</link>
		<comments>http://www.geoinformatics.cn/2009/12/%e5%91%8a%e5%88%ab%e4%ba%86%e6%88%91%e7%9a%84%e5%b0%8f%e6%a2%85%e8%8a%b1%ef%bc%8c%e8%bf%8e%e6%9d%a5%e4%ba%86%e7%81%b0%e5%ba%a6%e5%9c%b0%e5%9b%be%e3%80%82/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 05:09:39 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[GIS]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=1616</guid>
		<description><![CDATA[最开始是Giovanni让我帮他修改flex程序，后来发现他做的那个shadedgray的地图很有创意。于是乎就琢磨着给自己的首页也加一个如此的地图，并显示我所在的地理位置。如果你成功的在www.geoinformatics.cn上看到这篇帖子，你就会看到地图效果。关于实现方法，其实就是给以前的地图上增加一层filter，这样看起来，就可以叠合掉以前的颜色，同时，不光可以实现灰度地图，也可以用不通的滤镜来实现。关于代码，大家可以参考http://www.insideria.com/2009/05/having-fun-with-google-maps-fl.html。enjoy!]]></description>
			<content:encoded><![CDATA[<p>最开始是Giovanni让我帮他修改flex程序，后来发现他做的那个shadedgray的地图很有创意。于是乎就琢磨着给自己的首页也加一个如此的地图，并显示我所在的地理位置。如果你成功的在www.geoinformatics.cn上看到这篇帖子，你就会看到地图效果。关于实现方法，其实就是给以前的地图上增加一层filter，这样看起来，就可以叠合掉以前的颜色，同时，不光可以实现灰度地图，也可以用不通的滤镜来实现。关于代码，大家可以参考<a href="http://www.insideria.com/2009/05/having-fun-with-google-maps-fl.html" target="_blank">http://www.insideria.com/2009/05/having-fun-with-google-maps-fl.html</a>。enjoy! <img src='http://www.geoinformatics.cn/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<div id="attachment_1617" class="wp-caption alignnone" style="width: 510px"><a rel="attachment wp-att-1617" href="http://www.geoinformatics.cn/2009/12/%e5%91%8a%e5%88%ab%e4%ba%86%e6%88%91%e7%9a%84%e5%b0%8f%e6%a2%85%e8%8a%b1%ef%bc%8c%e8%bf%8e%e6%9d%a5%e4%ba%86%e7%81%b0%e5%ba%a6%e5%9c%b0%e5%9b%be%e3%80%82/20091222_screenshot/" title="灰度地图"><img class="size-full wp-image-1617" title="灰度地图" src="http://www.geoinformatics.cn/wp-content/uploads/2009/12/20091222_screenshot.jpg" alt="灰度地图" width="500" height="367" /></a><p class="wp-caption-text">灰度地图</p></div>
<div class="wp-caption alignnone" style="width: 345px"><img title="以前首页上的小梅花" src="http://www.geoinformatics.cn/wp-content/themes/japanese-cherry-blossom-10/images/flowers.jpg" alt="以前首页上的小梅花" width="335" height="145" /><p class="wp-caption-text">以前首页上的小梅花</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2009/12/%e5%91%8a%e5%88%ab%e4%ba%86%e6%88%91%e7%9a%84%e5%b0%8f%e6%a2%85%e8%8a%b1%ef%bc%8c%e8%bf%8e%e6%9d%a5%e4%ba%86%e7%81%b0%e5%ba%a6%e5%9c%b0%e5%9b%be%e3%80%82/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I definitely love this GeoTweeters stuff.</title>
		<link>http://www.geoinformatics.cn/2009/10/i-definitely-love-this-geotweeters-stuff/</link>
		<comments>http://www.geoinformatics.cn/2009/10/i-definitely-love-this-geotweeters-stuff/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 21:10:47 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[ArcGIS]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[GIS]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=1294</guid>
		<description><![CDATA[This application was demonstrated as part of the GIS and Web 2.0 Application Development Demo Theater for the ESRI UC 2009.The sample illustrates how to:1. Integrate the ArcGIS Silverlight API with Twitter2. Geocode your friends with Bing asynchronously3. Use control templates and animation in XAML4. Construct point and line graphics 5. Consume WCF services]]></description>
			<content:encoded><![CDATA[<p><a href="http://resources.esri.com/arcgisserver/apis/silverlight/index.cfm?fa=codeGalleryDetails&amp;scriptId=16467" title="20091008_geotweeter"><img class="alignnone size-full wp-image-1296" title="20091008_geotweeter" src="/wp-content/uploads//20091008_geotweeter.jpg" alt="20091008_geotweeter" width="500" height="246" /></a></p>
<p>This application was demonstrated as part of the <strong>GIS and Web 2.0 Application Development Demo Theater</strong> for the ESRI UC 2009.<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" />The sample illustrates how to:<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" />1. Integrate the ArcGIS Silverlight API with Twitter<br style="padding: 0px; margin: 0px;" />2. Geocode your friends with Bing asynchronously<br style="padding: 0px; margin: 0px;" />3. Use control templates and animation in XAML<br style="padding: 0px; margin: 0px;" />4. Construct point and line graphics <br style="padding: 0px; margin: 0px;" />5. Consume WCF services</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2009/10/i-definitely-love-this-geotweeters-stuff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vote for Umapper</title>
		<link>http://www.geoinformatics.cn/2009/09/vote-for-umapper/</link>
		<comments>http://www.geoinformatics.cn/2009/09/vote-for-umapper/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 20:55:57 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Umapper]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=1157</guid>
		<description><![CDATA[I need your help. Please vote for UMapper on Vator.tv&#8217;s Juice Pitcher contest. All you need to do is go to Vator.tv, create new account and vote. The whole process takes only a minute. Here is the link:http://vator.tv/competition/show/vatortv-and-thefundedcoms-juice-pitcher#participants Thanks, Andrei &#38; Bo]]></description>
			<content:encoded><![CDATA[<p>I need your help. Please vote for UMapper on Vator.tv&#8217;s Juice Pitcher contest. All you need to do is go to Vator.tv, create new account and vote. The whole process takes only a minute. Here is the link:<a style="cursor: pointer; color: #3b5998; text-decoration: none;" onmousedown="UntrustedLink.bootstrap($(this), &quot;6ca60ac4f399c39409ee8b83b982862b&quot;, event)" rel="nofollow" href="http://vator.tv/competition/show/vatortv-and-thefundedcoms-juice-pitcher#participants" target="_blank">http://vator.tv/competition/show/vatortv-and-thefundedcoms-juice-pitcher#participants</a></p>
<p>Thanks,<br />
Andrei &amp; Bo</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2009/09/vote-for-umapper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>全球猪流感疫情分布图</title>
		<link>http://www.geoinformatics.cn/2009/04/%e7%8c%aa%e6%b5%81%e6%84%9f%e5%88%86%e5%b8%83%e5%9b%be/</link>
		<comments>http://www.geoinformatics.cn/2009/04/%e7%8c%aa%e6%b5%81%e6%84%9f%e5%88%86%e5%b8%83%e5%9b%be/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 23:50:09 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[时事评论]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=1017</guid>
		<description><![CDATA[刚刚从andrei那里拿到google 的 swine flu数据，然后就用自己开发的heatmap extension做了这个应用。希望能够让大家更清楚直观的看到猪流感的分布情况。 详见：/lab/swineflu/ 猪 自然寿命：１５年 集约式养殖寿命：５至６个月。 自然食物：杂食，以猪鼻子拱食根及块茎 集约式养殖场食物：丸状饲料 自然生存环境：森林边缘。野猪会作一米高的窝生小猪。 集约式养殖场生存环境：大多数的猪从未见过树和草，在小的无法转身的有金属栏杆的猪栏中生小猪。 自然生活行为：挖掘食物，保持干净 集约式养殖场中的生活行为：精神压抑使得它们变脏，互相咬尾巴或同类相残来发泄无法掘土取食的挫折感，具有进攻性，好打斗。 所以，违反动物基本天性的集约式养殖生产出来的廉价肉蛋，其给人类的代价也许将远远不是金钱能计算出来的。]]></description>
			<content:encoded><![CDATA[<p>刚刚从andrei那里拿到google 的 swine flu数据，然后就用自己开发的heatmap extension做了这个应用。希望能够让大家更清楚直观的看到猪流感的分布情况。</p>
<p>详见：<a href="/lab/swineflu/">/lab/swineflu/</a></p>
<p>猪<br />
自然寿命：１５年<br />
集约式养殖寿命：５至６个月。<br />
自然食物：杂食，以猪鼻子拱食根及块茎<br />
集约式养殖场食物：丸状饲料<br />
自然生存环境：森林边缘。野猪会作一米高的窝生小猪。<br />
集约式养殖场生存环境：大多数的猪从未见过树和草，在小的无法转身的有金属栏杆的猪栏中生小猪。<br />
自然生活行为：挖掘食物，保持干净<br />
集约式养殖场中的生活行为：<strong><span style="color: #ff0000;">精神压抑使得它们变脏，互相咬尾巴或同类相残来发泄无法掘土取食的挫折感，具有进攻性，好打斗。</span></strong><br />
<span style="color: #ff0000;"><strong>所以，违反动物基本天性的集约式养殖生产出来的廉价肉蛋，其给人类的代价也许将远远不是金钱能计算出来的。</strong></span></p>
<p><a href="/wp-content/uploads//11.jpg" rel="shadowbox[sbpost-1017];player=img;" title="11"><img class="alignnone size-full wp-image-1019" title="11" src="/wp-content/uploads//11.jpg" alt="" width="500" height="400" /></a></p>
<p><a href="/wp-content/uploads//21.jpg" rel="shadowbox[sbpost-1017];player=img;" title="21"><img class="alignnone size-full wp-image-1020" title="21" src="/wp-content/uploads//21.jpg" alt="" width="500" height="400" /></a></p>
<p><a href="/wp-content/uploads//31.jpg" rel="shadowbox[sbpost-1017];player=img;" title="31"><img class="alignnone size-full wp-image-1021" title="31" src="/wp-content/uploads//31.jpg" alt="" width="500" height="400" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2009/04/%e7%8c%aa%e6%b5%81%e6%84%9f%e5%88%86%e5%b8%83%e5%9b%be/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>全球政治力量网站分布Heatmap</title>
		<link>http://www.geoinformatics.cn/2009/04/%e5%85%a8%e7%90%83%e6%94%bf%e6%b2%bb%e7%bd%91%e7%ab%99%e5%88%86%e5%b8%83/</link>
		<comments>http://www.geoinformatics.cn/2009/04/%e5%85%a8%e7%90%83%e6%94%bf%e6%b2%bb%e7%bd%91%e7%ab%99%e5%88%86%e5%b8%83/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 21:20:20 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=1011</guid>
		<description><![CDATA[帮一个华盛顿大学的老师做的项目，详见 /lab/politics/。]]></description>
			<content:encoded><![CDATA[<p>帮一个华盛顿大学的老师做的项目，详见 /lab/politics/。</p>
<p><a href="/wp-content/uploads//20090426gpw.jpg" rel="shadowbox[sbpost-1011];player=img;" title="20090426gpw"><img class="alignnone size-full wp-image-1012" title="20090426gpw" src="/wp-content/uploads//20090426gpw.jpg" alt="" width="500" height="393" /></a></p>
<p><a href="/wp-content/uploads//20090426gpw2.jpg" rel="shadowbox[sbpost-1011];player=img;" title="20090426gpw2"><img class="alignnone size-full wp-image-1013" title="20090426gpw2" src="/wp-content/uploads//20090426gpw2.jpg" alt="" width="500" height="393" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2009/04/%e5%85%a8%e7%90%83%e6%94%bf%e6%b2%bb%e7%bd%91%e7%ab%99%e5%88%86%e5%b8%83/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>溪云初起日沉阁，山雨欲来风满楼。</title>
		<link>http://www.geoinformatics.cn/2009/04/%e6%ba%aa%e4%ba%91%e5%88%9d%e8%b5%b7%e6%97%a5%e6%b2%89%e9%98%81%ef%bc%8c%e5%b1%b1%e9%9b%a8%e6%ac%b2%e6%9d%a5%e9%a3%8e%e6%bb%a1%e6%a5%bc%e3%80%82/</link>
		<comments>http://www.geoinformatics.cn/2009/04/%e6%ba%aa%e4%ba%91%e5%88%9d%e8%b5%b7%e6%97%a5%e6%b2%89%e9%98%81%ef%bc%8c%e5%b1%b1%e9%9b%a8%e6%ac%b2%e6%9d%a5%e9%a3%8e%e6%bb%a1%e6%a5%bc%e3%80%82/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 15:45:48 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=984</guid>
		<description><![CDATA[借引唐代诗人许浑在《咸阳城西楼晚眺》的一句经典诗句做为开场白。最近事情确实相当多，也相当有成就 自从我的Heatmap extension和umapper合作以来，已经发布了多个更新版本，更新速度很快，不过现在一直在内部测试，估计在最近几周将会发布商业版本，请大家拭目以待。 简单示例]]></description>
			<content:encoded><![CDATA[<p>借引唐代诗人许浑在《咸阳城西楼晚眺》的一句经典诗句做为开场白。最近事情确实相当多，也相当有成就</p>
<p>自从我的Heatmap extension和<a href="http://www.umapper.com" target="_blank">umapper</a>合作以来，已经发布了多个更新版本，更新速度很快，不过现在一直在内部测试，估计在最近几周将会发布商业版本，请大家拭目以待。</p>
<p><a href="http://www.umapper.com/maps/view/id/29118/" target="_blank">简单示例</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2009/04/%e6%ba%aa%e4%ba%91%e5%88%9d%e8%b5%b7%e6%97%a5%e6%b2%89%e9%98%81%ef%bc%8c%e5%b1%b1%e9%9b%a8%e6%ac%b2%e6%9d%a5%e9%a3%8e%e6%bb%a1%e6%a5%bc%e3%80%82/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>输了，但一点也不难受。</title>
		<link>http://www.geoinformatics.cn/2009/03/%e8%be%93%e4%ba%86%ef%bc%8c%e4%bd%86%e4%b8%80%e7%82%b9%e4%b9%9f%e4%b8%8d%e9%9a%be%e5%8f%97/</link>
		<comments>http://www.geoinformatics.cn/2009/03/%e8%be%93%e4%ba%86%ef%bc%8c%e4%bd%86%e4%b8%80%e7%82%b9%e4%b9%9f%e4%b8%8d%e9%9a%be%e5%8f%97/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 01:23:06 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[ArcGIS]]></category>
		<category><![CDATA[Ext]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Mapfish]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=954</guid>
		<description><![CDATA[下午从best buy回来，给ESRI公司的David Martinez写信询问了今年ESRI Mashup Challenge的结果。很不幸，我没有入选，首先恭喜入选的两位选手Alper Dincer and Matthew Petre（团队）。 中国古代就有吃不到葡萄就说葡萄酸的传统，但是我并不是想说葡萄酸，只是想公正的思考一下为什么这两个人能够获得胜利。Alper做的是将ArcGIS JS API 和EXT结合的构架。说句实话，我真的不觉得这个应用有什么创新，这种概念在2006年时就有了geoEXT，更不说现在的Mapfish。同时，在我所做的应用中，是很少用地图JS API 和EXT进行结合使用的，把这个两个都疯狂耗费客户端内存的东西放在一起使用，是一般用户所难以接受的，虽然界面美观，但是从另一个角度说，你的界面也很单一。在编程方面，我不是个爱慕虚荣的人，所以我不会为了UI而消耗大量的内存。 其次，第二个来自Matthew Petre的，足足四个人的团队，，为什么做出的东西就像是在用simple viewer team的东西呀。。而且，功能很简单，我真的后悔没有把我去年当internet GIS助教时给学生们做的实例拿出来当参赛作品。 也许这就是ESRI的风格，昨天我忍不住骂了ESRI的ArcGIS，今天又不得不颇感无奈，也许自己钟情的开源和ESRI本来就是两条路，想要ESRI支持开源，给你点financial support，估计是相当impossible的stuff。 anyway,最后David Martinez告诉我，说他们明年也要开发heatmap，简直是心头再砍一刀，是自己的思路太超前了？？还是我抢走了ESRI 工程师的饭碗，做了他们应该做的事情？ 呵呵， 就当这次是和ESRI交了一次手，大哥，俺领教您了。下次，俺会长个心眼。 最后还是要感谢这次帮助我的兄弟姐妹们，每每我在QQ或者MSN上倡议帮俺投票，兄弟们总是义无反顾，以后在道上混，还需要大家多多照顾：）]]></description>
			<content:encoded><![CDATA[<p>下午从best buy回来，给ESRI公司的David Martinez写信询问了今年ESRI Mashup Challenge的结果。很不幸，我没有入选，首先恭喜入选的两位选手Alper Dincer and Matthew Petre（团队）。</p>
<p>中国古代就有吃不到葡萄就说葡萄酸的传统，但是我并不是想说葡萄酸，只是想公正的思考一下为什么这两个人能够获得胜利。Alper做的是将ArcGIS JS API 和EXT结合的构架。说句实话，我真的不觉得这个应用有什么创新，这种概念在2006年时就有了geoEXT，更不说现在的Mapfish。同时，在我所做的应用中，是很少用地图JS API 和EXT进行结合使用的，把这个两个都疯狂耗费客户端内存的东西放在一起使用，是一般用户所难以接受的，虽然界面美观，但是从另一个角度说，你的界面也很单一。在编程方面，我不是个爱慕虚荣的人，所以我不会为了UI而消耗大量的内存。</p>
<p>其次，第二个来自Matthew Petre的，足足四个人的团队，，为什么做出的东西就像是在用simple viewer team的东西呀。。而且，功能很简单，我真的后悔没有把我去年当internet GIS助教时给学生们做的实例拿出来当参赛作品。</p>
<p>也许这就是ESRI的风格，昨天我忍不住骂了ESRI的ArcGIS，今天又不得不颇感无奈，也许自己钟情的开源和ESRI本来就是两条路，想要ESRI支持开源，给你点financial support，估计是相当impossible的stuff。</p>
<p>anyway,最后David Martinez告诉我，说他们明年也要开发heatmap，简直是心头再砍一刀，是自己的思路太超前了？？还是我抢走了ESRI 工程师的饭碗，做了他们应该做的事情？ 呵呵， 就当这次是和ESRI交了一次手，大哥，俺领教您了。下次，俺会长个心眼。</p>
<p>最后还是要感谢这次帮助我的兄弟姐妹们，每每我在QQ或者MSN上倡议帮俺投票，兄弟们总是义无反顾，以后在道上混，还需要大家多多照顾：）</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2009/03/%e8%be%93%e4%ba%86%ef%bc%8c%e4%bd%86%e4%b8%80%e7%82%b9%e4%b9%9f%e4%b8%8d%e9%9a%be%e5%8f%97/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>HeatMap for Arcgis Flex API 0.7.0 has been released!</title>
		<link>http://www.geoinformatics.cn/2009/03/heatmap-for-arcgis-flex-api-070-has-been-released/</link>
		<comments>http://www.geoinformatics.cn/2009/03/heatmap-for-arcgis-flex-api-070-has-been-released/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 03:29:11 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=943</guid>
		<description><![CDATA[version 0.7.0 2009-3-21 Adding a new features to indicate the themes of the heatmap. Besides the default rainbow theme, I add another two themes in terms of the Thermal and Blue_to_Red. What&#8217;s more, I have changed the mainl algorithem of the heatmap drawing.Users can take look at the new Wifi example and Change the Theme.]]></description>
			<content:encoded><![CDATA[<p><strong>version 0.7.0  2009-3-21</strong></p>
<p>Adding a new features to indicate the themes of the heatmap. Besides the default rainbow theme, I add another two themes in terms of the Thermal and Blue_to_Red. What&#8217;s more, I have changed the mainl algorithem of the heatmap drawing.Users can take look at the new <a href="../lab/heatmap/wifi.html">Wifi example</a> and <a href="../lab/heatmap/changetheme.html">Change the Theme</a>.</p>
<p><a href="/wp-content/uploads//20090321theme1.jpg" rel="shadowbox[sbpost-943];player=img;" title="20090321theme1"><img class="alignnone size-full wp-image-946" title="20090321theme1" src="/wp-content/uploads//20090321theme1.jpg" alt="" width="454" height="480" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2009/03/heatmap-for-arcgis-flex-api-070-has-been-released/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>HeatMap for Arcgis Flex API 0.6.5 has been released!</title>
		<link>http://www.geoinformatics.cn/2009/03/heatmap-for-arcgis-flex-api-065-has-been-released/</link>
		<comments>http://www.geoinformatics.cn/2009/03/heatmap-for-arcgis-flex-api-065-has-been-released/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 06:02:53 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=935</guid>
		<description><![CDATA[Adding the resample function. if you activate the resample function, it might be a little bit slow, but the heat map will update when zooming and panning, the result would be much more accurate,however, sometimes it is not that necessary to be too accurate. The users can take look at the new Wifi example and [...]]]></description>
			<content:encoded><![CDATA[<p>Adding the resample function. if you activate the resample function, it might be a little bit slow, but the heat map will update when zooming and panning, the result would be much more accurate,however, sometimes it is not that necessary to be too accurate. The users can take look at the new <a href="../lab/heatmap/wifi.html">Wifi example</a> and <a href="../lab/heatmap/resample.html">resample example</a>.</p>
<p><a href="/wp-content/uploads//20090312heatmap.png" rel="shadowbox[sbpost-935];player=img;" title="20090312heatmap"><img class="alignnone size-full wp-image-937" title="20090312heatmap" src="/wp-content/uploads//20090312heatmap.png" alt="" width="300" height="296" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2009/03/heatmap-for-arcgis-flex-api-065-has-been-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HeatMap for Arcgis Flex API 0.6.2 has been released!</title>
		<link>http://www.geoinformatics.cn/2009/03/heatmap-for-arcgis-flex-api-062-has-been-released/</link>
		<comments>http://www.geoinformatics.cn/2009/03/heatmap-for-arcgis-flex-api-062-has-been-released/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 13:01:49 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Heat Map]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=933</guid>
		<description><![CDATA[youo can download the plugin at http://resources.esri.com/arcgisserver/apis/flex/index.cfm?fa=codeGalleryDetails&#38;scriptID=16048. much more examples has been added. And the functions are much easier to use, you can add points or point on the fly or even set the properties on time. the examples are, 1) /lab/heatmap/wifi.html 2) /lab/heatmap/live_earthquakes.html. 3) /lab/heatmap/basicExample.html. 4) /lab/heatmap/addPoint.html. 5) /lab/heatmap/allParam.html. 6) /lab/heatmap/dynamicSetProperties.html Hope you could [...]]]></description>
			<content:encoded><![CDATA[<p>youo can download the plugin at http://resources.esri.com/arcgisserver/apis/flex/index.cfm?fa=codeGalleryDetails&amp;scriptID=16048.</p>
<p>much more examples has been added. And the functions are much easier to use, you can add points or point on the fly or even set the properties on time. the examples are,</p>
<p>1) /lab/heatmap/wifi.html<br />
2) /lab/heatmap/live_earthquakes.html.<br />
3) /lab/heatmap/basicExample.html.<br />
4) /lab/heatmap/addPoint.html.<br />
5) /lab/heatmap/allParam.html.<br />
6) /lab/heatmap/dynamicSetProperties.html</p>
<p>Hope you could support my heatmap plugin. And just vote for me if you think this  plugin is useful. If you have some problems in using my plugin, just connect me with my contact information on this blog. What&#8217;s more, if you like this plugin and which could be ultilized in your project, fell free to denote some money to me to encourage to make much more useful open source tools.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2009/03/heatmap-for-arcgis-flex-api-062-has-been-released/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>HeatMap Plugin for ArcGIS Flex API</title>
		<link>http://www.geoinformatics.cn/2009/02/heatmap-plugin-for-arcgis-flex-api/</link>
		<comments>http://www.geoinformatics.cn/2009/02/heatmap-plugin-for-arcgis-flex-api/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 04:51:21 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[ArcGIS]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Heat Map]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=926</guid>
		<description><![CDATA[I&#8217;ve just written this plugin, the current version of which is 0.5.0. In terms of the usage, this plugin is used to create heatmaps on to ArcGIS Flex Map. There are also a couple of examples to guide you to learn how to use this plugin. Heatmap is very useful to analysis and visualize the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just written this plugin, the current version of which is 0.5.0. In terms of the usage, this plugin is used to create heatmaps on to ArcGIS Flex Map. There are also a couple of examples to guide you to learn how to use this plugin. Heatmap is very useful to analysis and visualize the trends of a group of markers in 2D surface. There is rarely examples on how to make a heatmap for a web application. ArcGIS Flex API just provides us a good tool to create heatmap. Here are two lively examples:</p>
<ol>
<li>/lab/heatmap/wifi.html</li>
<li>/lab/heatmap/live_earthquakes.html.</li>
</ol>
<p style="text-align: center;"><a href="/wp-content/uploads//20090223_wifi.jpg" rel="shadowbox[sbpost-926];player=img;" title="20090223_wifi"><img class="size-medium wp-image-927 aligncenter" title="20090223_wifi" src="/wp-content/uploads//20090223_wifi-300x221.jpg" alt="" width="300" height="221" /></a></p>
<p style="text-align: left;">And you can download this plugin at http://resources.esri.com/arcgisserver/apis/flex/index.cfm?fa=codeGalleryDetails&amp;scriptID=16048 .</p>
<p style="text-align: left;"><strong>PS: </strong>Hope you could support my heatmap plugin. And just vote for me if you think this  plugin is useful. And Now I am trying to convert it to meet Umap.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2009/02/heatmap-plugin-for-arcgis-flex-api/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Making heatmap for Arcgis Flex API</title>
		<link>http://www.geoinformatics.cn/2009/02/making-heatmap-for-arcgis-flex-api/</link>
		<comments>http://www.geoinformatics.cn/2009/02/making-heatmap-for-arcgis-flex-api/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 01:53:54 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[ArcGIS]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[GIS]]></category>
		<category><![CDATA[Heat Map]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=920</guid>
		<description><![CDATA[Sorry for not updating my blog recently, Recently I mainly focused on making HeatMap. I have succeesfully made some heatmap by  Arcgis Flex API and Google Flex map API. for instance, I use the live earthquake georss data to make the following map, datasource: feed://earthquake.usgs.gov/eqcenter/catalogs/7day-M2.5.xml I decided to make a plugin for ArcGIS Flex API [...]]]></description>
			<content:encoded><![CDATA[<p>Sorry for not updating my blog recently, Recently I mainly focused on making HeatMap. I have succeesfully made some heatmap by  Arcgis Flex API and Google Flex map API. for instance, I use the live earthquake georss data to make the following map,</p>
<p><a href="/wp-content/uploads//20090215_heatmap.jpg" rel="shadowbox[sbpost-920];player=img;" title="heatmap for lively earthquakes"><img class="alignnone size-full wp-image-921" title="heatmap for lively earthquakes" src="/wp-content/uploads//20090215_heatmap.jpg" alt="" width="480" height="368" /></a></p>
<p>datasource: feed://earthquake.usgs.gov/eqcenter/catalogs/7day-M2.5.xml</p>
<p>I decided to make a plugin for ArcGIS Flex API first to make heatmaps. It might cost me couple of days, however, it will faciliate to make heatmaps then.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2009/02/making-heatmap-for-arcgis-flex-api/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>debugging flexdjango enviornment.</title>
		<link>http://www.geoinformatics.cn/2009/02/debugging-flexdjango-enviornment/</link>
		<comments>http://www.geoinformatics.cn/2009/02/debugging-flexdjango-enviornment/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 18:58:16 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[Django]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=909</guid>
		<description><![CDATA[flex&#8211;&#62; flex builder django-&#62; pdb ps: I found a wonderful tutorial sites for beginners of python. here is the link: http://www.showmedo.com/]]></description>
			<content:encoded><![CDATA[<p>flex&#8211;&gt; flex builder</p>
<p>django-&gt; pdb</p>
<p>ps: I found a wonderful tutorial sites for beginners of python. here is the link:</p>
<p>http://www.showmedo.com/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2009/02/debugging-flexdjango-enviornment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex 3 metadata tags</title>
		<link>http://www.geoinformatics.cn/2009/01/flex-3-metadata-tags/</link>
		<comments>http://www.geoinformatics.cn/2009/01/flex-3-metadata-tags/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 15:48:32 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=899</guid>
		<description><![CDATA[Flex引入了元数据标签的概念，它告诉编译器如何编译这段Flex 或actionscript代码。大多数人都使用过[Bindable]标签，元数据标签是一种 特殊的标签，它在代码中的作用就是向编译器提供如何编译程序的信息。实际上，这些标签并没有被编译到生成的SWF文件中，而只是告诉编译器如何生成SWF 文件。这篇Post结合网上相关的资料以及Adobe的help resource center的相关材料介绍了16个元数据标签。 [ArrayElementType] 实际上，定义一个数组通常来说是一件很平常的事情，因为数组中的元素可以是任何类型的。不过，使用ArrayElementType元数据标签可以让你定义数组元素的数据类型。下面的例子展示了如何使用[ArrayElementType]： [ArrayElementType(”String”)] public var arrayOfStrings:Array; [ArrayElementType(”Number”)] public var arrayOfNumbers:Array; [ArrayElementType(”mx.core.UIComponent”)] public var arrayOfUIComponents:Array; [Bindable] Bindable元数据标签是最经常用到的一个元数据标签，因为它使程序组件之间的数据同步变得很容易。Bindable可以用来绑定简单数据类型、类、复杂数据类型以及函数。绑定数据的时候，你必须先使用元数据标签定义一下数据。Bindable也可以用来绑定到事件。 [DefaultProperty] DefaultProperty元数据标签用来将一个单一属性设定为某个类的默认属性。它允许在一个容器标签内设定属性，而不用定义属性的名字。一个简单的例子就是一个自定义Button类。Listing 3展示了一个简单的Button类，它将label属性设定为了DefaultProperty。Listing 4展示了label属性是如何在自定义Button标签中作为一个字符串定义的。 [Deprecated] A class or class elements marked as deprecated is one which is considered obsolete, and whose use is discouraged in the current release. While the class or class [...]]]></description>
			<content:encoded><![CDATA[<p>Flex引入了元数据标签的概念，它告诉编译器如何编译这段Flex 或actionscript代码。大多数人都使用过[Bindable]标签，元数据标签是一种 特殊的标签，它在代码中的作用就是向编译器提供如何编译程序的信息。实际上，这些标签并没有被编译到生成的SWF文件中，而只是<strong>告诉编译器如何生成SWF 文件。</strong>这篇Post结合网上相关的<a href="http://hi.baidu.com/cjmxp/blog/item/3eefebfe7af01e365c600893.html" target="_blank">资料</a>以及Adobe的<a href="http://livedocs.adobe.com/flex/3/html/help.html?content=metadata_3.html" target="_blank">help resource center的相关材料</a>介绍了16个元数据标签。<strong></strong></p>
<p><strong>[ArrayElementType]</strong></p>
<p>实际上，定义一个数组通常来说是一件很平常的事情，因为数组中的元素可以是任何类型的。不过，使用ArrayElementType元数据标签可以让你定义数组元素的数据类型。下面的例子展示了如何使用[ArrayElementType]：</p>
<p>[ArrayElementType(”String”)]<br />
public var arrayOfStrings:Array; [ArrayElementType(”Number”)]<br />
public var arrayOfNumbers:Array;</p>
<p>[ArrayElementType(”mx.core.UIComponent”)]<br />
public var arrayOfUIComponents:Array;</p>
<p><strong>[Bindable]</strong></p>
<p>Bindable元数据标签是最经常用到的一个元数据标签，因为它使程序组件之间的数据同步变得很容易。Bindable可以用来绑定简单数据类型、类、复杂数据类型以及函数。绑定数据的时候，你必须先使用元数据标签定义一下数据。Bindable也可以用来绑定到事件。</p>
<p><strong>[DefaultProperty]</strong></p>
<p>DefaultProperty元数据标签用来将一个单一属性设定为某个类的默认属性。它允许在一个容器标签内设定属性，而不用定义属性的名字。一个简单的例子就是一个自定义Button类。<a href="http://res.sys-con.com/story/apr07/361239/source.html">Listing 3</a>展示了一个简单的Button类，它将label属性设定为了DefaultProperty。<a href="http://res.sys-con.com/story/apr07/361239/source.html">Listing 4</a>展示了label属性是如何在自定义Button标签中作为一个字符串定义的。</p>
<p><strong>[Deprecated]</strong></p>
<p>A class or class elements marked as deprecated is one which is considered obsolete, and whose use is discouraged in the current release. While the class or class element still works, its use can generate compiler warnings.</p>
<p><strong>[Embed]</strong></p>
<p>Embed元数据标签用来导入图片到程序。可以通过两种方式使用Embed。你可以将图片嵌入到ActionScript中并将其指派给一个变量（如同下面代码中的第一个例子），或者你也可以将图片直接指派给组件的属性（使用下面代码中的第二个例子所示的语法规则）。</p>
<p>例1：</p>
<p>[Embed(source=”myIcon.gif”)]<br />
[Bindable]<br />
public var myIcon:Class;&lt;mx:Button label=”Icon Button 1″ icon=”{myIcon}”/&gt;<br />
&lt;mx:Button label=”Icon Button 2″ icon=”{myIcon}”/&gt;</p>
<p>例2：</p>
<p>&lt;mx:Button label=”Icon Button 1″ icon=”@Embed(source=myIcon.gif’)”/&gt;&lt;mx:Button label=”Icon Button 2″ icon=”@Embed(source=myIcon.gif’)”/&gt;</p>
<p>上面这两个例子产生的结果是一样的。创建myIcon类的好处是，它在一个类中只定义一次并可以绑定到程序中的多个组件。</p>
<p><strong>[Event]</strong></p>
<p>Event元数据标签用来声明那些被自定义类分派的事件。将这个元数据标签添加到类定义中之后，你就可以在MXML标签中添加事件处理函数来初始化该自定义类。</p>
<p><strong>[Effect]</strong></p>
<p>Effect元数据标签用来定义一个自定义效果，当某个事件发生的时候该效果会被分派。</p>
<p><strong>[IconFile]</strong></p>
<p>IconFile 是用来定义一个jpg，gif或者png文件的文件名的，它在你的自定义类中作为图标来使用。[Embed]元数据标签可以用来嵌入图片、SWF文件、音 乐文件以及视频文件等，而IconFile则只是用来嵌入用来作为自定义类图标的文件。下面是一个IconFile的例子：</p>
<p>[IconFile(”icon.png”)]<br />
public class CustomButton extends Button<br />
{}</p>
<p><strong>[Inspectable]</strong></p>
<p>在使用Flex Builder 2的时候，你可能会希望某些自定义组件的属性在代码提示和属性检查器（property inspector）中显示，Inspectable元数据标签就是用来定义那些属性的。</p>
<p><strong>[InstanceType]</strong></p>
<p>当在一个模板对象中声明一个像IDeferredInstance这样的变量时，InstanceType元数据标签就用来声明对象的类型。下面是InstanceType的用法：</p>
<p>[InstanceType(”package.className”)]</p>
<p><strong>[NonCommittingChangeEvent]</strong></p>
<p>NonCommittingChangeEvent元数据标签在某个特定事件发生的时候可以防止变量在事件发生的过程中被更改。</p>
<p><strong>[RemoteClass]</strong></p>
<p>RemoteClass 可以用来将一个ActionScript类绑定到一个Java类或一个ColdFusion CFC。这样做可以自动转换数据类型。下面的例子将包com.mydomain中的名为MyClass的ActionScript类绑定到了同一个包中名 为MyClass的Java类：</p>
<p>package com.mydomain {<br />
[Bindable]<br />
[RemoteClass(alias=”com.mydomain.MyClass”)]<br />
public class MyClass {<br />
public var id:int; public var myText:String;</p>
<p>}<br />
}</p>
<p><strong>[Style]</strong></p>
<p>Style元数据标签用来为组件定义自定义样式属性的。只需要简单地将Sytle元数据标签添加到类的定义当然，然后就可以使用getSytle方法获取它的值了。</p>
<table style="height: 408px;" border="1" width="690">
<tbody>
<tr>
<td><strong>标签</strong></td>
<td><strong>描述</strong></td>
</tr>
<tr>
<td>[ArrayElementType]</td>
<td>在数组中定义所有允许的数据类型。</td>
</tr>
<tr>
<td>[Bindable]</td>
<td>声明一个属性可以在代码中使用数据绑定表达式。</td>
</tr>
<tr>
<td>[DefaultProperty]</td>
<td>定义组件在MXML中使用时的默认属性的名称。</td>
</tr>
<tr>
<td>[Deprecated]</td>
<td>标识一个类或类的元素是不推荐使用的，这样编译器能认出他并在被调用时给出一个警告信息。</td>
</tr>
<tr>
<td>[Effect]</td>
<td>定义MXML的特效属性名称。</td>
</tr>
<tr>
<td>[Embed]</td>
<td>在编译时导入 JPED,PNG,SVG 或 SWF文件。也会导入SWC文件的图片资源。他的功能等同于MXML中的 @Embe 语法。</td>
</tr>
<tr>
<td>[Event]</td>
<td>定义MXML的事件属性的名称和类型。</td>
</tr>
<tr>
<td>[Exclude]</td>
<td>使 Flex Builder 的标签检查器忽略类元素。语法类似 [Exclude(name=”label”, kind=”property”)]</td>
</tr>
<tr>
<td>[ExcludeClass]</td>
<td>是 Flex Builder 标签检查器忽略类。这相当于ASDoc中的 @private 标签。</td>
</tr>
<tr>
<td>[IconFile]</td>
<td>定义一个图标文件，使组件在Adobe Flex Builder的插入面板中以该图标显示。</td>
</tr>
<tr>
<td>[Inspectable]</td>
<td>定义一个属性的列表，供组件使用者在 Flex Builder 的的属性提示和标签检查中使用。同时也定义了属性的可用值。</td>
</tr>
<tr>
<td>[InstanceType]</td>
<td>指定了 IDeferredInstance 中的，属性接受的数据类型。</td>
</tr>
<tr>
<td>[NonCommittingChangeEvent]</td>
<td>定义一个事件过渡触发器。</td>
</tr>
<tr>
<td>[RemoteClass]</td>
<td>把一个ActionScript对象映射到Java对象。</td>
</tr>
<tr>
<td>[Style]</td>
<td>为组件的样式属性定义一个MXML标签属性。</td>
</tr>
<tr>
<td>[Transient]</td>
<td valign="top">当一个 ActionScript 对象被映射到Java对象后，被该标签标识的属性，会从发送到服务端的数据中忽略掉。</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2009/01/flex-3-metadata-tags/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Making Heatmap by Flex Google Map API</title>
		<link>http://www.geoinformatics.cn/2009/01/making-heatmap-by-flex-google-map-api/</link>
		<comments>http://www.geoinformatics.cn/2009/01/making-heatmap-by-flex-google-map-api/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 05:15:49 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=897</guid>
		<description><![CDATA[just list some references: http://biodivertido.blogspot.com/2008/08/gbif-data-heat-maps-heat-maps-over.html http://biodivertido.blogspot.com/2008/08/google-maps-heatmap-now-correctly.html http://seld.be/notes/heat-maps-drawing-in-flash http://kelsocartography.com/blog/?p=705 http://s3.amazonaws.com/biodiversityatlas.com/heatMapProjected/SpeciesHeatMap.html http://google-maps-api.googlegroups.com/web/GoogleMapUtility.php?hl=en&#038;gda=0PsPl0YAAABS2up3cAFQx2Ch4bRe1fLHgs8xrGcfj421b8zF7Tu21rf-FQWcUp7SqoFHglRBLJP-gDhPeIFUTk5qCvTYq_EGE-Ea7GxYMt0t6nY0uV5FIQ http://michaelvandaniker.com/blog/2008/07/06/how-to-make-heat-maps-in-flex/ http://blog.corunet.com/english/how-to-make-heat-maps http://www.insideria.com/2008/06/working-with-geogrpahic-data.html]]></description>
			<content:encoded><![CDATA[<p>just list some references:</p>
<p>http://biodivertido.blogspot.com/2008/08/gbif-data-heat-maps-heat-maps-over.html</p>
<p>http://biodivertido.blogspot.com/2008/08/google-maps-heatmap-now-correctly.html</p>
<p>http://seld.be/notes/heat-maps-drawing-in-flash</p>
<p>http://kelsocartography.com/blog/?p=705</p>
<p>http://s3.amazonaws.com/biodiversityatlas.com/heatMapProjected/SpeciesHeatMap.html</p>
<p>http://google-maps-api.googlegroups.com/web/GoogleMapUtility.php?hl=en&#038;gda=0PsPl0YAAABS2up3cAFQx2Ch4bRe1fLHgs8xrGcfj421b8zF7Tu21rf-FQWcUp7SqoFHglRBLJP-gDhPeIFUTk5qCvTYq_EGE-Ea7GxYMt0t6nY0uV5FIQ</p>
<p>http://michaelvandaniker.com/blog/2008/07/06/how-to-make-heat-maps-in-flex/</p>
<p>http://blog.corunet.com/english/how-to-make-heat-maps</p>
<p>http://www.insideria.com/2008/06/working-with-geogrpahic-data.html</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2009/01/making-heatmap-by-flex-google-map-api/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Flex your Django</title>
		<link>http://www.geoinformatics.cn/2009/01/flex-your-django/</link>
		<comments>http://www.geoinformatics.cn/2009/01/flex-your-django/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 18:27:39 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[Django]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=893</guid>
		<description><![CDATA[Don&#8217;t be cheated by the title, though I want to write sth on how to bind the flex and Django, I still do not find a way out. some clues I could pursue: 1) use php as the server side script. 2) still use Openlayers as the client side map viewer. but Alphahome and I [...]]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t be cheated by the title, though I want to write sth on how to bind the flex and Django, I still do not find a way out.</p>
<p>some clues I could pursue:</p>
<p>1) use php as the server side script.</p>
<p>2) still use Openlayers as the client side map viewer. but Alphahome and I still write our flex based Map viewer now.</p>
<p>3) write our model by python, particularly the cellular automatic  model, and sea level rising model.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2009/01/flex-your-django/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cooliris your photo albums</title>
		<link>http://www.geoinformatics.cn/2009/01/cooliris-your-photo-albums/</link>
		<comments>http://www.geoinformatics.cn/2009/01/cooliris-your-photo-albums/#comments</comments>
		<pubDate>Sun, 18 Jan 2009 09:59:54 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=874</guid>
		<description><![CDATA[Cooliris是一个网络图片，视频提取、播放器。现在的版本是1.9。 最早是2008年5月份接触Cooliris，它在FireFox上表现的效果让人大为震撼。2008年底的时候，Cooliris就已经可以支持多个浏览器，并支持iphone。而新近的1.9更可以支持Developer自定义，并插入个人网站。其效果远远优于flickr，picasa以及youtube所提供的embeded applications。 个人认为是Cooliris采用了Flash技术的缘故，但是这会比基于Jquery，Mootools的Lightview，Thickbox等效果更好，而且，更加重要的是，性能更为强劲。Flex的发展，大有可为。]]></description>
			<content:encoded><![CDATA[<p>Cooliris是一个网络图片，视频提取、播放器。现在的版本是1.9。</p>
<p>最早是2008年5月份接触Cooliris，它在FireFox上表现的效果让人大为震撼。2008年底的时候，Cooliris就已经可以支持多个浏览器，并支持iphone。而新近的1.9更可以支持Developer自定义，并插入个人网站。其效果远远优于flickr，picasa以及youtube所提供的embeded applications。</p>
<p>个人认为是Cooliris采用了Flash技术的缘故，但是这会比基于Jquery，Mootools的Lightview，Thickbox等效果更好，而且，更加重要的是，性能更为强劲。Flex的发展，大有可为。<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="550" height="450" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="id" value="o" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://apps.cooliris.com/embed/cooliris.swf" /><embed id="o" type="application/x-shockwave-flash" width="550" height="450" src="http://apps.cooliris.com/embed/cooliris.swf" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2009/01/cooliris-your-photo-albums/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>幸福着你的幸福，query着你的query。</title>
		<link>http://www.geoinformatics.cn/2009/01/%e5%b9%b8%e7%a6%8f%e7%9d%80%e4%bd%a0%e7%9a%84%e5%b9%b8%e7%a6%8f%ef%bc%8cquery%e7%9d%80%e4%bd%a0%e7%9a%84query%e3%80%82/</link>
		<comments>http://www.geoinformatics.cn/2009/01/%e5%b9%b8%e7%a6%8f%e7%9d%80%e4%bd%a0%e7%9a%84%e5%b9%b8%e7%a6%8f%ef%bc%8cquery%e7%9d%80%e4%bd%a0%e7%9a%84query%e3%80%82/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 08:07:25 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Jquery]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=868</guid>
		<description><![CDATA[好久不写blog，有点手生。 记得以前用Ext的时候，就超级鄙视DOM，后来有了Jquery，就开始鄙视EXT。Jquery用熟悉了，EXT不稀罕用，怕后来花钱；Mootools不想用，怕费工夫。说的直白一点，习惯用Jquery，所以就像守着自己的老婆孩子和热炕头，不愿意搭理其他，不过话说回来，Jquery的优秀也是有目共睹的。久而久之，自己的编程习惯越来越靠向Jquery Style。 2009 Spring Semester伊始，思量自己web编程的思路，加之2009年将放到climate change 以及transportation modelling的编程，我开始慢慢回归一些比较basic的技术问题：服务器脚本用什么？客户端脚本有用什么。 先说服务器端，.NET和php是我常用。而对于WebGIS方面，MS4W可以说功能非常强大，他结合了apache, mapserver以及proj4， GDAL/OGR 等常用的开源GIS类库，使开发基于php的GIS服务器更加高效，尽管php在服务器脚本方面表现出众，但是对于大型的服务器端任务，仍有一定差距。后来，我接触了python, 使用了mod_python， Django，trac，svn等，基于python开发服务器服务越来越得心应手，同时，大量的基于python的科学计算库可被借鉴使用。大大降低了利用python开发复杂的服务的难度。08年9上旬的where2.0会议，houstonCrimeMap的开发者Justin Bronn做了关于GeoDjango的精彩演讲，GeoDjango在我看来，非常类似MS4W，虽然说GeoDjango的功能还远远达不到MS4W那么强大，至少还不提供地图发布的功能。但是Mapnik已经将和GeoDjango的整合提上议程。基于上述原因，我希望以后能够更多的基于GeoDjango开发网络应用，其原因主要有1）优美的url 2）快捷的MTV模式 3）python强大的wrapper功能以及对GIS libraries的高效利用。 4） 大量基于python的科学计算类库。同时，还发现了拥有和Jqeury类似语法的pyQuery。不得不说，我喜欢jquery的风格。pyQuery继承了Jquery，并有效的和python语法相融合。如果要处理XML，pyQuery是不二候选。 再说服务器端，在javascript环境下，最令人头的并不是debug，而是cross-browsers。IE7，FireFox，Opera，Safari，and even Chrome&#8230; &#8230; 有太多浏览器，这使得即使相同一段javascript代码，仍会产生不同的结果。所以程序员们利用flash降低对浏览器parser的依赖。微软眼馋Flash，于是乎发布了silverlight来处理客户端脚本和可视化客户端对象。actionscript相比javascript和silverlight有着不可比的优势。actionscript比javascript更加面向对象，图像效果也更好，actionscript比silverlight更具有跨平台性的。所以，我希望自己今后能更多的使用actionscript来进行前台程序开发。这样不光能发挥flash强大的图形处理性能，同时也能够避免javascript繁琐的不同浏览器处理一致性的调试过程。其实，我也时常思索，宁可多花点时间使用actionscript，也别把太多时间浪费在使用javascript调试sytle。。同时，在actionscript，as3query来进行类似jquery的操作。as3query是本月14号由一位帅气的日本程序员nitoyon先生编写发行。论坛评价非常高，虽然as3query没有ajax功能，但这并不妨碍as3query是对于actionsript快捷的操作，特别是渲染flash的时候，as3query更是作用斐然。 就先说到这里，有啥情况大家交流。]]></description>
			<content:encoded><![CDATA[<p>好久不写blog，有点手生。</p>
<p>记得以前用Ext的时候，就超级鄙视DOM，后来有了Jquery，就开始鄙视EXT。Jquery用熟悉了，EXT不稀罕用，怕后来花钱；Mootools不想用，怕费工夫。说的直白一点，习惯用Jquery，所以就像守着自己的老婆孩子和热炕头，不愿意搭理其他，不过话说回来，Jquery的优秀也是有目共睹的。久而久之，自己的编程习惯越来越靠向Jquery Style。</p>
<p>2009 Spring Semester伊始，思量自己web编程的思路，加之2009年将放到climate change 以及transportation modelling的编程，我开始慢慢回归一些比较basic的技术问题：服务器脚本用什么？客户端脚本有用什么。</p>
<p>先说服务器端，.NET和php是我常用。而对于WebGIS方面，MS4W可以说功能非常强大，他结合了apache, mapserver以及proj4， GDAL/OGR 等常用的开源GIS类库，使开发基于php的GIS服务器更加高效，尽管php在服务器脚本方面表现出众，但是对于大型的服务器端任务，仍有一定差距。后来，我接触了python, 使用了mod_python， Django，trac，svn等，基于python开发服务器服务越来越得心应手，同时，大量的基于python的科学计算库可被借鉴使用。大大降低了利用python开发复杂的服务的难度。08年9上旬的where2.0会议，houstonCrimeMap的开发者Justin Bronn做了关于GeoDjango的精彩演讲，GeoDjango在我看来，非常类似MS4W，虽然说GeoDjango的功能还远远达不到MS4W那么强大，至少还不提供地图发布的功能。但是Mapnik已经将和GeoDjango的整合提上议程。基于上述原因，我希望以后能够更多的基于GeoDjango开发网络应用，其原因主要有1）优美的url 2）快捷的MTV模式 3）python强大的wrapper功能以及对GIS libraries的高效利用。 4） 大量基于python的科学计算类库。同时，还发现了拥有和Jqeury类似语法的<a href="http://pypi.python.org/pypi/pyquery" target="_blank">pyQuery</a>。不得不说，我喜欢jquery的风格。pyQuery继承了Jquery，并有效的和python语法相融合。如果要处理XML，pyQuery是不二候选。</p>
<p>再说服务器端，在javascript环境下，最令人头的并不是debug，而是cross-browsers。IE7，FireFox，Opera，Safari，and even Chrome&#8230; &#8230; 有太多浏览器，这使得即使相同一段javascript代码，仍会产生不同的结果。所以程序员们利用flash降低对浏览器parser的依赖。微软眼馋Flash，于是乎发布了silverlight来处理客户端脚本和可视化客户端对象。actionscript相比javascript和silverlight有着不可比的优势。actionscript比javascript更加面向对象，图像效果也更好，actionscript比silverlight更具有跨平台性的。所以，我希望自己今后能更多的使用actionscript来进行前台程序开发。这样不光能发挥flash强大的图形处理性能，同时也能够避免javascript繁琐的不同浏览器处理一致性的调试过程。其实，我也时常思索，宁可多花点时间使用actionscript，也别把太多时间浪费在使用javascript调试sytle。。同时，在actionscript，<a href="http://tech.nitoyon.com/blog/2008/01/as3query_alpha.html" target="_blank">as3query</a>来进行类似jquery的操作。as3query是本月14号由一位帅气的日本程序员nitoyon先生编写发行。论坛评价非常高，虽然as3query没有ajax功能，但这并不妨碍as3query是对于actionsript快捷的操作，特别是渲染flash的时候，as3query更是作用斐然。</p>
<p>就先说到这里，有啥情况大家交流。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2009/01/%e5%b9%b8%e7%a6%8f%e7%9d%80%e4%bd%a0%e7%9a%84%e5%b9%b8%e7%a6%8f%ef%bc%8cquery%e7%9d%80%e4%bd%a0%e7%9a%84query%e3%80%82/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>基于Flex/Flash的GIS类库</title>
		<link>http://www.geoinformatics.cn/2008/12/%e5%9f%ba%e4%ba%8eflexflash%e7%9a%84gis%e7%b1%bb%e5%ba%93/</link>
		<comments>http://www.geoinformatics.cn/2008/12/%e5%9f%ba%e4%ba%8eflexflash%e7%9a%84gis%e7%b1%bb%e5%ba%93/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 04:29:06 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[KML]]></category>
		<category><![CDATA[Shapefile]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=842</guid>
		<description><![CDATA[今天和地大的宝才聊天，又得知了几款对基于flex的GIS插件。 1）Vanrijkom-flashlibs 基于flex的shapefile转换库 2）MapShaper （基于flash的shapefile编辑及简化类库） PS：同时，向大家推荐shp2kml，如果你是新手，又想通过kml表现自己的地图，可以试试这款软件，它完全免费。而且可以制作比较专业的kml文件并叠合到Google Earth上面。 Shp2kml is a stand alone tool that transforms GIS layers to Google Earth. It uses as input  the most common format file for GIS (ESRI shapefile) and generates a KML File. Google Earth requires coordinates to be in Lat/Lon and referenced to the WGS84 datum. Shp2kml is able [...]]]></description>
			<content:encoded><![CDATA[<p>今天和地大的宝才聊天，又得知了几款对基于flex的GIS插件。</p>
<p>1）<a href="http://code.google.com/p/vanrijkom-flashlibs/" target="_blank">Vanrijkom-flashlibs</a> 基于flex的shapefile转换库</p>
<p>2）<a href="http://www.mapshaper.org/">MapShaper </a>（基于flash的shapefile编辑及简化类库）</p>
<p>PS：同时，向大家推荐<a href="http://zonums.com/shp2kml.html" target="_blank">shp2kml</a>，如果你是新手，又想通过kml表现自己的地图，可以试试这款软件，它完全免费。而且可以制作比较专业的kml文件并叠合到Google Earth上面。</p>
<p>Shp2kml is a stand alone tool that transforms GIS layers to Google Earth. It uses as input  the most common format file for GIS (ESRI shapefile) and generates a KML File.</p>
<p>Google Earth requires coordinates to be in Lat/Lon and referenced to the WGS84 datum. Shp2kml is able to transform the coordinate system. The input file can be Lat/Lon (Geographic) or UTM (Projected) coordinate system. Also shp2kml will change datums if required. It contains a list of around 200 datums.</p>
<p>Some of the supported features are:</p>
<p>* Lat/Long or UTM (meters)<br />
* Any Datum<br />
* Point, Lines, Polygons<br />
* Symbol properties:  by Single Symbol, Unique value, Graduate Value<br />
* Labeling from attributes table<br />
* Balloon creation from attributes table</p>
<p>我将alachua的shapfile数据转换为kml，然后叠加在Google Earth上。</p>
<p><a href="/wp-content/uploads//20081211alachua.jpg" rel="shadowbox[sbpost-842];player=img;" title="20081211alachua"><img class="alignnone size-full wp-image-844" title="20081211alachua" src="/wp-content/uploads//20081211alachua.jpg" alt="" width="480" height="357" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2008/12/%e5%9f%ba%e4%ba%8eflexflash%e7%9a%84gis%e7%b1%bb%e5%ba%93/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>基于PV3D的A*算法</title>
		<link>http://www.geoinformatics.cn/2008/11/%e5%9f%ba%e4%ba%8epv3d%e7%9a%84a%e7%ae%97%e6%b3%95/</link>
		<comments>http://www.geoinformatics.cn/2008/11/%e5%9f%ba%e4%ba%8epv3d%e7%9a%84a%e7%ae%97%e6%b3%95/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 23:41:52 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[pgRouting]]></category>
		<category><![CDATA[Shortest Path]]></category>

		<guid isPermaLink="false">http://blog.geoinformatics.cn/?p=804</guid>
		<description><![CDATA[该网站介绍了不少基于Flex的开源软件，有兴趣的朋友可以尝试。前一段时间使用pgRouting做最短路径查询，它对于地理数据的支持非常不错。 flash的效果在B/S的前台还是无人匹敌的（不过最近silverlight出了2.0效果上实现了很大的飞跃）。 这个小应用使用Astar实现了最短路径算法。如果以后有机会可以尝试用flash做这方面的研究。 首先建立阻碍的墙壁，随后确定起始点以及终点。这时，小球就能按照计算出的最短路径抵终点。]]></description>
			<content:encoded><![CDATA[<p>该网站介绍了不少基于Flex的开源软件，有兴趣的朋友可以尝试。前一段时间使用pgRouting做最短路径查询，它对于地理数据的支持非常不错。</p>
<p>flash的效果在B/S的前台还是无人匹敌的（不过最近silverlight出了2.0效果上实现了很大的飞跃）。</p>
<p>这个小应用使用Astar实现了最短路径算法。如果以后有机会可以尝试用flash做这方面的研究。</p>
<p>首先建立阻碍的墙壁，随后确定起始点以及终点。这时，小球就能按照计算出的最短路径抵终点。</p>
<p><a href="http://blog.geoinformatics.cn/wp-content/uploads/20081115astar.jpg" rel="shadowbox[sbpost-804];player=img;" title="A* demo"><img class="alignnone size-full wp-image-805" title="A* demo" src="http://blog.geoinformatics.cn/wp-content/uploads/20081115astar.jpg" alt="" width="500" height="348" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2008/11/%e5%9f%ba%e4%ba%8epv3d%e7%9a%84a%e7%ae%97%e6%b3%95/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Poly9在Where 2.0发布基于Flex/Air的FreeEarth</title>
		<link>http://www.geoinformatics.cn/2008/08/poly9%e5%9c%a8where-20%e5%8f%91%e5%b8%83%e5%9f%ba%e4%ba%8eflexair%e7%9a%84freeearth/</link>
		<comments>http://www.geoinformatics.cn/2008/08/poly9%e5%9c%a8where-20%e5%8f%91%e5%b8%83%e5%9f%ba%e4%ba%8eflexair%e7%9a%84freeearth/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 16:35:30 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Web Mapping]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=691</guid>
		<description><![CDATA[一则旧闻，转发过来。 FreeEarth是一款使用Flex构建的地理参照3D地图绘制应用程序，通过使用它提供的API，无需下载或安装，用户就可以对地球上任何可访问的位置绘制3D地图并进行定制。自2005年以来，该公司设计并开发了一些非常令人兴奋的。 加利福尼亚州柏林格姆市，2008年5月12日：在加州柏林格姆市举行的O&#8217;Reilly Where 2.0会议上， Poly9介绍了世界上第一款Flex 3D Web 地球仪。这是一种独特的地理参照平台，允许跨平台绘制地图。FreeEarth是一款使用Flex构建的地理参照3D地图绘制应用程序，通过使用它提供的API，无需下载或安装，用户就可以对地球上任何可访问的位置绘制3D地图并进行定制。 Flex平台允许在AIR应用程序中使用地球仪，并且可以利用它的离线功能、本地文件访问以及其他一些Adobe技术（例如Live Cycle数据服务）。FreeEarth支持高分辨率图像并提供6度的镜头移动，还支持静态和视频重叠，可以嵌入到任何web页面中。到达用户手中的应用程序大小仅为300kb。内置了与WMS和GeoRSS的兼容性，例如mapstraction支持。 FreeEarth可以显示3D格式的自然地形立视图。对于已经安装了Flash但没有安装任何其他软件的98%的计算机用户，FreeEarth是第一款可以在web中使用的3D地图绘制程序。并且，它是一个非常轻量级的平台，它提供的API允许开发者进行扩展并将其集成到自己的应用程序中。 例如，在一个多山地区（如美国大峡谷或世界上的其他地方），如果希望比较几条不同步行路径的差异，您可以绘制一条不规则的折线，然后在立视图中查看完整路线或轨迹之间的区别，然后估算完成每条路径的难度。 Poly9 Group Inc.简介 Poly9 Group Inc.是位于魁北克市的一家技术公司，专门从事2D &#38; 3D web地图绘制和交互式媒体。自2005年以来，该公司设计并开发了一些非常令人兴奋的流行的web地图绘制应用程序。他们还支持著名的Google Gadgets，后者运行在iGoogle和Google Gadget Ads平台。公司的旗舰产品Poly9 FreeEarth是第一款可以在所有浏览器上工作的地理3D地球仪，并且不需要进行任何下载或安装。请访问www.poly9.com 采访Poly9 Inc.的创建者Greg Sadetsky Q. 您是如何产生开发FreeEarth和Ploy9的想法呢？ A. 在过去的两年中，我们一直在开发web地图绘制应用程序，我们发现需要将3D地图引入到web中。现在，市场上存在大量可以下载并安装到用户计算机的3D地球仪，但是这些产品都需要花费用户很多时间。因此，我们考虑是否可以开发出一种可以直接在网页中使用的web应用程序，这样就可以更加容易地开发和部署3D地图绘制应用程序。 Q. Poly9共有多少名员工? A. 我们拥有5名全职员工，并且还有5名外部合同工。 Q. 您使用了Flex编写应用程序，那么为什么选择Flex实现这个应用程序呢？ A. 最新的Adobe ActionScript虚拟机可以提供惊人的性能，并且支持在浏览器中使用3D，而其他技术都不能做到这点。Flex框架使用了ActionScript。Flex开发工具支持快速的重复开发并提供完全动态的语言环境，这使它可以更加轻松、更加快捷地开发应用程序。另外一个优势是可以实现跨浏览器和跨平台部署，不需要进行额外的工作。 Q. 您如何看待Silverlight，Flex与其相比如何？您为什么选择了Flex? A. 首先，Silverlight不能与Linux或Opera兼容，而Flex可以。其次，必须安装Silverlight插件，而该插件的普及度远远不及Flash插件。与Flex相比，Silverlight的开发工具是特定于Windows的，而Flex基于Eclipse，可以运行多种平台，包括Mac、Linux以及Windows。 Q. 在未来两年内是否还将开发更多Flex应用程序，为什么？ A. 我坚信越来越多的新应用程序将选择使用Flex进行开发，因为它支持更加轻松地部署到各种平台之上。另外，使用Flex创建富用户界面更加容易。 Q. 谈谈您的企业在未来两年内的计划？ A. 我们现在正在开发一种新的基于web的服务，称为mapmkr，它是一种随需应变的地图服务，允许您轻松地导入数据，例如客户列表，在地图中查看并像动态地图绘制应用程序一样进行编辑和输出。我们希望能够使用Flex实现一些新颖的客户端地图绘制，并生产一种使用AIR的应用于台式机的相应产品。]]></description>
			<content:encoded><![CDATA[<p><strong>一则旧闻，转发过来。</strong></p>
<blockquote><p>FreeEarth是一款使用Flex构建的地理参照3D地图绘制应用程序，通过使用它提供的API，无需下载或安装，用户就可以对地球上任何可访问的位置绘制3D地图并进行定制。自2005年以来，该公司设计并开发了一些非常令人兴奋的。</p></blockquote>
<p>加利福尼亚州柏林格姆市，2008年5月12日：在加州柏林格姆市举行的O&#8217;Reilly Where 2.0会议上， Poly9介绍了世界上第一款Flex 3D Web 地球仪。这是一种独特的地理参照平台，允许跨平台绘制地图。FreeEarth是一款使用Flex构建的地理参照3D地图绘制应用程序，通过使用它提供的API，无需下载或安装，用户就可以对地球上任何可访问的位置绘制3D地图并进行定制。</p>
<p>Flex平台允许在AIR应用程序中使用地球仪，并且可以利用它的离线功能、本地文件访问以及其他一些Adobe技术（例如Live Cycle数据服务）。FreeEarth支持高分辨率图像并提供6度的镜头移动，还支持静态和视频重叠，可以嵌入到任何web页面中。到达用户手中的应用程序大小仅为300kb。内置了与WMS和GeoRSS的兼容性，例如mapstraction支持。</p>
<p>FreeEarth可以显示3D格式的自然地形立视图。对于已经安装了Flash但没有安装任何其他软件的98%的计算机用户，FreeEarth是第一款可以在web中使用的3D地图绘制程序。并且，它是一个非常轻量级的平台，它提供的API允许开发者进行扩展并将其集成到自己的应用程序中。</p>
<p>例如，在一个多山地区（如美国大峡谷或世界上的其他地方），如果希望比较几条不同步行路径的差异，您可以绘制一条不规则的折线，然后在立视图中查看完整路线或轨迹之间的区别，然后估算完成每条路径的难度。</p>
<p>Poly9 Group Inc.简介</p>
<p>Poly9 Group Inc.是位于魁北克市的一家技术公司，专门从事2D &amp; 3D web地图绘制和交互式媒体。自2005年以来，该公司设计并开发了一些非常令人兴奋的流行的web地图绘制应用程序。他们还支持著名的Google Gadgets，后者运行在iGoogle和Google Gadget Ads平台。公司的旗舰产品Poly9 FreeEarth是第一款可以在所有浏览器上工作的地理3D地球仪，并且不需要进行任何下载或安装。请访问www.poly9.com</p>
<p>采访Poly9 Inc.的创建者Greg Sadetsky</p>
<p>Q. 您是如何产生开发FreeEarth和Ploy9的想法呢？<br />
A. 在过去的两年中，我们一直在开发web地图绘制应用程序，我们发现需要将3D地图引入到web中。现在，市场上存在大量可以下载并安装到用户计算机的3D地球仪，但是这些产品都需要花费用户很多时间。因此，我们考虑是否可以开发出一种可以直接在网页中使用的web应用程序，这样就可以更加容易地开发和部署3D地图绘制应用程序。</p>
<p>Q. Poly9共有多少名员工?<br />
A. 我们拥有5名全职员工，并且还有5名外部合同工。</p>
<p>Q. 您使用了Flex编写应用程序，那么为什么选择Flex实现这个应用程序呢？<br />
A. 最新的Adobe ActionScript虚拟机可以提供惊人的性能，并且支持在浏览器中使用3D，而其他技术都不能做到这点。Flex框架使用了ActionScript。Flex开发工具支持快速的重复开发并提供完全动态的语言环境，这使它可以更加轻松、更加快捷地开发应用程序。另外一个优势是可以实现跨浏览器和跨平台部署，不需要进行额外的工作。</p>
<p>Q. 您如何看待Silverlight，Flex与其相比如何？您为什么选择了Flex?<br />
A. 首先，Silverlight不能与Linux或Opera兼容，而Flex可以。其次，必须安装Silverlight插件，而该插件的普及度远远不及Flash插件。与Flex相比，Silverlight的开发工具是特定于Windows的，而Flex基于Eclipse，可以运行多种平台，包括Mac、Linux以及Windows。</p>
<p>Q. 在未来两年内是否还将开发更多Flex应用程序，为什么？<br />
A. 我坚信越来越多的新应用程序将选择使用Flex进行开发，因为它支持更加轻松地部署到各种平台之上。另外，使用Flex创建富用户界面更加容易。</p>
<p>Q. 谈谈您的企业在未来两年内的计划？<br />
A. 我们现在正在开发一种新的基于web的服务，称为mapmkr，它是一种随需应变的地图服务，允许您轻松地导入数据，例如客户列表，在地图中查看并像动态地图绘制应用程序一样进行编辑和输出。我们希望能够使用Flex实现一些新颖的客户端地图绘制，并生产一种使用AIR的应用于台式机的相应产品。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2008/08/poly9%e5%9c%a8where-20%e5%8f%91%e5%b8%83%e5%9f%ba%e4%ba%8eflexair%e7%9a%84freeearth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>不想当厨子的博士，不是好司机。</title>
		<link>http://www.geoinformatics.cn/2008/08/%e4%b8%8d%e6%83%b3%e5%bd%93%e5%8e%a8%e5%ad%90%e7%9a%84%e5%8d%9a%e5%a3%ab%ef%bc%8c%e4%b8%8d%e6%98%af%e5%a5%bd%e5%8f%b8%e6%9c%ba%e3%80%82/</link>
		<comments>http://www.geoinformatics.cn/2008/08/%e4%b8%8d%e6%83%b3%e5%bd%93%e5%8e%a8%e5%ad%90%e7%9a%84%e5%8d%9a%e5%a3%ab%ef%bc%8c%e4%b8%8d%e6%98%af%e5%a5%bd%e5%8f%b8%e6%9c%ba%e3%80%82/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 19:07:59 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[生活感悟]]></category>
		<category><![CDATA[Dreams]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[PROJ4]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=680</guid>
		<description><![CDATA[8月8日，看完奥运会，整理行囊； 8月9日，和父母去上海； 8月12日15点，从上海浦东机场出发，飞往美国； 8月12日21点，抵达亚特兰大； 8月12日23点15分，抵达盖斯威尔（Gainesville）, University of Florida。 Finally， I will fly to USA to continue my study career. [umap id="3959" size="s" alignment="none"] 在美国，俺要刻苦攻读博士，要当大厨做饭，也要做个好司机学着开车。呵呵，身兼数职，憧憬这样的生活。而更让新欣喜的，是自己的努力和汗水终于得到实打实的回报，最让人快乐。这段时间，准备着出国，走走亲戚，同时向大家透露，我和阿简合作的FlexCarto也在有条不紊的开发中，而在flash环境下进行坐标投影转换的FlexProj代码编写已经完成，目前是书写API文档和测试阶段，FlexProj第一个版本有望很快和大家见面。]]></description>
			<content:encoded><![CDATA[<p><em>8月8日，看完奥运会，整理行囊；</em><br />
<em>8月9日，和父母去上海；</em><br />
<em>8月12日15点，从上海浦东机场出发，飞往美国；</em><br />
<em>8月12日21点，抵达亚特兰大；</em><br />
<em>8月12日23点15分，</em><em>抵</em><em>达盖斯威尔（Gainesville）, University of Florida。</em></p>
<pre><strong>Finally， I will fly to USA to continue my study career.</strong></pre>
<p>[umap id="3959" size="s" alignment="none"]</p>
<p>在美国，俺要刻苦攻读博士，要当大厨做饭，也要做个好司机学着开车。呵呵，身兼数职，憧憬这样的生活。而更让新欣喜的，是自己的努力和汗水终于得到实打实的回报，最让人快乐。这段时间，准备着出国，走走亲戚，同时向大家透露，我和阿简合作的FlexCarto也在有条不紊的开发中，而在flash环境下进行坐标投影转换的FlexProj代码编写已经完成，目前是书写API文档和测试阶段，FlexProj第一个版本有望很快和大家见面。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2008/08/%e4%b8%8d%e6%83%b3%e5%bd%93%e5%8e%a8%e5%ad%90%e7%9a%84%e5%8d%9a%e5%a3%ab%ef%bc%8c%e4%b8%8d%e6%98%af%e5%a5%bd%e5%8f%b8%e6%9c%ba%e3%80%82/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Flex Map 客户端组件备忘</title>
		<link>http://www.geoinformatics.cn/2008/06/flex-map-%e5%ae%a2%e6%88%b7%e7%ab%af%e7%bb%84%e4%bb%b6%e5%a4%87%e5%bf%98/</link>
		<comments>http://www.geoinformatics.cn/2008/06/flex-map-%e5%ae%a2%e6%88%b7%e7%ab%af%e7%bb%84%e4%bb%b6%e5%a4%87%e5%bf%98/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 23:01:56 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=621</guid>
		<description><![CDATA[近一两年来，Flex在电子地图客户端使用越来越广泛了。最早出现的地图客户端程序为yahoo flex map API，最近Google也发布了相应的API接口，同时，国外的Umap，Poly9，国内的Earthplayer API，Emap等也在基于Flex的电子地图客户端方面进行了研究和开发。 Musicman最近也看了不少有关Flex相关的文献和网站，觉得在2008年秋冬及2009年上半年是Flex Map发展的黄金时间，很可能出现一款功能强大的Flex Map组件。坎比用Javascript编写的Openlayers.网上有人希望通过Actionscript从写OpenLayers，笔者也和Asopenlayers的作者进行交流，大家都觉得用Actionscript从写OpenLayers是不现实的，毕竟Javascript和Actionscript有很多不足之处。但是，我们可以基于Openlayers的思想，来构建基于Actionscript的Flex Map。 网上开源的Flex Map控件并不多，更多的都是提供相应的swc文件以及相应的asdoc。但是现在我们有了Actionscript的反编译系统Sothink SWF Decompiler。这样就可以查看相应类库的构架。 Yahoo flex map API的类库写的并不好，还是基于Actionscript 2的语法规则，Google API的书写比较规范。而同时earthplayers API 整合了国内多数地图应用服务，如果要开发国内的服务，earthplayers API是个不错的选择。 同时网上有款Earthplayer的教程，写的还是很入门的，如果希望通过客户端类库进行开发，该教程值得一看。 纵观这些地图API，还有很多方面需要改进，我比较关注于一下方面： 1．  大多数API只是对第三方地图服务的整合，比如如何对google Map、yahoo map、51ditu、mapabc等，而对WMS等OGC标准的支持并不强大。 2．  需要更完善的地图投影系统。需要有类似与proj4的地图投影转换类库（proj4js是个很好的借鉴。） 3．  需要在客户端构建简单要素对象，这时对矢量数据进行支持的基础。]]></description>
			<content:encoded><![CDATA[<p>近一两年来，Flex在电子地图客户端使用越来越广泛了。最早出现的地图客户端程序为yahoo flex map API，最近Google也发布了相应的API接口，同时，国外的Umap，Poly9，国内的Earthplayer API，Emap等也在基于Flex的电子地图客户端方面进行了研究和开发。<br />
Musicman最近也看了不少有关Flex相关的文献和网站，觉得在2008年秋冬及2009年上半年是Flex Map发展的黄金时间，很可能出现一款功能强大的Flex Map组件。坎比用Javascript编写的Openlayers.网上有人希望通过Actionscript从写OpenLayers，笔者也和Asopenlayers的作者进行交流，大家都觉得用Actionscript从写OpenLayers是不现实的，毕竟Javascript和Actionscript有很多不足之处。但是，我们可以基于Openlayers的思想，来构建基于Actionscript的Flex Map。<br />
网上开源的Flex Map控件并不多，更多的都是提供相应的swc文件以及相应的asdoc。但是现在我们有了Actionscript的反编译系统Sothink SWF Decompiler。这样就可以查看相应类库的构架。<br />
Yahoo flex map API的类库写的并不好，还是基于Actionscript 2的语法规则，Google API的书写比较规范。而同时earthplayers API 整合了国内多数地图应用服务，如果要开发国内的服务，earthplayers API是个不错的选择。<br />
同时网上有款<a href="http://www.flashas.net/html/Flex/20080326/2816.html" target="_blank">Earthplayer的教程</a>，写的还是很入门的，如果希望通过客户端类库进行开发，该教程值得一看。<br />
纵观这些地图API，还有很多方面需要改进，我比较关注于一下方面：<br />
1．  大多数API只是对第三方地图服务的整合，比如如何对google Map、yahoo map、51ditu、mapabc等，而对WMS等OGC标准的支持并不强大。<br />
2．  需要更完善的地图投影系统。需要有类似与proj4的地图投影转换类库（proj4js是个很好的借鉴。）<br />
3．  需要在客户端构建简单要素对象，这时对矢量数据进行支持的基础。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2008/06/flex-map-%e5%ae%a2%e6%88%b7%e7%ab%af%e7%bb%84%e4%bb%b6%e5%a4%87%e5%bf%98/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Google Maps, Timeline, and Flex (some web applications)</title>
		<link>http://www.geoinformatics.cn/2008/03/google-maps-timeline-and-flex-some-web-applications/</link>
		<comments>http://www.geoinformatics.cn/2008/03/google-maps-timeline-and-flex-some-web-applications/#comments</comments>
		<pubDate>Mon, 17 Mar 2008 16:18:58 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[历史研究]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Timeline]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/index.php/category/google/20080317586.html</guid>
		<description><![CDATA[前一段时间连续据信的轰炸，包括以前套词比较顺利的国外老师，甚至一些中意的老师也莫名其妙为什么我会被rej。hedgedog要去waterloo了，milky准备去UFL，lorry 准备去tamu，还有管牛准备去princeton，蒋微，金刚，徐MM，天驰&#8230; 看着师弟和师妹们以及几个好朋友拿到心仪的offer，除了对他们的祝福，剩下的就是于己的遗憾。那天老刘问我有几个offer，我说我没有，老刘说我不愿意告诉他，其实是自己真的没有，呵呵。想想最近做的事情，要不就是在寝室看the simpsons或者康熙，要不就是偶尔重拾旧业玩玩“挖坑”。珠江路地铁站新开了家游戏城，投篮机仍是我的最爱，某位牛教授说Persistence often pays off，是啊，经过我漫长的投篮训练，我已经可以闭着眼睛，右手习惯性的抖动，便可投到250的高分。Stage 3令人鼓舞，火箭令人鼓舞，22连胜的战绩让姚明郁闷，也许这也是我郁闷的原因。前几天去了趟鸡鸣寺，虔诚地想佛祖拜上高香，希望在申请最后的日子里有个好运，默默的等待消息吧。 切入正题，在Timeline邮件列表里有一封关于Timemap的系列信件，过年的时候已经starred，但是一直没有仔细看看。Nick用javascript写了关于如何整合Timeline和google maps的脚本timemap，具有以下的功能： * load data in JSON or KML * load multiple datasets with different color themes * hide map markers for elements not visible on timeline (i.e. show only roughly concurrent items) * more or less full access to the underlying map/timeline APIs * auto center/zoom [...]]]></description>
			<content:encoded><![CDATA[<p>前一段时间连续据信的轰炸，包括以前套词比较顺利的国外老师，甚至一些中意的老师也莫名其妙为什么我会被rej。hedgedog要去waterloo了，milky准备去UFL，lorry 准备去tamu，还有管牛准备去princeton，蒋微，金刚，徐MM，天驰&#8230; 看着师弟和师妹们以及几个好朋友拿到心仪的offer，除了对他们的祝福，剩下的就是于己的遗憾。那天老刘问我有几个offer，我说我没有，老刘说我不愿意告诉他，其实是自己真的没有，呵呵。想想最近做的事情，要不就是在寝室看the simpsons或者康熙，要不就是偶尔重拾旧业玩玩“挖坑”。珠江路地铁站新开了家游戏城，投篮机仍是我的最爱，某位牛教授说Persistence often pays off，是啊，经过我漫长的投篮训练，我已经可以闭着眼睛，右手习惯性的抖动，便可投到250的高分。Stage 3令人鼓舞，火箭令人鼓舞，22连胜的战绩让姚明郁闷，也许这也是我郁闷的原因。前几天去了趟鸡鸣寺，虔诚地想佛祖拜上高香，希望在申请最后的日子里有个好运，默默的等待消息吧。</p>
<p>切入正题，在Timeline邮件列表里有一封关于Timemap的系列信件，过年的时候已经starred，但是一直没有仔细看看。Nick用javascript写了关于如何整合Timeline和google maps的脚本<a href="http://code.google.com/p/timemap/" target="_blank">timemap</a>，具有以下的功能：</p>
<p>* load data in JSON or KML<br />
* load multiple datasets with different color themes<br />
* hide map markers for elements not visible on timeline (i.e. show only roughly concurrent items)<br />
* more or less full access to the underlying map/timeline APIs<br />
* auto center/zoom the map on loaded items<br />
* load info window data using AJAX</p>
<p>以前是有很多人做过这方面的尝试，比如著名的<a href="httphttp://www.oe-files.de/gmaps/usgseq.html" target="_blank">地震地图</a>，但是该脚本的作用在于封装了一些基本的应用。nick在制作网站Ushahidi.com和http://www.nickrabinowitz.com/projects/timemap/artists.html的时候使用了该脚本。后者表现图例个人觉得是一种创新，我很少见到在地图窗口中显示图例的网络应用。基于js的灵活性，以后图例的开发将会更加容易。</p>
<p>在回复的邮件中，看到了两个个更好的例子：</p>
<p>1） <a href="http://thunderhead.esri.com/timeline/" target="_blank">伊拉克新闻事件</a>：http://thunderhead.esri.com/timeline/ 该应用使用timeline和基于flex的地图加以整合。最近，使用flex进行地图开发的例子越多，在flex下实现放大缩小地图确实非常之炫。有空大家可以多多讨论如何使用flex整合地图应用。</p>
<p><a href="/wp-content/uploads//iraq-news.jpg" title="iraq-news.jpg" rel="shadowbox[sbpost-586];player=img;"><img src="/wp-content/uploads//iraq-news.jpg" title="iraq-news.jpg" alt="iraq-news.jpg" align="middle" /></a></p>
<p>2）<a href="http://hotpads.com/map/cities/CA/San_Francisco.htm" target="_blank">三藩市房产交易地图</a>: http://hotpads.com/map/cities/CA/San_Francisco.htm  该地图将flex使用到了极至，所用控件都是用flex做的，而且图标也是用flex制成，动画效果很不错。个人觉得，如果要做关于房产交易的网上应用平台，该网站是个不错的借鉴。</p>
<p><a href="/wp-content/uploads//hotpad.jpg" title="hotpad.jpg" rel="shadowbox[sbpost-586];player=img;"><img src="/wp-content/uploads//hotpad.jpg" title="hotpad.jpg" alt="hotpad.jpg" align="middle" /></a></p>
<p><strong>PS：</strong></p>
<p>1） flex的应用让网络互交效果更加出色。但是并不是所有的网页都是基于flex，比如伊拉克新闻事件，它仅仅是地图部分用flex整合，而timeline部分还是用javascript，这就牵扯到如何将javascript和actionscript进行配合使用的问题。其次在三藩市房地产交易的网站上，flex也是仅仅整合地图。</p>
<p>2） why use flex to integrate maps?</p>
<p>想想传统的地图显示方式，最初的地图服务器传回图片，到基于wms、wfs实现地图数据的交互，地图控件主要还是使用dhtml+javascript+css的形式，后来openlayers等客户端程序的出现，更多的使用了svg和vml。这样，网络地图变得更加生动活泼并具备更多的功能。毕竟更多的地物是基于对象的。但是无形之中加大了网络数据的载荷，但是随着技术的进步，这种载荷的增加显得微不足道。而flex的使用可以说技术和需求两个层面同时推动的。</p>
<p>首先，adobe公司兼并了macromedia，adobe主要看中了flash这个网络利器，adobe以前还是很重视SVG的开发，已经推出了svg viewer 6.0 alpha。但是自有了flash，adobe宣布将停止svg viewer的开发，把精力更多的地放在了flash环境的开发之上，我们可以看到基于flash的video网站，flikr等图片网站，将flex使用到了炉火纯青的地步。而且flex完全有能力在网络地图使用中发挥己能。</p>
<p>其次，更好的在网络地图环境中使用flex已经被推上了风头浪尖。Yahoo最早推出了只用在Yahoo map中的Flex控件。并且我们看到了网站出现了使用flash来显示VE，以及google earth的很多应用。很多坚守传统ajax模式的开发者虽然更喜欢使用javascripe的构架，比如ext，而且<a href="mailto://jakobzhao@gmail.com" target="_blank">musicman</a>曾经也看过一个日本友人开发的一个基于ext的web地图程序，确实够炫。但是ext在启动之前要加载太多的javascript脚本，经常会出现假死现象。不得不承认，flex在很多时候，还是很优秀的。基于eclipse的IDE开发环境，而且使用flex可以制作超炫的地图控件的难度要比javascript要低（当然是对于初学者来说，如果你有很高的javascript水平那则另当别论。)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2008/03/google-maps-timeline-and-flex-some-web-applications/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>FLEX2对SVG的支持</title>
		<link>http://www.geoinformatics.cn/2007/07/flex2%e5%af%b9svg%e7%9a%84%e6%94%af%e6%8c%81/</link>
		<comments>http://www.geoinformatics.cn/2007/07/flex2%e5%af%b9svg%e7%9a%84%e6%94%af%e6%8c%81/#comments</comments>
		<pubDate>Wed, 01 Aug 2007 02:58:00 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[SVG]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/index.php/category/svg/20070731472.html</guid>
		<description><![CDATA[By Firefight 在FLEX2应用程序中可以使用SVG资源, 但只能象JPG和GIF那样作为一种图像引入, 而不包括SVG的一些高级特性, 而且无法在运行时加载, 只能在编译时静态加载. Flex目前支持SVG1.1规范的一部分, 范围包括SVG文档结构, CSS风格, 变换, 路径, 基本图形, 颜色, 以及文本,绘图, 渐变和字体功能的一部分, 不支持SVG动画,脚本和事件, 而且也无法实现FLEX应用程序与SVG之间的交互. 所以说FLEX对SVG的支持是基本的和静态的. 下面是一个在FLEX中加载SVG的例子 &#60;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&#62; &#60;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221; width=&#8221;800&#8243; height=&#8221;600&#8243;&#62; &#60;mx:Script&#62; &#60;![CDATA[ [Embed(source="res/test.svg")] [Bindable] public var svgTest:Class; ]]&#62; &#60;/mx:Script&#62; &#60;mx:Image id=&#8221;svg1&#8243; source=&#8221;{svgTest}&#8221; width=&#8221;128&#8243; height=&#8221;130&#8243;/&#62; &#60;/mx:Application&#62; 编译运行后, 可以发现在BIN目录下的RES目录中被拷贝了一个同名的test.svg文件, 这说明FLEX应用是使用链接而不是嵌入的方式处理SVG文档的, 这同其它图像资源是相同的. 但是对其它类型资源,例如FLASH, 可以使用SWFLoader动态加载, 例如: loader = new SWFLoader(); loader.load(&#8220;res/segment4.swf&#8221;); 但SVG不能进行动态加载, [...]]]></description>
			<content:encoded><![CDATA[<p><em><strong>By Firefight</strong></em></p>
<p>在FLEX2应用程序中可以使用SVG资源, 但只能象JPG和GIF那样作为一种图像引入, 而不包括SVG的一些高级特性, 而且无法在运行时加载, 只能在编译时静态加载.<br />
Flex目前支持SVG1.1规范的一部分, 范围包括SVG文档结构, CSS风格, 变换, 路径, 基本图形, 颜色, 以及文本,绘图, 渐变和字体功能的一部分,  不支持SVG动画,脚本和事件, 而且也无法实现FLEX应用程序与SVG之间的交互.<br />
所以说FLEX对SVG的支持是基本的和静态的.<br />
下面是一个在FLEX中加载SVG的例子<br />
&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;<br />
&lt;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221;<br />
width=&#8221;800&#8243; height=&#8221;600&#8243;&gt;<br />
&lt;mx:Script&gt;<br />
&lt;![CDATA[<br />
[Embed(source="res/test.svg")]<br />
[Bindable]<br />
public var svgTest:Class;<br />
]]&gt;<br />
&lt;/mx:Script&gt;<br />
&lt;mx:Image id=&#8221;svg1&#8243; source=&#8221;{svgTest}&#8221; width=&#8221;128&#8243; height=&#8221;130&#8243;/&gt;<br />
&lt;/mx:Application&gt;</p>
<p>编译运行后, 可以发现在BIN目录下的RES目录中被拷贝了一个同名的test.svg文件, 这说明FLEX应用是使用链接而不是嵌入的方式处理SVG文档的, 这同其它图像资源是相同的.<br />
但是对其它类型资源,例如FLASH, 可以使用SWFLoader动态加载, 例如:<br />
loader = new SWFLoader();<br />
loader.load(&#8220;res/segment4.swf&#8221;);<br />
但SVG不能进行动态加载, 希望FLEX能够进一步增加对SVG的支持力度, 至少包括动态加载,脚本和事件, 最好还有SVG动画等.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2007/07/flex2%e5%af%b9svg%e7%9a%84%e6%94%af%e6%8c%81/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

