Google Maps not working in Adobe AIR Reference Error: Cant find variable: google

Jump to: navigation, search

The Adobe AIR security architecture prevents sourcing external JS files. You will need to create the object in the sandbox directory, and instantiate it in an iframe tag. The parent element then communicates with the iframe child through Adobe AIRs bridge mechanism. If all you need is to place an image of a map with out all the interactive features use Static Map. Below is an example <img src="http://maps.google.com/maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&zoom=14&size=512x512&maptype=roadmap &markers=color:blue|label:S|40.702147,-74.015794&markers=color:green|label:G|40.711614,-74.012318 &markers=color:red|color:red|label:C|40.718217,-73.998284&sensor=false"> </img>

See also

http://forums.adobe.com/message/2190982

Use your Android as a remote for garage door

Personal tools
Namespaces
Variants
Views
Actions
Navigation