[
https://issues.apache.org/jira/browse/FLEX-33927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13834768#comment-13834768
]
Hermes David Junior commented on FLEX-33927:
--------------------------------------------
mx:HTML, StageWebView and HtmlLoader have the same behaviour, all of them loads
and opens the page. The problem is in operating the streetview page that doesnt
work. I used your example using the StageWebView and its the same as mx:HTML.
Open the link
"https://google-developers.appspot.com/maps/documentation/javascript/examples/full/streetview-simple"
on a browser, open your example or mine and compare the behavior of them.
Here are some differences you will notice:
- First, the name of the street doesnt appear right over the direction arrow
as it appears on the browser.
- Second, missing rectangle/circle that appears as you point on the road or
the walls
- Third, with little operation you will notice that streetview will become
gray and you wont be able to navigate
- Last, if you try to drag the pegman and drop on another location you will
notice the blue streetview tiles thar overlaps the map becoming very dark, as
if loading over and over again
I changed your viewport to "new Rectangle(0,0,850,350)" to avoid scrolling.
I will sent you an image comparing some of these behaviours above
> Using HTML Google StreetView on AIR
> -----------------------------------
>
> Key: FLEX-33927
> URL: https://issues.apache.org/jira/browse/FLEX-33927
> Project: Apache Flex
> Issue Type: Bug
> Components: mx: HTML Control
> Environment: Desktop AIR
> Reporter: Hermes David Junior
> Priority: Blocker
>
> The only way to use google StreetView now is as html with api v3. The problem
> is that it doesnt work on any air html renderers. I already tried the
> mx.controls.HTML, HtmlLoader and StageWebView, but none of them works. Its
> betterfor me if mx:html worked, because I need to interact with flex on both
> ways, and its simpler with it.
> Here is a simple example that loads a google streetview sample. Check the
> diferences by opening the link
> "https://google-developers.appspot.com/maps/documentation/javascript/examples/full/streetview-simple"
> on a browser and navigating on them. Thanks in advance!
> <?xml version="1.0" encoding="utf-8"?>
> <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
>
> xmlns:s="library://ns.adobe.com/flex/spark"
>
> xmlns:mx="library://ns.adobe.com/flex/mx">
> <mx:HTML
> location="https://google-developers.appspot.com/maps/documentation/javascript/examples/full/streetview-simple"
> width="100%" height="100%" />
> </s:WindowedApplication>
--
This message was sent by Atlassian JIRA
(v6.1#6144)