<?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; Panoramic</title>
	<atom:link href="http://www.geoinformatics.cn/tag/panoramic/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>没处藏身撩——用Google街景地图找到你</title>
		<link>http://www.geoinformatics.cn/2008/09/%e6%b2%a1%e5%a4%84%e8%97%8f%e8%ba%ab%e6%92%a9%e2%80%94%e2%80%94%e7%94%a8google%e8%a1%97%e6%99%af%e5%9c%b0%e5%9b%be%e6%89%be%e5%88%b0%e4%bd%a0/</link>
		<comments>http://www.geoinformatics.cn/2008/09/%e6%b2%a1%e5%a4%84%e8%97%8f%e8%ba%ab%e6%92%a9%e2%80%94%e2%80%94%e7%94%a8google%e8%a1%97%e6%99%af%e5%9c%b0%e5%9b%be%e6%89%be%e5%88%b0%e4%bd%a0/#comments</comments>
		<pubDate>Sun, 07 Sep 2008 07:38:02 +0000</pubDate>
		<dc:creator>长安旧梦</dc:creator>
				<category><![CDATA[技术心得]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Panoramic]]></category>

		<guid isPermaLink="false">http://www.geoinformatics.cn/?p=722</guid>
		<description><![CDATA[where can I hide myself in this google world? Google Street View digs you out whereever you are.Google Street View provides panoramic 360 degree views from designated roads throughout the coverage area for Google Maps.Use of the Street View Panorama object requires support for the Flash plugin on the client&#8217;s browser.How to use this component? [...]]]></description>
			<content:encoded><![CDATA[<p>where can I hide myself in this google world? Google Street View digs you out whereever you are.Google Street View provides panoramic 360 degree views from designated roads throughout the coverage area for Google Maps.Use of the Street View Panorama object requires support for the Flash plugin on the client&#8217;s browser.How to use this component? just follow the steps below,</p>
<ol>
<li> Create a container (usually a &lt;div&gt; element) to hold the Street View Flash? viewer.</li>
<li> Create a GStreetviewPanorama object and place it within the container.</li>
<li> Initialize the Street View object to refer to a specific location and display an initial &#8220;point of view&#8221; (POV).</li>
<li> Handle unsupported browsers by checking for the 603 error value.</li>
</ol>
<p>And then, google street view uses a view system named POV(Street View Points of View), which defines the placement of the camera locus for an image, but it does not define the orientation of the camera for that image. For that purpose, the GPov object literal defines three properties:</p>
<ol>
<li><strong>yaw </strong>defines the rotation angle around the camera locus in degrees relative from true north. Yaw angles are measured clockwise (90 degrees is true east).</li>
<li><strong>pitch</strong> defines the angle variance &#8220;up&#8221; or &#8220;down&#8221; from the camera&#8217;s initial default pitch, which is often (but not always) flat horizontal. (For example, an image taken on a hill will likely exhibit a default pitch that is not horizontal.) Pitch angles are measured with negative values looking up (to -90 degrees straight up and orthogonal to the default pitch) and positive values looking down (to +90 degrees straight down and orthogonal to the default pitch).</li>
<li><strong>zoom</strong> defines the zoom level of this view (effectively proscribing the &#8220;field of view&#8221;) with 0 being fully zoomed-out. Different Street View locations may provide higher or lower zoom levels.</li>
</ol>
<p>By default, these values are all 0 and define a flat horizontal view directly north with the widest possible field of view.<br />
I use Street View to display where I am. to access the streetview , goto <a href="http://plaza.ufl.edu/bo/where.html">http://plaza.ufl.edu/bo/where.htm. <span style="color: #000000;">and here is the code below,</span></a></p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"> <span style="color: #003366; font-weight: bold;">var</span> myPano <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> GStreetviewPanorama<span style="color: #009900;">&#40;</span>document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;pano&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      spanishtrace <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> GLatLng<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">29.647343</span><span style="color: #339933;">,</span> <span style="color: #339933;">-</span><span style="color: #CC0000;">82.341644</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      myPOV <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span>yaw<span style="color: #339933;">:</span><span style="color: #CC0000;">345</span><span style="color: #339933;">,</span>pitch<span style="color: #339933;">:-</span><span style="color: #CC0000;">10</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
      myPano.<span style="color: #660066;">setLocationAndPOV</span><span style="color: #009900;">&#40;</span>spanishtrace<span style="color: #339933;">,</span> myPOV<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      GEvent.<span style="color: #660066;">addListener</span><span style="color: #009900;">&#40;</span>myPano<span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;error&quot;</span><span style="color: #339933;">,</span> handleNoFlash<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #003366; font-weight: bold;">function</span> handleNoFlash<span style="color: #009900;">&#40;</span>errorCode<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>errorCode <span style="color: #339933;">==</span> <span style="color: #CC0000;">603</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Error: Flash doesn't appear to be supported by your browser&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000066; font-weight: bold;">return</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.geoinformatics.cn/2008/09/%e6%b2%a1%e5%a4%84%e8%97%8f%e8%ba%ab%e6%92%a9%e2%80%94%e2%80%94%e7%94%a8google%e8%a1%97%e6%99%af%e5%9c%b0%e5%9b%be%e6%89%be%e5%88%b0%e4%bd%a0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

