Sure, should work. The minimal example for street view is here:
http://code.google.com/apis/maps/documentation/examples/streetview-simple.html
Basically you need:
var panoramaOptions = { latlng: new GLatLng(42.345573,-71.098326) };
var myPano = new GStreetviewPanorama(document.getElementById("pano"),
panoramaOptions);
- pamela
2008/9/21 Seis Pesos <[EMAIL PROTECTED]>:
>
> Hi Pamela,
>
> Mr. Andrew Trice's excellent demo;
> http://www.cynergysystems.com/blogs/page/andrewtrice?entry=google_eath_flex_source_code
> It uses the trick for layering Google Maps HTML/JavaScript over Flex
> content.
> It displays the google earth container in a HTML DIV that through the
> Flex application.
>
> So, can I add StreetView with Flash like this?
> Yes... I know there's no StreetView for the API for now.
> Do not have any way?
> In Japan, attention to the StreetView is high.
>
>
> On 9ζ22ζ₯, εεΎ2:40, "pamela (Google Employee)" <[EMAIL PROTECTED]>
> wrote:
>> Hey Seis--
>>
>> Can you clarify your question? Is this in the JS API? There are some
>> examples
>> here:http://code.google.com/apis/maps/documentation/demogallery.html?searc...
>>
>> - pamela
>>
>> On Sun, Sep 21, 2008 at 4:53 AM, Seis Pesos <[EMAIL PROTECTED]> wrote:
>>
>> >> but you can use it (and StreetView, by the way) from Flex using
>> >> ExternalInterface.
>>
>> > In this case, use "google.earth.createInstance('map3d');"
>>
>> > I'm sorry, stupid question following,
>>
>> > in Street View's case, how can I write code?
>> > Instead of "document.getElementById"...?
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API For Flash" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-maps-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---