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.

I still get a blank screen

See original GitHub issue

Hi, I am still getting a blank screen, and I am wondering if anyone else is having the same problem or is it just me.

I am using a mobile phone with android 4.2.2, I have the api key ok and I build the apk using online phonegap and the code is

var mapdiv = document.getElementById('googleMap_z');

var GOOGLE_z = new plugin.google.maps.LatLng(-41.2794655,174.7548942);

var mapOptions = {zoom: 11, center: GOOGLE_z ,mapTypeId: plugin.google.maps.MapTypeId.ROADMAP};

var gmap = plugin.google.maps.Map.getMap(mapdiv,mapOptions);

    gmap.showDialog();

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:19 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
rishcdcommented, Apr 25, 2017

Dear wf9a5m75. I dont know how to say thanks but a billion thanks to all of you. you save my lots and lots of time… I just saw my map…it was working good. Thank you for all the support… Great plugin and great people. If i get any revenue out of my project, I will definitely donate with happiness… As u said it was the problem of api key. I was using web api key…

And I saw your presentation in youtube… was awesome…

Thank you.

0reactions
wf9a5m75commented, Apr 25, 2017

@rishcd

I get google logo, license and a slightly yellow coloured Div. But no map.

It means commonly these cases:

  • your key is wrong
  • you forgot to enable Google Maps Android API v2 and Google Maps SDK for iOS

At least, the plugin works fine.

https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/v1.4.0/TroubleShooting/Blank-Map/README.md

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot black screen or blank screen errors
We'll look at some things that can cause a black or blank screen: Connection problems with your monitor or screen. Display adapter driver...
Read more >
How to fix black screen problems on Windows 10
If the black screen still appears, press and hold the power button for about 10 seconds to shut down the device. Then press...
Read more >
8 Best Ways to Fix Black Screen Issue on Windows Computer
Loose Connections. The easiest fix can be fixing a loose cable. Check the display cable. Make sure that it's sitting tight in the...
Read more >
Black Screen at Boot on Windows? Here's How to Fix It
Your computer may be overheating, which can result in a black screen. It's very important that you keep your PC cool because it...
Read more >
7 steps to fix a black screen in Windows 11 | TechTarget
Sometimes all it takes is a simple reboot to get the system back on track. If you can't restart the computer the normal...
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