7 Replies Latest reply on Oct 23, 2016 11:17 PM by VectorP

    GoogleMap embed does not work on Android Build.

    daniqm53235658

      Hello.

       

      I have just started to use this technology and I wanted to add simple GoogleMap embed to my application.

       

      I have index.html file with one line of tag:

       

            <iframe width="600" height="450" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/place?q=Hotel%20uiut%20Kazakhstan&key=MY_JAVASCRIPT_K EY" allowfullscreen></iframe>

       

      It shows correctly on my browser and works well when I launch it on Phonegap Desktop application.

       

      I have added these lines in my config.xml:

       

         

          <access origin="*"/>

          <allow-navigation href="https://www.google.com/maps/embed/*" />

          <allow-intent href="http://*/*" />

          <allow-intent href="https://*/*" />

       

      When I build this app to Android and launch it, MAP DOES NOT LOAD!

       

      I have posted similar question in stackoverflow: http://stackoverflow.com/questions/40191282/phonegap-embedded-google-map-is-not-showing-in -android-build

       

      Why this is happening?