Results 1 to 6 of 6

Thread: Google Maps Api required

  1. #1
    Sencha Premium Member u25771's Avatar
    Join Date
    Sep 2012
    Location
    Switzerland :)
    Posts
    253
    Answers
    27

    Default Answered: Google Maps Api required

    Dear Touchers,

    From time to time I'm facing a problem with the google maps component. Sometimes, as far as I cloud research randomly, the google maps API seems not to be loaded, the component just shows empty with this text in it:

    "google maps api required"

    Does anyone have a solution for this?

    Greetings.
    Mark thread as answered if your problem could be solved and leave a vote for helpful answers

    For more help check out my new blog: http://abitofcoding.blogspot.com

    T
    o get in contact with me just send me a message on Google+

  2. We have a bug open for the remote config in app.json not working also. SDKTOOLS-620 for reference.

  3. #2
    Sencha User
    Join Date
    Jan 2012
    Posts
    10

    Default

    just add this code to your index.html
    HTML Code:
     <script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=true"></script>
    actually you should add this in your app.json, but there some bug (i think) while building with sencha 2.3/sencha cmd 4, it's adding javascript sourses to bootstrap.js just if the source has ".js" extention.

  4. #3
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,448
    Answers
    3997

    Default

    We have a bug open for the remote config in app.json not working also. SDKTOOLS-620 for reference.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  5. #4
    Sencha Premium Member u25771's Avatar
    Join Date
    Sep 2012
    Location
    Switzerland :)
    Posts
    253
    Answers
    27

    Default

    Quote Originally Posted by happy7 View Post
    just add this code to your index.html
    HTML Code:
     <script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=true"></script>
    actually you should add this in your app.json, but there some bug (i think) while building with sencha 2.3/sencha cmd 4, it's adding javascript sourses to bootstrap.js just if the source has ".js" extention.
    I have the script tag in my index.html... Doesn't have any effects But Mitch gave me a reference to SDKTOOLS-620
    Mark thread as answered if your problem could be solved and leave a vote for helpful answers

    For more help check out my new blog: http://abitofcoding.blogspot.com

    T
    o get in contact with me just send me a message on Google+

  6. #5
    Sencha User
    Join Date
    Jul 2011
    Posts
    58
    Answers
    4

    Default

    Hi,

    Is there a workaround for this.

    when I build my application de google API url is in my index.html

    but the console answers that google is not defined

    Thank in advance

  7. #6
    Sencha User
    Join Date
    Jul 2011
    Posts
    58
    Answers
    4

    Default

    NevermindAlready figured it out, Google API url should be above the microloader url..

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •