Hey there! Sign in to join this conversationNew here? Join for free
    • Thread Starter
    Offline

    21
    ReputationRep:
    ANYONE?
    • Very Important Poster
    • Welcome Squad
    Offline

    20
    ReputationRep:
    (Original post by study beats)
    ANYONE?
    I could perhaps try to understand it. Is this on Android?
    • Thread Starter
    Offline

    21
    ReputationRep:
    (Original post by UWS)
    I could perhaps try to understand it. Is this on Android?
    its using javascript ....

    basically my map is not showing up

    it only shows up when i refresh it or resize the window a little bit

    otherwise you only see a gray box
    • Very Important Poster
    • Welcome Squad
    Offline

    20
    ReputationRep:
    (Original post by study beats)
    its using javascript ....

    basically my map is not showing up

    it only shows up when i refresh it or resize the window a little bit

    otherwise you only see a gray box
    Have you checked the documentation?
    https://developers.google.com/maps/d...on/javascript/

    And are you using a valid API key?
    • Thread Starter
    Offline

    21
    ReputationRep:
    (Original post by UWS)
    Have you checked the documentation?
    https://developers.google.com/maps/d...on/javascript/

    And are you using a valid API key?
    yes i am using a valid API
    • Thread Starter
    Offline

    21
    ReputationRep:
    (Original post by UWS)
    Have you checked the documentation?
    https://developers.google.com/maps/d...on/javascript/

    And are you using a valid API key?
    i am using a valid API and i have also followed the documentation

    the maps do work but only a gray box shows up until i refresh to make the full map appear
    • Very Important Poster
    • Welcome Squad
    Offline

    20
    ReputationRep:
    (Original post by study beats)
    i am using a valid API and i have also followed the documentation

    the maps do work but only a gray box shows up until i refresh to make the full map appear
    Ah I'm afraid I'm not sure then, what if you try displaying it in another browser?
    • Thread Starter
    Offline

    21
    ReputationRep:
    (Original post by UWS)
    Ah I'm afraid I'm not sure then, what if you try displaying it in another browser?
    i am working in jquery mobile

    and in jquery mobile everything happens on one browser
    Offline

    15
    ReputationRep:
    Finalise it. Test it on several browsers?
    Offline

    15
    ReputationRep:
    It may be due to missing software/application on the device which you are using?
    Offline

    15
    ReputationRep:
    What sort of project is this? What for? Are there no examples you can take online?
    • Thread Starter
    Offline

    21
    ReputationRep:
    (Original post by Dragon5555)
    Finalise it. Test it on several browsers?
    i have tested it on chrome, internet and firefox

    for all three its the same problem


    (Original post by Dragon5555)
    It may be due to missing software/application on the device which you are using?
    well the device is suppose to me mobile but i havent uploaded it to a server yet to be able to test it

    i dont think theres anything wrong with my coding either
    Offline

    15
    ReputationRep:
    (Original post by study beats)
    i have tested it on chrome, internet and firefox

    for all three its the same problem




    well the device is suppose to me mobile but i havent uploaded it to a server yet to be able to test it

    i dont think theres anything wrong with my coding either
    I know why. I have faced this issue recently... Is it because of how Google have made that change as they wanted to limit the number of uses of the maps?
    Offline

    15
    ReputationRep:
    https://codepen.io/dbugger/pen/LouvE
    • Thread Starter
    Offline

    21
    ReputationRep:
    what does that mean..?

    i have done it the following way by following the documentation:

    https://pastebin.com/Qgb6Wi1s
    Offline

    15
    ReputationRep:
    https://www.w3schools.com/graphics/g...maps_intro.asp

    https://www.w3schools.com/howto/howto_google_maps.asp
    • Thread Starter
    Offline

    21
    ReputationRep:
    you want me to try it their way?

    whats wrong with how i have done it?
    Offline

    15
    ReputationRep:
    (Original post by study beats)
    you want me to try it their way?

    whats wrong with how i have done it?
    Backup what you have done. Try my way and see if it works better/correctly
    • Thread Starter
    Offline

    21
    ReputationRep:
    (Original post by Dragon5555)
    Backup what you have done. Try my way and see if it works better/correctly
    just tried the way demonstrated by w3schools, it didnt work...

    tried my way and it worked again, but only after refreshing the window
    Offline

    15
    ReputationRep:
    (Original post by study beats)
    just tried the way demonstrated by w3schools, it didnt work...

    tried my way and it worked again, but only after refreshing the window
    You may need to upload onto a server.
 
 
 
  • See more of what you like on The Student Room

    You can personalise what you see on TSR. Tell us a little about yourself to get started.

  • Poll
    Break up or unrequited love?
  • See more of what you like on The Student Room

    You can personalise what you see on TSR. Tell us a little about yourself to get started.

  • The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

    Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

    Quick reply
    Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.