<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.esri.com/Info/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ArcGIS Explorer Blog : StreetView</title><link>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/StreetView/default.aspx</link><description>Tags: StreetView</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Debug Build: 61120.2)</generator><item><title>Google StreetView Task</title><link>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/2008/09/09/microsoft-streetview-task.aspx</link><pubDate>Tue, 09 Sep 2008 20:57:00 GMT</pubDate><guid isPermaLink="false">8296249d-4d69-4913-b1e7-14b85fcd9fb0:3059</guid><dc:creator>ArcGIS-Explorer-Team</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/comments/3059.aspx</comments><wfw:commentRss>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/commentrss.aspx?PostID=3059</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;If you watched the Plenary session at the&amp;nbsp;2008 ESRI User Conference, one of the tasks demonstrated during the ArcGIS Explorer presentation was called StreetViewer. &lt;/FONT&gt;&lt;FONT face=Calibri size=3&gt;StreetViewer is a “smashup” of ArcGIS Explorer and a Google Street View service that Explorer development team members Rob Dunfey and Michael Waltuch collaborated on. We &lt;A class="" title='Blog post on User Conference "StreetViewer ' href="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/2008/08/04/esri-user-conference-2008-plenary-part-ii.aspx" target=_blank&gt;blogged about the presentation &lt;/A&gt;earlier, and here's an example showing the StreetView near the ESRI Campus.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/3065/original.aspx" border=0&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;The Official Google Maps API Blog describes Street View as a service that “allows users to view 3D panoramas of various locations around the world and to navigate around neighborhoods as if they were (almost) really there.” &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;The Explorer task lets you grab a coordinate from the map and if a Street View image is available for the location, the task creates a result at the location and its associated popup window displays the Street View image at the coordinate. &lt;/FONT&gt;&lt;FONT face=Calibri size=3&gt;You can interact with the image inside the popup window, looking around the panorama and follow the path of the nearby streets. It’s a really cool service. &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;Si&lt;/FONT&gt;&lt;FONT face=Calibri size=3&gt;nce the conference we’ve had a bunch of requests to make the source code for this task available, and have recently &lt;A class="" title="StreetView task at ArcScripts" href="http://arcscripts.esri.com/details.asp?dbid=15802" target=_blank&gt;posted&amp;nbsp;a project at ArcScripts&lt;/A&gt; that has everything you need except for a couple of things. We'll describe them here,&amp;nbsp;and how to get everything set up&amp;nbsp;and working.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;&lt;BR&gt;First, you’ll need to make changes to a copy of the file named &lt;EM&gt;panoAvailable.html&lt;/EM&gt; that’s part of the project. After making changes to the file, you’ll need to move it to a publicly accessible URL from where it will display the Street View image. So, in panoAvailable.html you’ll see there’s a place for you to specify a Google Maps API Key that corresponds to the URL:&lt;/FONT&gt;&lt;/P&gt;&lt;FONT face=Calibri size=3&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/3066/original.aspx" border=0&gt;&lt;BR&gt;If you don’t have a key you can get one at &lt;A href="http://code.google.com/apis/maps/signup.html"&gt;http://code.google.com/apis/maps/signup.html&lt;/A&gt;. &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;BR&gt;&lt;EM&gt;PanoAvailable.html&lt;/EM&gt; contains the Javascript code to receive the coordinate from the task and display the appropriate image as well as the markup required to place the image on the page. You can change the overall graphic design as you see fit.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;Next, in the LoadStreetViewQuery’s&amp;nbsp; try block in the project’s CustomTaskControl.cs class, you’ll need to specify the location of panoAvailable.html:&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/3067/original.aspx" border=0&gt;&lt;BR&gt;Move a copy of the file to the URL location you specified in LoadStreetViewQuery. Finally, compile the task. You’re ready to deploy it to your users.&lt;BR&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;img src="http://blogs.esri.com/Info/aggbug.aspx?PostID=3059" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/Custom+Task/default.aspx">Custom Task</category><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/StreetView/default.aspx">StreetView</category></item></channel></rss>