question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Map not load, white-screen only

See original GitHub issue

I’m submitting a …

  • question
  • any problem or bug report
  • feature request

If you choose ‘problem or bug report’, please select OS:

  • Android
  • iOS

cordova information: (run $> cordova plugin list)

cordova-plugin-googlemaps 2.2.9 "cordova-plugin-googlemaps"

Current behavior: Plugin version 2.2.9 has not allow me to load map in HTML DOM. Initially it throwing error “Uncaught (in promise) TypeError: Cannot read property ‘size’ of undefined” Please see attached file for it screen shot 2018-05-03 at 12 58 08 am

I did simple following in code:

HTML:

<div id="googlemap">

JS:

var div = document.getElementById("googlemap");
 map = plugin.google.maps.Map.getMap(div);

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:20 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
naitikpatel1990commented, May 6, 2018

Yes. Map is loading after add some CSS in map container.

Thank you man for your valuable input.

1reaction
wf9a5m75commented, May 4, 2018

After modifying <div id="googlemap"> to <div id="googlemap" style="width:500px;height:500px">, then just run it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MAP WONT LOAD. ONLY SHOWS A WHITE SCREEN HELP???
First thing to do is try multiple browsers and Incognito mode (rarely but some anti-ad and similar extensions can screw with Foundry) -...
Read more >
Connection issues and white screens during testing
White screens during testing usually indicate an issue with student's browser communicating with the MAP Growth testing servers. Solution. To ...
Read more >
Suddenly loads without imagery--just white - Google Help
All of a sudden, earth will not load imagery on the desktop ap. I tried uninstall/reinstall, total reset, still just a white screen...
Read more >
Windows 10 Maps only shows blank screen with position dot
We suggest that you try clearing the Windows Store cache by following these steps: 1. Press Windows key + R on your keyboard....
Read more >
Map not loading (blank screen) · Issue #279 - GitHub
I can confirm, that I have used the key before on another project and it works. To be sure, I recreated a new...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found