flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Harui (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-35309) Google Maps does not work - TypeError
Date Fri, 19 May 2017 15:05:04 GMT

    [ https://issues.apache.org/jira/browse/FLEX-35309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16017504#comment-16017504
] 

Alex Harui commented on FLEX-35309:
-----------------------------------

The mx:HTML control wraps flash.html.HTMLLoader http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/html/HTMLLoader.html

Please try using a modification of the examples for HTMLLoader to see if you have the same
problem.  If you do, then the issue will need to be reported to the Adobe AIR team.  If not,
that will help us determine where to look first.

> Google Maps does not work - TypeError
> -------------------------------------
>
>                 Key: FLEX-35309
>                 URL: https://issues.apache.org/jira/browse/FLEX-35309
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: mx: HTML Control
>    Affects Versions: Apache Flex 4.16.0
>            Reporter: David Reade
>            Priority: Blocker
>
> <?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"
> 					   creationComplete="maximize()">
> 	<mx:HTML location="https://developers.google.com/maps/documentation/javascript/examples/map-simple"
width="100%" height="100%"/>
> </s:WindowedApplication>
> The code above should load the Google Maps API simple-example but the console reports:
> TypeError: Result of expression 'Vm.bind' [undefined] is not a function.
>  at https://developers.google.com/_static/430ba28802/js/script_foot_closure.js : 269
>  at https://developers.google.com/_static/430ba28802/js/script_foot.js : 310
>  at https://developers.google.com/maps/documentation/javascript/examples/map-simple :
938
> TypeError: Result of expression 'Z.Fn.bind' [undefined] is not a function.
>  at https://developers.google.com/_static/430ba28802/js/script_foot_closure.js : 663
>  at https://developers.google.com/maps/documentation/javascript/examples/map-simple :
235
>  at https://developers.google.com/_static/430ba28802/js/jquery-bundle.js : 41
>  at https://developers.google.com/_static/430ba28802/js/jquery-bundle.js : 41
>  at https://developers.google.com/_static/430ba28802/js/jquery-bundle.js : 41
> s at https://developers.google.com/_static/430ba28802/js/jquery-bundle.js : 40
> TypeError: Result of expression 'a.apply' [undefined] is not a function.
>  at https://maps.googleapis.com/maps/api/js?key=AIzaSyDIJ9XX2ZvRKCJcFRrl-lRanEtFUow4piM&callback=initMap
: 32
>  at https://maps.googleapis.com/maps-api-v3/api/js/29/0/common.js : 169
>  at https://maps.googleapis.com/maps-api-v3/api/js/29/0/common.js : 45
> TypeError: Result of expression 'a.V.unbindAll' [undefined] is not a function.
>  at https://maps.googleapis.com/maps-api-v3/api/js/29/0/controls.js : 92
>  at https://maps.googleapis.com/maps-api-v3/api/js/29/0/controls.js : 95
>  at https://maps.googleapis.com/maps-api-v3/api/js/29/0/controls.js : 134
>  at https://maps.googleapis.com/maps/api/js?key=AIzaSyDIJ9XX2ZvRKCJcFRrl-lRanEtFUow4piM&callback=initMap
: 121
> The same issue occurs in Flex 4.6 with AIR SDK 25.0.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message