Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Content viewer crashes after loading google map

$
0
0

Greetings! I am making progress, finally on my first Edge Animate CC 2014 / InDesign CC 2014 DPS edition.

 

I have finally gotten to the pplace where I need to display a Google Map for two different locations, each map will be loaded with a different button on click and replace the previous map. It works fine in the browser, but when I upload my folio through InDesign and load it into the Adobe Content Viewer on an iPad (Air) after clicking the MAP button (either one), the map loads and appears to be fine, then after about 10 seconds, the Viewer crashes. I have tried it repeatedly and by clicking both map buttons, the produce the same results.

 

What should upload for someone to look at, or has anyone else ran into this issue?

 

Below is the code for the Action(s):

 

downtownMapButton:

 

// insert code for mouse click here

 

var mapFrame = sym.$("mapContainer");

var map ='<iframe width="'+mapFrame.width()+'" height="'+mapFrame.height()+'" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://mapsengine.google.com/map/embed?mid=zE2zuZhUFeMU.kVkOwZos-Fiw" ></iframe>';

mapFrame.html(map);

 

 

// Show an element

sym.$("mapBox").show();

 

// Show an element

sym.$("downtownPointerSym").show();

 

 

// Show an element

sym.$("mapContainer").show();

 

sym.$("closeButtonSym").show();

 

sym.$("prestonPointerSym").hide();


Viewing all articles
Browse latest Browse all 9897

Trending Articles