8 Replies Latest reply on Nov 2, 2017 3:05 AM by merrys63444802

    GoogleMap embed does not work on Android Build.

    daniqm53235658 Level 1



      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?