Google Street View for the Flex 3.0 API

1218
14
09-07-2012 10:32 AM
andrewj_ca
Occasional Contributor II
Just posted the code for the updated 3.0 API for my Street View Widget.  I have't had a chance to do the install instructions yet but I'm sure most of you will figure it out.  Both source and compiled versions are included.  Cheers,

http://www.arcgis.com/home/item.html?id=b721eec8dde442559e9c17acecd22188
Tags (2)
0 Kudos
14 Replies
RobertScheitlin__GISP
MVP Emeritus
Andrew,

   You will want to go back into your content tab in ArcGIS online and edit your item to be Purpose: configurable and not Purpose:                   Code Sample, as it has now disappeared from the Flex Viewer code gallery because of this.


*EDIT* Must be the missing "widget" and "flexviewer" tags also because it is still not in the Flex Viewer Code Gallery!
0 Kudos
andrewj_ca
Occasional Contributor II
Thanks for the tip. Done.
0 Kudos
DavidCaussin
New Contributor III
Hi Andrew,

Thanks for this widget, it work fine except with the WKID that i use (31370).

I have a difference of 100-200m.

Is there a solution that that i can try?

Thanks in advance.

Mercator
0 Kudos
andrewj_ca
Occasional Contributor II
Sounds like going from 4326 to 31370 on the fly might be troublesome.  I'm not familiar with Belgian Lambert but it may require a transformation to go from one to the other.  Any Datum/Projection specialists out there want to weigh in?

Andrew
0 Kudos
RyanWendt
New Contributor II
Hi Andrew,

I added the compiled version to a Flex Viewer following directions in the readme file. Tool displays and I can add a point to the map, but the street view window doesn't show up at the bottom of the page. Any ideas?

Ryan
0 Kudos
andrewj_ca
Occasional Contributor II
Hi Andrew,

I added the compiled version to a Flex Viewer following directions in the readme file. Tool displays and I can add a point to the map, but the street view window doesn't show up at the bottom of the page. Any ideas?

Ryan


ryanwendt,

Did you overwrite the index.html with the one I supplied?
0 Kudos
Corbinde_Bruin
Occasional Contributor II
ryanwendt,

Did you overwrite the index.html with the one I supplied?


I had the same issue and this fixed it. I had previous skipped that step because I didn't know what it did, and that scares me.
0 Kudos
andrewj_ca
Occasional Contributor II
cdebruin,

The altered index.html does several things.  First, it adds the Google API to the application and the required JavaScript.  Second, it gives the flash object a standard name so that it can be referred to later in the code.  Nothing scary there.

Andrew
0 Kudos
RyanWendt
New Contributor II
ryanwendt,

Did you overwrite the index.html with the one I supplied?


Yes I did overwrite the index.html with yours.  Funny thing I noticed is that the widget works in the Preview mode for the Flex App Builder.  I can't get it to work in IE or Firefox though.
0 Kudos