You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jsint...@googlegroups.com
I usedGoogleMapsAPI forFlashitwas discontinued, I would useJSInterfacewithGoogle MapsJavascriptAPIV3butam not havingsuccess.Seemycodebelow,after runningthe applicationwithchromium18.0.x( for linux) nomapis displayed.In thejavascriptconsoleis displayedthe following message:UncaughtTypeError: Can notcallmethod 'addDomListener'ofundefined.Does anyone haveany tips
protected function creationCompleteHandler(event:Event):void{ JSInterface.initialize(this.systemManager.stage); var document:JSDocument = JSInterface.document; var body:JSElement = document.body;
var map_div:JSElement = document.createElement("div"); map_div.id = "map_canvas"; body.appendChild(map_div);