Google Maps Gray Screen

Google Maps Gray Screen

  

I am using the google maps mobile dependency in my app. I have the javascript dependency as well. I am simply dragging and dropping the map feature onto my screen. Then when I run the application, I just get a gray screen with the words "Use Ctrl + to zoom". I am unable to fix this problem and would greatly appreciate any help. Thank you.

Do you have default coordinates set?

Also check developer tools' console in your browser for a JavaScript error.

J.Ja

Hi Rushil,

See my post here. tl;dr You need to set a valid lattitude/longitude.

@Justin: unfortunately, there's no error in the console. If you don't set the lat/lon, the object just doesn't get initialized.