David Reade created FLEX-35309: ---------------------------------- Summary: 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)